aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vld1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ref_vld1.c')
-rw-r--r--ref_vld1.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/ref_vld1.c b/ref_vld1.c
index d29d81f..187507e 100644
--- a/ref_vld1.c
+++ b/ref_vld1.c
@@ -1,6 +1,6 @@
/*
-Copyright (c) 2009, 2010, 2011 STMicroelectronics
+Copyright (c) 2009, 2010, 2011, 2013 STMicroelectronics
Written by Christophe Lyon
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -43,6 +43,10 @@ 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
+ DECL_VARIABLE(vector, float, 16, 4);
+ DECL_VARIABLE(vector, float, 16, 8);
+#endif
clean_results ();
@@ -51,5 +55,10 @@ 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
+ TEST_VLD1(vector, buffer, , float, f, 16, 4);
+ TEST_VLD1(vector, buffer, q, float, f, 16, 8);
+#endif
+
dump_results_hex (TEST_MSG);
}