Commit 455f9004866c2f1fd630f09a18353501dea5a77e
1 parent
11d1fdb0
Fix helper operand type mismatch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4551 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
target-sparc/translate.c
... | ... | @@ -4275,7 +4275,8 @@ static void disas_sparc_insn(DisasContext * dc) |
4275 | 4275 | break; |
4276 | 4276 | case 0x22: /* load quad fpreg */ |
4277 | 4277 | CHECK_FPU_FEATURE(dc, FLOAT128); |
4278 | - tcg_gen_helper_0_2(helper_ldqf, cpu_addr, dc->mem_idx); | |
4278 | + tcg_gen_helper_0_2(helper_ldqf, cpu_addr, | |
4279 | + tcg_const_i32(dc->mem_idx)); | |
4279 | 4280 | gen_op_store_QT0_fpr(QFPREG(rd)); |
4280 | 4281 | break; |
4281 | 4282 | case 0x23: /* load double fpreg */ | ... | ... |