diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-24 02:12:32 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-24 02:12:32 +0000 |
commit | 455f9004866c2f1fd630f09a18353501dea5a77e (patch) | |
tree | 4f134dcee976c7958ba5e56c62ee4562b69212dc | |
parent | 11d1fdb05a02d8ac97f8379f9f45ba767af4d44f (diff) | |
download | qemu-455f9004866c2f1fd630f09a18353501dea5a77e.zip qemu-455f9004866c2f1fd630f09a18353501dea5a77e.tar.gz qemu-455f9004866c2f1fd630f09a18353501dea5a77e.tar.bz2 |
Fix helper operand type mismatch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4551 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-sparc/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 9d746bf..ffc881e 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -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 */ |