aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vqrdmulh_n.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2014-06-03 22:47:52 +0200
committerChristophe Lyon <christophe.lyon@linaro.org>2014-06-03 22:47:52 +0200
commit4a6e5cc95176769664bc9e56d4e7c92b7a2fc816 (patch)
tree614baf4a3939bd6a255da33aebf5cd12a43e8021 /ref_vqrdmulh_n.c
parentfad316adcad1edd1cbb1e01769768abcffcb1070 (diff)
downloadplatform_external_arm-neon-tests-4a6e5cc95176769664bc9e56d4e7c92b7a2fc816.tar.gz
platform_external_arm-neon-tests-4a6e5cc95176769664bc9e56d4e7c92b7a2fc816.tar.bz2
platform_external_arm-neon-tests-4a6e5cc95176769664bc9e56d4e7c92b7a2fc816.zip
Renamed Neon overflow to Neon cumulative saturation, since it's the real name.
Diffstat (limited to 'ref_vqrdmulh_n.c')
-rw-r--r--ref_vqrdmulh_n.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ref_vqrdmulh_n.c b/ref_vqrdmulh_n.c
index 3b7e8d8..cd6a481 100644
--- a/ref_vqrdmulh_n.c
+++ b/ref_vqrdmulh_n.c
@@ -43,14 +43,14 @@ FNNAME (INSN)
/* vector_res = vqrdmulh_n(vector,val), then store the result. */
#define TEST_VQRDMULH_N2(INSN, Q, T1, T2, W, N, L) \
- Set_Neon_Overflow(0); \
+ Set_Neon_Cumulative_Sat(0); \
VECT_VAR(vector_res, T1, W, N) = \
INSN##Q##_n_##T2##W(VECT_VAR(vector, T1, W, N), \
L); \
vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), \
VECT_VAR(vector_res, T1, W, N)); \
- dump_neon_overflow(TEST_MSG, xSTR(INSN##Q##_n_##T2##W), \
- xSTR(T1), W, N)
+ dump_neon_cumulative_sat(TEST_MSG, xSTR(INSN##Q##_n_##T2##W), \
+ xSTR(T1), W, N)
/* Two auxliary macros are necessary to expand INSN */
#define TEST_VQRDMULH_N1(INSN, Q, T1, T2, W, N, L) \
@@ -81,7 +81,7 @@ FNNAME (INSN)
TEST_VLOAD(vector, buffer, q, int, s, 32, 4);
/* Choose multiplier arbitrarily */
- fprintf(ref_file, "\n%s overflow output:\n", TEST_MSG);
+ fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG);
TEST_VQRDMULH_N(, int, s, 16, 4, 0x2233);
TEST_VQRDMULH_N(, int, s, 32, 2, 0x12345678);
TEST_VQRDMULH_N(q, int, s, 16, 8, 0xCD12);
@@ -99,13 +99,13 @@ FNNAME (INSN)
TEST_VDUP(vector, q, int, s, 16, 8, 0x8000);
TEST_VDUP(vector, q, int, s, 32, 4, 0x80000000);
- fprintf(ref_file, "\n%s overflow output:\n",
- TEST_MSG " (check mul overflow)");
+ fprintf(ref_file, "\n%s cumulative saturation output:\n",
+ TEST_MSG " (check mul cumulative saturation)");
TEST_VQRDMULH_N(, int, s, 16, 4, 0x8000);
TEST_VQRDMULH_N(, int, s, 32, 2, 0x80000000);
TEST_VQRDMULH_N(q, int, s, 16, 8, 0x8000);
TEST_VQRDMULH_N(q, int, s, 32, 4, 0x80000000);
- dump_results_hex2 (TEST_MSG, " (check mul overflow)");
+ dump_results_hex2 (TEST_MSG, " (check mul cumulative saturation)");
TEST_VDUP(vector, , int, s, 16, 4, 0x8000);
@@ -113,11 +113,11 @@ FNNAME (INSN)
TEST_VDUP(vector, q, int, s, 16, 8, 0x8000);
TEST_VDUP(vector, q, int, s, 32, 4, 0x80000000);
- fprintf(ref_file, "\n%s overflow output:\n",
- TEST_MSG " (check rounding overflow)");
+ fprintf(ref_file, "\n%s cumulative saturation output:\n",
+ TEST_MSG " (check rounding cumulative saturation)");
TEST_VQRDMULH_N(, int, s, 16, 4, 0x8001);
TEST_VQRDMULH_N(, int, s, 32, 2, 0x80000001);
TEST_VQRDMULH_N(q, int, s, 16, 8, 0x8001);
TEST_VQRDMULH_N(q, int, s, 32, 4, 0x80000001);
- dump_results_hex2 (TEST_MSG, " (check rounding overflow)");
+ dump_results_hex2 (TEST_MSG, " (check rounding cumulative saturation)");
}