From 2cc1f04eb0d1cb1dd187ec74f24cca7526458080 Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Mon, 11 Feb 2013 22:40:20 +0800 Subject: [PATCH] Fixed NEON tests --- libs/spandsp/m4/ax_check_arm_neon.m4 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libs/spandsp/m4/ax_check_arm_neon.m4 b/libs/spandsp/m4/ax_check_arm_neon.m4 index 2cad795b59..88d18fda25 100644 --- a/libs/spandsp/m4/ax_check_arm_neon.m4 +++ b/libs/spandsp/m4/ax_check_arm_neon.m4 @@ -25,7 +25,16 @@ gnu) [AC_LANG_PROGRAM( [#include 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); + }], [;] )],