]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixed NEON tests
authorSteve Underwood <steveu@x100e.coppice.org>
Mon, 11 Feb 2013 14:40:20 +0000 (22:40 +0800)
committerSteve Underwood <steveu@x100e.coppice.org>
Mon, 11 Feb 2013 14:40:20 +0000 (22:40 +0800)
libs/spandsp/m4/ax_check_arm_neon.m4

index 2cad795b59d606112ff40520855bdd1f95071a72..88d18fda2595873d08b31939c83aad114b92dfd7 100644 (file)
@@ -25,7 +25,16 @@ gnu)
         [AC_LANG_PROGRAM(
             [#include <arm_neon.h>
             int32x4_t testfunc(int16_t *a, int16_t *b)
-            {return vmull_s16(vld1_s16(a), vld1_s16(b));}],
+            {
+                return vmull_s16(vld1_s16(a), vld1_s16(b));
+            }
+            int main(int argc, char *argv[])
+            {
+                int32x4_t z;
+                int16_t x[8];
+                int16_t y[8];
+                z = testfunc(x, y);
+            }],
             [;]
         )],