From: aurel32 Date: Sun, 29 Mar 2009 01:19:12 +0000 (+0000) Subject: target-mips: optimize gen_HILO() X-Git-Tag: v0.11.0-rc0~1038 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f129981a6ab13e6490cf473281095687bcbbf005;p=thirdparty%2Fqemu.git target-mips: optimize gen_HILO() Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6938 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-mips/translate.c b/target-mips/translate.c index 677981c02c6..140d873295d 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]); }