summaryrefslogtreecommitdiffstats
path: root/tests/test.c
diff options
context:
space:
mode:
authorMikko Orispaa <mikko.orispaa@gmail.com>2015-11-20 07:32:34 +0000
committerMikko Orispaa <mikko.orispaa@gmail.com>2015-11-20 07:32:34 +0000
commit42546982a254031a5ead53e53ba2a5872b582651 (patch)
tree22c15ca5194fdbc49b22d0bd6ad93787b3c61f6c /tests/test.c
parent031d73b0a86058c4a7cb0ecebd7fb2a9015cf13b (diff)
downloadffts-42546982a254031a5ead53e53ba2a5872b582651.zip
ffts-42546982a254031a5ead53e53ba2a5872b582651.tar.gz
Changed NEON test in CMakeList.txt so that it works for newer ARMs (-mfloat-abi=hard). Fixed a bug in test.c (did not compile for NEON-ARM).
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.c b/tests/test.c
index 9559095..d07f766 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
printf("%d %d %f %f\n", i, sign, output[2*i], output[2*i+1]);
ffts_free(p);
-#ifdef HAVE_NEON
+#ifdef HAVE_SSE
_mm_free(input);
_mm_free(output);
#else
@@ -189,4 +189,4 @@ int main(int argc, char *argv[])
}
return 0;
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud