aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vqshrun_n.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2014-12-16 10:26:00 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2014-12-16 10:26:00 +0100
commitf20536724d4cc8432d5b804082415c8391f88f9b (patch)
tree170a405bc9244e0ec5464e9e6b3eb50dcafa895c /ref_vqshrun_n.c
parent464d02e432a0fe5fb0afec8459631b4467b706f3 (diff)
downloadplatform_external_arm-neon-tests-f20536724d4cc8432d5b804082415c8391f88f9b.tar.gz
platform_external_arm-neon-tests-f20536724d4cc8432d5b804082415c8391f88f9b.tar.bz2
platform_external_arm-neon-tests-f20536724d4cc8432d5b804082415c8391f88f9b.zip
Rename helper macros:
TEST_VLOAD into VLOAD TEST_VDUP into VDUP
Diffstat (limited to 'ref_vqshrun_n.c')
-rw-r--r--ref_vqshrun_n.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ref_vqshrun_n.c b/ref_vqshrun_n.c
index b30b394..c2a2e15 100644
--- a/ref_vqshrun_n.c
+++ b/ref_vqshrun_n.c
@@ -73,9 +73,9 @@ FNNAME (INSN)
clean_results ();
/* Fill input vector with negative values, to check saturation on limits */
- TEST_VDUP(vector, q, int, s, 16, 8, -2);
- TEST_VDUP(vector, q, int, s, 32, 4, -3);
- TEST_VDUP(vector, q, int, s, 64, 2, -4);
+ VDUP(vector, q, int, s, 16, 8, -2);
+ VDUP(vector, q, int, s, 32, 4, -3);
+ VDUP(vector, q, int, s, 64, 2, -4);
/* Choose shift amount arbitrarily */
fprintf(ref_file, "\n%s cumulative saturation output:\n",
@@ -88,9 +88,9 @@ FNNAME (INSN)
dump_results_hex2 (TEST_MSG, " (negative input)");
/* Fill input vector with max value, to check saturation on limits */
- TEST_VDUP(vector, q, int, s, 16, 8, 0x7FFF);
- TEST_VDUP(vector, q, int, s, 32, 4, 0x7FFFFFFF);
- TEST_VDUP(vector, q, int, s, 64, 2, 0x7FFFFFFFFFFFFFFFLL);
+ VDUP(vector, q, int, s, 16, 8, 0x7FFF);
+ VDUP(vector, q, int, s, 32, 4, 0x7FFFFFFF);
+ VDUP(vector, q, int, s, 64, 2, 0x7FFFFFFFFFFFFFFFLL);
/* shift by 1 */
fprintf(ref_file, "\n%s cumulative saturation output:\n",
@@ -102,9 +102,9 @@ FNNAME (INSN)
dump_results_hex2 (TEST_MSG, " (check cumulative saturation)");
/* Fill input vector with positive values, to check normal case */
- TEST_VDUP(vector, q, int, s, 16, 8, 0x1234);
- TEST_VDUP(vector, q, int, s, 32, 4, 0x87654321);
- TEST_VDUP(vector, q, int, s, 64, 2, 0xDEADBEEF);
+ VDUP(vector, q, int, s, 16, 8, 0x1234);
+ VDUP(vector, q, int, s, 32, 4, 0x87654321);
+ VDUP(vector, q, int, s, 64, 2, 0xDEADBEEF);
/* shift arbitrary amount */
fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG);