aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vld1.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_vld1.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_vld1.c')
-rw-r--r--ref_vld1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ref_vld1.c b/ref_vld1.c
index d62e535..0e7eebd 100644
--- a/ref_vld1.c
+++ b/ref_vld1.c
@@ -43,7 +43,7 @@ void exec_vld1 (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
@@ -55,7 +55,7 @@ void exec_vld1 (void)
TEST_VLD1(vector, buffer, , float, f, 32, 2);
TEST_VLD1(vector, buffer, q, float, f, 32, 4);
-#if __ARM_NEON_FP16_INTRINSICS
+#if defined(__ARM_FP16_FORMAT_IEEE)
TEST_VLD1(vector, buffer, , float, f, 16, 4);
TEST_VLD1(vector, buffer, q, float, f, 16, 8);
#endif