aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vst1_lane.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2014-09-02 16:51:20 +0200
committerChristophe Lyon <christophe.lyon@linaro.org>2014-09-02 16:51:20 +0200
commit94f99bc9c70ca4050967a80532e5e048f14ab869 (patch)
tree5b0e83094acaa1b9b5c7afea801b3fb74a2684f5 /ref_vst1_lane.c
parent03135ebc0e0ee8bab0634654c01d9bc16d260afb (diff)
downloadplatform_external_arm-neon-tests-94f99bc9c70ca4050967a80532e5e048f14ab869.tar.gz
platform_external_arm-neon-tests-94f99bc9c70ca4050967a80532e5e048f14ab869.tar.bz2
platform_external_arm-neon-tests-94f99bc9c70ca4050967a80532e5e048f14ab869.zip
Fix detection of FP16 support: test __ARM_FP16_FORMAT_IEEE instead of __ARM_NEON_FP16_INTRINSICS.
Diffstat (limited to 'ref_vst1_lane.c')
-rw-r--r--ref_vst1_lane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ref_vst1_lane.c b/ref_vst1_lane.c
index 341b0a8..c7e533f 100644
--- a/ref_vst1_lane.c
+++ b/ref_vst1_lane.c
@@ -43,7 +43,7 @@ void exec_vst1_lane (void)
/* With ARM RVCT, we need to declare variables before any executable
statement */
DECL_VARIABLE_ALL_VARIANTS(vector);
-#if __ARM_NEON_FP16_INTRINSICS
+#if defined(__ARM_FP16_FORMAT_IEEE)
DECL_VARIABLE(vector, float, 16, 4);
DECL_VARIABLE(vector, float, 16, 8);
#endif
@@ -62,7 +62,7 @@ void exec_vst1_lane (void)
TEST_VST1_LANE(, poly, p, 8, 8, 6);
TEST_VST1_LANE(, poly, p, 16, 4, 2);
TEST_VST1_LANE(, float, f, 32, 2, 1);
-#if __ARM_NEON_FP16_INTRINSICS
+#if defined(__ARM_FP16_FORMAT_IEEE)
TEST_VST1_LANE(, float, f, 16, 4, 2);
#endif
@@ -77,7 +77,7 @@ void exec_vst1_lane (void)
TEST_VST1_LANE(q, poly, p, 8, 16, 10);
TEST_VST1_LANE(q, poly, p, 16, 8, 4);
TEST_VST1_LANE(q, float, f, 32, 4, 1);
-#if __ARM_NEON_FP16_INTRINSICS
+#if defined(__ARM_FP16_FORMAT_IEEE)
TEST_VST1_LANE(q, float, f, 16, 8, 5);
#endif