diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2014-06-03 22:47:52 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2014-06-03 22:47:52 +0200 |
commit | 4a6e5cc95176769664bc9e56d4e7c92b7a2fc816 (patch) | |
tree | 614baf4a3939bd6a255da33aebf5cd12a43e8021 /ref_vqmovun.c | |
parent | fad316adcad1edd1cbb1e01769768abcffcb1070 (diff) | |
download | platform_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_vqmovun.c')
-rw-r--r-- | ref_vqmovun.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/ref_vqmovun.c b/ref_vqmovun.c index 292d116..92c220e 100644 --- a/ref_vqmovun.c +++ b/ref_vqmovun.c @@ -40,14 +40,14 @@ THE SOFTWARE. FNNAME (INSN_NAME) { /* Basic test: y=OP(x), then store the result. */ -#define TEST_UNARY_OP1(INSN, T1, T2, W, W2, N) \ - Set_Neon_Overflow(0); \ - VECT_VAR(vector_res, T1, W, N) = \ - INSN##_s##W2(VECT_VAR(vector, int, W2, N)); \ - vst1##_##T2##W(VECT_VAR(result, T1, W, N), \ - VECT_VAR(vector_res, T1, W, N)); \ - dump_neon_overflow(TEST_MSG, xSTR(INSN##_s##W2), \ - xSTR(T1), W, N) +#define TEST_UNARY_OP1(INSN, T1, T2, W, W2, N) \ + Set_Neon_Cumulative_Sat(0); \ + VECT_VAR(vector_res, T1, W, N) = \ + INSN##_s##W2(VECT_VAR(vector, int, W2, N)); \ + vst1##_##T2##W(VECT_VAR(result, T1, W, N), \ + VECT_VAR(vector_res, T1, W, N)); \ + dump_neon_cumulative_sat(TEST_MSG, xSTR(INSN##_s##W2), \ + xSTR(T1), W, N) #define TEST_UNARY_OP(INSN, T1, T2, W, W2, N) \ TEST_UNARY_OP1(INSN, T1, T2, W, W2, N) \ @@ -72,7 +72,7 @@ FNNAME (INSN_NAME) TEST_VDUP(vector, q, int, s, 64, 2, 0x12345678); /* 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_OP(INSN_NAME, uint, u, 8, 16, 8); TEST_UNARY_OP(INSN_NAME, uint, u, 16, 32, 4); TEST_UNARY_OP(INSN_NAME, uint, u, 32, 64, 2); @@ -85,7 +85,8 @@ FNNAME (INSN_NAME) TEST_VDUP(vector, q, int, s, 64, 2, 0x8765432187654321LL); /* Apply a unary operator named INSN_NAME */ - fprintf(ref_file, "\n%s overflow output:\n", TEST_MSG " (negative input)"); + fprintf(ref_file, "\n%s cumulative saturation output:\n", + TEST_MSG " (negative input)"); TEST_UNARY_OP(INSN_NAME, uint, u, 8, 16, 8); TEST_UNARY_OP(INSN_NAME, uint, u, 16, 32, 4); TEST_UNARY_OP(INSN_NAME, uint, u, 32, 64, 2); |