diff options
author | Juha Riihimäki <juha.riihimaki@nokia.com> | 2010-12-07 14:13:41 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-12-27 21:06:55 +0100 |
commit | def126ce37b037afc55878197159d9ddcb24a9e4 (patch) | |
tree | 7f33b6ffdf8aa678f679e91e78bc79452c045dd1 /target-arm | |
parent | target-arm: fix bug in translation of REVSH (diff) | |
download | qemu-kvm-def126ce37b037afc55878197159d9ddcb24a9e4.tar.gz qemu-kvm-def126ce37b037afc55878197159d9ddcb24a9e4.tar.bz2 qemu-kvm-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index 24b4fb65e..8d494ec92 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; |