summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--tests/test.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00122db..f6f5c4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -130,7 +130,7 @@ if(NOT CMAKE_CROSSCOMPILING)
)
# Test running with -mfpu=neon
- set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS_SAVE} -mfpu=neon -mfloat-abi=softfp")
+ set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS_SAVE} -mfpu=neon -mfloat-abi=hard")
check_c_source_runs("${TEST_SOURCE_CODE}" NEON_SUPPORTED)
if(NOT NEON_SUPPORTED)
@@ -389,4 +389,4 @@ add_executable(ffts_test
target_link_libraries(ffts_test
ffts_static
${FFTS_EXTRA_LIBRARIES}
-) \ No newline at end of file
+)
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