aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-29 01:19:12 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-29 01:19:12 +0000
commitf129981a6ab13e6490cf473281095687bcbbf005 (patch)
tree67bcf083b20d77873d84e498abf1cb3cf245994e /target-mips
parentcdc0faa66ac5c5452e215eb9e07d3909ff796ba1 (diff)
downloadqemu-f129981a6ab13e6490cf473281095687bcbbf005.zip
qemu-f129981a6ab13e6490cf473281095687bcbbf005.tar.gz
qemu-f129981a6ab13e6490cf473281095687bcbbf005.tar.bz2
target-mips: optimize gen_HILO()
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6938 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/translate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 677981c..140d873 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -1795,10 +1795,6 @@ static void gen_HILO (DisasContext *ctx, uint32_t opc, int reg)
tcg_gen_movi_tl(cpu_LO[0], 0);
opn = "mtlo";
break;
- default:
- MIPS_INVAL(opn);
- generate_exception(ctx, EXCP_RI);
- return;
}
MIPS_DEBUG("%s %s", opn, regnames[reg]);
}