summaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorJuha Riihimäki <juha.riihimaki@nokia.com>2010-12-07 14:13:41 +0000
committerAurelien Jarno <aurelien@aurel32.net>2010-12-27 21:06:55 +0100
commitdef126ce37b037afc55878197159d9ddcb24a9e4 (patch)
tree7f33b6ffdf8aa678f679e91e78bc79452c045dd1 /target-arm
parent1a855029af40df40144a322bba0e1e61c68eed2a (diff)
downloadqemu-def126ce37b037afc55878197159d9ddcb24a9e4.tar.gz
qemu-def126ce37b037afc55878197159d9ddcb24a9e4.tar.bz2
qemu-def126ce37b037afc55878197159d9ddcb24a9e4.zip
target-arm: Fix arguments passed to VQSHL helpers
Correct the arguments passed when generating neon qshl_{u,s}64() helpers so that we use the correct registers. Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 24b4fb65ed..8d494ec924 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -4236,9 +4236,9 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
case 9: /* VQSHL */
if (u) {
gen_helper_neon_qshl_u64(cpu_V0, cpu_env,
- cpu_V0, cpu_V0);
+ cpu_V1, cpu_V0);
} else {
- gen_helper_neon_qshl_s64(cpu_V1, cpu_env,
+ gen_helper_neon_qshl_s64(cpu_V0, cpu_env,
cpu_V1, cpu_V0);
}
break;