Fix helper operand type mismatch.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4551 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
pbrook 2008-05-24 02:12:32 +00:00
parent 11d1fdb05a
commit 455f900486

View File

@ -4275,7 +4275,8 @@ static void disas_sparc_insn(DisasContext * dc)
break;
case 0x22: /* load quad fpreg */
CHECK_FPU_FEATURE(dc, FLOAT128);
tcg_gen_helper_0_2(helper_ldqf, cpu_addr, dc->mem_idx);
tcg_gen_helper_0_2(helper_ldqf, cpu_addr,
tcg_const_i32(dc->mem_idx));
gen_op_store_QT0_fpr(QFPREG(rd));
break;
case 0x23: /* load double fpreg */