diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2013-04-11 15:05:18 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@st.com> | 2013-04-11 15:05:18 +0200 |
commit | 34adaf63011ec336c8fa4594c6bba1c59840e167 (patch) | |
tree | 421db32a0477c74f47a6e51f040cfd60f6db5936 /ref_vget_high.c | |
parent | 91ae809096ef1dae9756ada87efe475ce79e4bb5 (diff) | |
download | platform_external_arm-neon-tests-34adaf63011ec336c8fa4594c6bba1c59840e167.tar.gz platform_external_arm-neon-tests-34adaf63011ec336c8fa4594c6bba1c59840e167.tar.bz2 platform_external_arm-neon-tests-34adaf63011ec336c8fa4594c6bba1c59840e167.zip |
Added support for half-precision (fp16) variants.
Diffstat (limited to 'ref_vget_high.c')
-rw-r--r-- | ref_vget_high.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ref_vget_high.c b/ref_vget_high.c index c216606..51271d8 100644 --- a/ref_vget_high.c +++ b/ref_vget_high.c @@ -44,9 +44,16 @@ void exec_vget_high (void) statement */ DECL_VARIABLE_64BITS_VARIANTS(vector64); DECL_VARIABLE_128BITS_VARIANTS(vector128); +#if __ARM_NEON_FP16_INTRINSICS + DECL_VARIABLE(vector64, float, 16, 4); + DECL_VARIABLE(vector128, float, 16, 8); +#endif TEST_MACRO_128BITS_VARIANTS_2_5(TEST_VLOAD, vector128, buffer); TEST_VLOAD(vector128, buffer, q, float, f, 32, 4); +#if __ARM_NEON_FP16_INTRINSICS + TEST_VLOAD(vector128, buffer, q, float, f, 16, 8); +#endif clean_results (); @@ -61,6 +68,9 @@ void exec_vget_high (void) TEST_VGET_HIGH(poly, p, 8, 8, 16); TEST_VGET_HIGH(poly, p, 16, 4, 8); TEST_VGET_HIGH(float, f, 32, 2, 4); +#if __ARM_NEON_FP16_INTRINSICS + TEST_VGET_HIGH(float, f, 16, 4, 8); +#endif dump_results_hex (TEST_MSG); } |