aboutsummaryrefslogtreecommitdiffstats
path: root/ref_v_unary_sat_op.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_v_unary_sat_op.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_v_unary_sat_op.c')
-rw-r--r--ref_v_unary_sat_op.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ref_v_unary_sat_op.c b/ref_v_unary_sat_op.c
index 37c1757..afdd9d1 100644
--- a/ref_v_unary_sat_op.c
+++ b/ref_v_unary_sat_op.c
@@ -39,14 +39,14 @@ THE SOFTWARE.
FNNAME (INSN_NAME)
{
/* Basic test: y=OP(x), then store the result. */
-#define TEST_UNARY_SAT_OP1(INSN, Q, T1, T2, W, N) \
- Set_Neon_Overflow(0); \
- VECT_VAR(vector_res, T1, W, N) = \
- INSN##Q##_##T2##W(VECT_VAR(vector, T1, W, N)); \
- 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##_##T2##W), \
- xSTR(T1), W, N)
+#define TEST_UNARY_SAT_OP1(INSN, Q, T1, T2, W, N) \
+ Set_Neon_Cumulative_Sat(0); \
+ VECT_VAR(vector_res, T1, W, N) = \
+ INSN##Q##_##T2##W(VECT_VAR(vector, T1, W, N)); \
+ vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), \
+ VECT_VAR(vector_res, T1, W, N)); \
+ dump_neon_cumulative_sat(TEST_MSG, xSTR(INSN##Q##_##T2##W), \
+ xSTR(T1), W, N)
#define TEST_UNARY_SAT_OP(INSN, Q, T1, T2, W, N) \
TEST_UNARY_SAT_OP1(INSN, Q, T1, T2, W, N)
@@ -80,7 +80,7 @@ FNNAME (INSN_NAME)
TEST_VLOAD(vector, buffer, q, int, s, 32, 4);
/* Apply a unary operator named INSN_NAME */
- fprintf(ref_file, "\n%s overflow output:\n", TEST_MSG);
+ fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG);
TEST_UNARY_SAT_OP(INSN_NAME, , int, s, 8, 8);
TEST_UNARY_SAT_OP(INSN_NAME, , int, s, 16, 4);
TEST_UNARY_SAT_OP(INSN_NAME, , int, s, 32, 2);