diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2014-09-02 16:51:20 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2014-09-02 16:51:20 +0200 |
commit | 94f99bc9c70ca4050967a80532e5e048f14ab869 (patch) | |
tree | 5b0e83094acaa1b9b5c7afea801b3fb74a2684f5 /ref_vld1_dup.c | |
parent | 03135ebc0e0ee8bab0634654c01d9bc16d260afb (diff) | |
download | platform_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_dup.c')
-rw-r--r-- | ref_vld1_dup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ref_vld1_dup.c b/ref_vld1_dup.c index 45f02a6..66fe6a2 100644 --- a/ref_vld1_dup.c +++ b/ref_vld1_dup.c @@ -45,7 +45,7 @@ void exec_vld1_dup (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 @@ -59,7 +59,7 @@ void exec_vld1_dup (void) TEST_VLD1_DUP(vector, buffer_dup, , float, f, 32, 2); TEST_VLD1_DUP(vector, buffer_dup, q, float, f, 32, 4); -#if __ARM_NEON_FP16_INTRINSICS +#if defined(__ARM_FP16_FORMAT_IEEE) TEST_VLD1_DUP(vector, buffer_dup, , float, f, 16, 4); TEST_VLD1_DUP(vector, buffer_dup, q, float, f, 16, 8); #endif |