Mercurial > hg > peckfft
annotate compile.sh @ 4:2d6c49fcafcb
neon2 and neon4 support
author | Peter Meerwald <p.meerwald@bct-electronic.com> |
---|---|
date | Fri, 16 Sep 2011 14:04:19 +0200 |
parents | 723f588b82ac |
children | 707be088ccc3 |
rev | line source |
---|---|
4
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
1 |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
2 /opt/arm-2011.03/bin/arm-none-linux-gnueabi-gcc \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
3 -O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ffast-math -fomit-frame-pointer \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
4 -DUSE_SIMD=SIMD_NEON2 \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
5 -I . \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
6 -o peck_test_arm \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
7 peck_fftr.c peck_fft.c \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
8 peck_test.c \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
9 -lm |
0 | 10 |
11 gcc \ | |
4
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
12 -O2 -march=native -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer \ |
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
13 -DUSE_SIMD=SIMD_SSE2 \ |
0 | 14 -I . \ |
15 -o peck_test_x86 \ | |
16 peck_fftr.c peck_fft.c \ | |
17 peck_test.c \ | |
18 -lm | |
19 | |
4
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
20 # time ./peck_test_x86 |
0 | 21 |
4
2d6c49fcafcb
neon2 and neon4 support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
0
diff
changeset
|
22 scp peck_test_arm root@192.168.233.104:. |