Commit b408a9b0 authored by Christophe Lyon's avatar Christophe Lyon Committed by Aurelien Jarno
Browse files

target-arm: fix Neon VQSHRN and VSHRN.



Call the normal shift helpers instead of the rounding ones.
Signed-off-by: default avatarChristophe Lyon <christophe.lyon@st.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 960e623b
...@@ -4063,8 +4063,8 @@ static inline void gen_neon_shift_narrow(int size, TCGv var, TCGv shift, ...@@ -4063,8 +4063,8 @@ static inline void gen_neon_shift_narrow(int size, TCGv var, TCGv shift,
} else { } else {
if (u) { if (u) {
switch (size) { switch (size) {
case 1: gen_helper_neon_rshl_u16(var, var, shift); break; case 1: gen_helper_neon_shl_u16(var, var, shift); break;
case 2: gen_helper_neon_rshl_u32(var, var, shift); break; case 2: gen_helper_neon_shl_u32(var, var, shift); break;
default: abort(); default: abort();
} }
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment