From: Steve Underwood Date: Mon, 11 Feb 2013 14:40:20 +0000 (+0800) Subject: Fixed NEON tests X-Git-Tag: v1.3.13~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cc1f04eb0d1cb1dd187ec74f24cca7526458080;p=thirdparty%2Ffreeswitch.git Fixed NEON tests --- 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); + }], [;] )],