aboutsummaryrefslogtreecommitdiff
path: root/ref_vuzp.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@gmail.com>2013-01-10 18:49:49 +0100
committerChristophe Lyon <christophe.lyon@st.com>2013-01-14 13:51:16 +0100
commit3f968e4e06203565960e3cac932896be2d0a0a48 (patch)
tree1789788de7ffefbe606f1fede0eb9faf91149668 /ref_vuzp.c
parent87b607e6b4a67ee8e59c8987bb593a5f41fb56b6 (diff)
downloadarm-neon-tests-3f968e4e06203565960e3cac932896be2d0a0a48.tar.gz
Fix output of 2nd chunk of data for vuzp, vzip and vtrn.
Reported by Victoria Zhislina.
Diffstat (limited to 'ref_vuzp.c')
-rw-r--r--ref_vuzp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ref_vuzp.c b/ref_vuzp.c
index 2f66f66..01a4040 100644
--- a/ref_vuzp.c
+++ b/ref_vuzp.c
@@ -63,7 +63,7 @@ FNNAME (INSN_NAME)
/* Overwrite "result" with the contents of "result_bis"[X] */
#define TEST_EXTRA_CHUNK(T1, W, N, X) \
- memcpy(VECT_VAR(result, T1, W, N), &(VECT_VAR(result_bis, T1, W, N)[X]), \
+ memcpy(VECT_VAR(result, T1, W, N), &(VECT_VAR(result_bis, T1, W, N)[X*N]), \
sizeof(VECT_VAR(result, T1, W, N)));
/* With ARM RVCT, we need to declare variables before any executable