]> git.proxmox.com Git - qemu.git/blobdiff - target-arm/translate.c
target-arm: Fix arguments passed to VQSHL helpers
[qemu.git] / target-arm / translate.c
index 24b4fb65edaeea2353b6b9cd3f387cbe7253c2c3..8d494ec9248f884b36ae220ef75e6acedb665b26 100644 (file)
@@ -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;