aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vld1_dup.c
diff options
context:
space:
mode:
Diffstat (limited to 'ref_vld1_dup.c')
-rw-r--r--ref_vld1_dup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ref_vld1_dup.c b/ref_vld1_dup.c
index 4537fa9..b365822 100644
--- a/ref_vld1_dup.c
+++ b/ref_vld1_dup.c
@@ -45,6 +45,10 @@ 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
+ DECL_VARIABLE(vector, float, 16, 4);
+ DECL_VARIABLE(vector, float, 16, 8);
+#endif
/* Try to read different places from the input buffer */
for (i=0; i<3; i++) {
@@ -55,6 +59,11 @@ 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
+ TEST_VLD1_DUP(vector, buffer_dup, , float, f, 16, 4);
+ TEST_VLD1_DUP(vector, buffer_dup, q, float, f, 16, 8);
+#endif
+
dump_results_hex (TEST_MSG);
}
}