diff 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
line wrap: on
line diff
--- a/compile.sh	Fri Sep 16 13:08:20 2011 +0200
+++ b/compile.sh	Fri Sep 16 14:04:19 2011 +0200
@@ -1,21 +1,22 @@
+
+/opt/arm-2011.03/bin/arm-none-linux-gnueabi-gcc \
+	-O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ffast-math -fomit-frame-pointer \
+    -DUSE_SIMD=SIMD_NEON2 \
+    -I . \
+    -o peck_test_arm \
+    peck_fftr.c peck_fft.c \
+    peck_test.c \
+    -lm 
 
 gcc \
+    -O2 -march=native -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer \
+    -DUSE_SIMD=SIMD_SSE2 \
     -I . \
     -o peck_test_x86 \
     peck_fftr.c peck_fft.c \
     peck_test.c \
     -lm 
 
-exit
+# time ./peck_test_x86
 
-/opt/arm-2011.03/bin/arm-none-linux-gnueabi-gcc \
-    -I . \
-	-O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ffast-math -fomit-frame-pointer \
-    -o peck_test_arm \
-    peck_fftr.c peck_fft.c \
-    peck_test.c \
-    -lm 
-
-time ./peck_test_x86
-
-scp peck_test_arm root@192.168.233.114:.
+scp peck_test_arm root@192.168.233.104:.

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.