summaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-24 02:24:25 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-24 02:24:25 +0000
commitbcb0126ff44a59e636c89b0b191e7203c83ff29f (patch)
treeee4c9af2196e39483fd8c0ee79eee3892a9eefbc /target-sparc
parentcb63669a54fdd926da7d07768f21f515acd4ad2a (diff)
downloadqemu-bcb0126ff44a59e636c89b0b191e7203c83ff29f.zip
More TCGv type fixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4553 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 0f9cda9260..36381c413a 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -4401,7 +4401,8 @@ static void disas_sparc_insn(DisasContext * dc)
/* V9 stqf, store quad fpreg */
CHECK_FPU_FEATURE(dc, FLOAT128);
gen_op_load_fpr_QT0(QFPREG(rd));
- tcg_gen_helper_0_2(helper_stqf, cpu_addr, dc->mem_idx);
+ tcg_gen_helper_0_2(helper_stqf, cpu_addr,
+ tcg_const_i32(dc->mem_idx));
break;
#else /* !TARGET_SPARC64 */
/* stdfq, store floating point queue */