aboutsummaryrefslogtreecommitdiff
path: root/ref_vqshrun_n.c
diff options
context:
space:
mode:
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);