aboutsummaryrefslogtreecommitdiff
path: root/target-mips/translate.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-27 10:03:42 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-27 10:03:42 +0000
commit2796188e563dcb2c1e8d75e02ca284bb9dc792e3 (patch)
tree6cd02528a24e9089c5a5ff06cb3a5c90aab65522 /target-mips/translate.c
parentb5dc7732e1cc2fb549e48b7b5d664f2c79628e2e (diff)
Avoid unused input arguments which triggered tcg errors. Spotted by
Stefan Weil. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4795 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/translate.c')
-rw-r--r--target-mips/translate.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index c4d91f0e52..9c97b9c486 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -7386,19 +7386,19 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
switch (rd) {
case 0:
save_cpu_state(ctx, 1);
- tcg_gen_helper_1_1(do_rdhwr_cpunum, t0, t0);
+ tcg_gen_helper_1_0(do_rdhwr_cpunum, t0);
break;
case 1:
save_cpu_state(ctx, 1);
- tcg_gen_helper_1_1(do_rdhwr_synci_step, t0, t0);
+ tcg_gen_helper_1_0(do_rdhwr_synci_step, t0);
break;
case 2:
save_cpu_state(ctx, 1);
- tcg_gen_helper_1_1(do_rdhwr_cc, t0, t0);
+ tcg_gen_helper_1_0(do_rdhwr_cc, t0);
break;
case 3:
save_cpu_state(ctx, 1);
- tcg_gen_helper_1_1(do_rdhwr_ccres, t0, t0);
+ tcg_gen_helper_1_0(do_rdhwr_ccres, t0);
break;
case 29:
#if defined (CONFIG_USER_ONLY)
@@ -7548,14 +7548,14 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
case OPC_DI:
check_insn(env, ctx, ISA_MIPS32R2);
save_cpu_state(ctx, 1);
- tcg_gen_helper_1_1(do_di, t0, t0);
+ tcg_gen_helper_1_0(do_di, t0);
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case OPC_EI:
check_insn(env, ctx, ISA_MIPS32R2);
save_cpu_state(ctx, 1);
- tcg_gen_helper_1_1(do_ei, t0, t0);
+ tcg_gen_helper_1_0(do_ei, t0);
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;