aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vqdmulh_n.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2014-05-16 17:12:21 +0200
committerChristophe Lyon <christophe.lyon@st.com>2014-05-16 17:12:21 +0200
commitfad316adcad1edd1cbb1e01769768abcffcb1070 (patch)
tree3823267fa869acfebee0e0c30d86a277afb1f45c /ref_vqdmulh_n.c
parent2abbb6e9c9987f5d7cd9ff68c8812db388266e60 (diff)
downloadplatform_external_arm-neon-tests-fad316adcad1edd1cbb1e01769768abcffcb1070.tar.gz
platform_external_arm-neon-tests-fad316adcad1edd1cbb1e01769768abcffcb1070.tar.bz2
platform_external_arm-neon-tests-fad316adcad1edd1cbb1e01769768abcffcb1070.zip
Add new output file, to make conversion to GCC dejagnu testsuite easier.
Diffstat (limited to 'ref_vqdmulh_n.c')
-rw-r--r--ref_vqdmulh_n.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/ref_vqdmulh_n.c b/ref_vqdmulh_n.c
index d009377..847edba 100644
--- a/ref_vqdmulh_n.c
+++ b/ref_vqdmulh_n.c
@@ -41,14 +41,15 @@ FNNAME (INSN)
int i;
/* vector_res = vqdmulh_n(vector,val), then store the result. */
-#define TEST_VQDMULH_N2(INSN, Q, T1, T2, W, N, L) \
- Set_Neon_Overflow(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))
+#define TEST_VQDMULH_N2(INSN, Q, T1, T2, W, N, L) \
+ Set_Neon_Overflow(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)
/* Two auxliary macros are necessary to expand INSN */
#define TEST_VQDMULH_N1(INSN, Q, T1, T2, W, N, L) \