summaryrefslogtreecommitdiffstats
path: root/tcg/mips
diff options
context:
space:
mode:
authorAurelien Jarno2012-10-01 21:00:43 +0200
committerAurelien Jarno2012-10-06 18:47:04 +0200
commit626cd050e2c9094c1b005bc39cab637f8cbe3755 (patch)
tree0f7cc6a6437475ff4529cbfc93dd1fae8e2dee5d /tcg/mips
parenttarget-xtensa: de-optimize EXTUI (diff)
downloadqemu-626cd050e2c9094c1b005bc39cab637f8cbe3755.tar.gz
qemu-626cd050e2c9094c1b005bc39cab637f8cbe3755.tar.xz
qemu-626cd050e2c9094c1b005bc39cab637f8cbe3755.zip
tcg: remove obsolete jmp op
The TCG jmp operation doesn't really make sense in the QEMU context, it is unused, it is not implemented by some targets, and it is wrongly implemented by some others. This patch simply removes it. Reviewed-by: Richard Henderson <rth@twiddle.net> Acked-by: Blue Swirl <blauwirbel@gmail.com> Acked-by: Stefan Weil<sw@weilnetz.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/mips')
-rw-r--r--tcg/mips/tcg-target.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 34e3e7f823..7e4013e1e6 100644
--- a/tcg/mips/tcg-target.c
+++ b/tcg/mips/tcg-target.c
@@ -1322,10 +1322,6 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc,
tcg_out_opc_reg(s, OPC_JALR, TCG_REG_RA, args[0], 0);
tcg_out_nop(s);
break;
- case INDEX_op_jmp:
- tcg_out_opc_reg(s, OPC_JR, 0, args[0], 0);
- tcg_out_nop(s);
- break;
case INDEX_op_br:
tcg_out_brcond(s, TCG_COND_EQ, TCG_REG_ZERO, TCG_REG_ZERO, args[0]);
break;
@@ -1577,7 +1573,6 @@ static const TCGTargetOpDef mips_op_defs[] = {
{ INDEX_op_exit_tb, { } },
{ INDEX_op_goto_tb, { } },
{ INDEX_op_call, { "C" } },
- { INDEX_op_jmp, { "r" } },
{ INDEX_op_br, { } },
{ INDEX_op_mov_i32, { "r", "r" } },