aboutsummaryrefslogtreecommitdiff
path: root/ref_vqrshrn_n.c
diff options
context:
space:
mode:
Diffstat (limited to 'ref_vqrshrn_n.c')
-rw-r--r--ref_vqrshrn_n.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/ref_vqrshrn_n.c b/ref_vqrshrn_n.c
index 522d0e7..2126d3a 100644
--- a/ref_vqrshrn_n.c
+++ b/ref_vqrshrn_n.c
@@ -78,12 +78,12 @@ FNNAME (INSN)
clean_results ();
- TEST_VLOAD(vector, buffer, q, int, s, 16, 8);
- TEST_VLOAD(vector, buffer, q, int, s, 32, 4);
- TEST_VLOAD(vector, buffer, q, int, s, 64, 2);
- TEST_VLOAD(vector, buffer, q, uint, u, 16, 8);
- TEST_VLOAD(vector, buffer, q, uint, u, 32, 4);
- TEST_VLOAD(vector, buffer, q, uint, u, 64, 2);
+ VLOAD(vector, buffer, q, int, s, 16, 8);
+ VLOAD(vector, buffer, q, int, s, 32, 4);
+ VLOAD(vector, buffer, q, int, s, 64, 2);
+ VLOAD(vector, buffer, q, uint, u, 16, 8);
+ VLOAD(vector, buffer, q, uint, u, 32, 4);
+ VLOAD(vector, buffer, q, uint, u, 64, 2);
/* Choose shift amount arbitrarily */
fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG);
@@ -98,12 +98,12 @@ FNNAME (INSN)
dump_results_hex (TEST_MSG);
/* Another set of tests */
- 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);
- TEST_VDUP(vector, q, uint, u, 16, 8, 0xFFFF);
- TEST_VDUP(vector, q, uint, u, 32, 4, 0xFFFFFFFF);
- TEST_VDUP(vector, q, uint, u, 64, 2, 0xFFFFFFFFFFFFFFFFULL);
+ VDUP(vector, q, int, s, 16, 8, 0x7FFF);
+ VDUP(vector, q, int, s, 32, 4, 0x7FFFFFFF);
+ VDUP(vector, q, int, s, 64, 2, 0x7FFFFFFFFFFFFFFFLL);
+ VDUP(vector, q, uint, u, 16, 8, 0xFFFF);
+ VDUP(vector, q, uint, u, 32, 4, 0xFFFFFFFF);
+ VDUP(vector, q, uint, u, 64, 2, 0xFFFFFFFFFFFFFFFFULL);
/* shift by 3 to exercise saturation code in the lib */
fprintf(ref_file, "\n%s cumulative saturation output:\n",