Makefile to compile 'n patch FMradio w/ BatchQueue

This commit is contained in:
Thomas Preud'homme 2011-08-05 16:05:01 +02:00 committed by Thomas Preud'homme
parent b2fe873992
commit 31f7d7760f
3 changed files with 108 additions and 0 deletions

1
pipepar/.gitignore vendored
View File

@ -1,4 +1,5 @@
fmr_omp-str_base
fmr_omp-str_base.raw
fmr_omp-str_base.txt
fmr_omp-str_base.S
output*.dat

6
pipepar/Makefile Normal file
View File

@ -0,0 +1,6 @@
fmr_omp-str_base: fmr_omp-str_base.S
gcc -fopenmp -o $@ $< -lm
fmr_omp-str_base.S: fmr_omp-str_base.c
gcc -S -fopenmp -o $@ $<
# patch -p0 < fmr_omp-str_base-batch_queue.patch

View File

@ -0,0 +1,101 @@
--- fmr_omp-str_base.S.orig 2011-08-04 16:58:09.260983585 +0200
+++ fmr_omp-str_base.S 2011-08-04 17:57:19.238200862 +0200
@@ -1200,7 +1200,7 @@ main.omp_fn.0:
call GOMP_stream_init
movl $8388608, %esi
movl $4, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1048(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1214,7 +1214,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $4, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1056(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1228,7 +1228,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $4, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1064(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1242,7 +1242,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $4, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1072(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1256,7 +1256,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $32, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1080(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1304,7 +1304,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $32, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1088(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1318,7 +1318,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $32, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1096(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1332,7 +1332,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $32, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, -1104(%rbp)
movl $0, %ecx
movl $0, %edx
@@ -1346,7 +1346,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $32, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, %r15
movl $0, %ecx
movl $0, %edx
@@ -1360,7 +1360,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $32, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, %r14
movl $0, %ecx
movl $0, %edx
@@ -1388,7 +1388,7 @@ main.omp_fn.0:
call GOMP_stream_add_expected_views
movl $8388608, %esi
movl $64, %edi
- call GOMP_stream_create_stream
+ call GOMP_batchQ_create_stream
movq %rax, %r13
movl $0, %ecx
movl $0, %edx