Commit f129981a6ab13e6490cf473281095687bcbbf005
1 parent
cdc0faa6
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
Showing
1 changed file
with
0 additions
and
4 deletions
target-mips/translate.c
| ... | ... | @@ -1795,10 +1795,6 @@ static void gen_HILO (DisasContext *ctx, uint32_t opc, int reg) |
| 1795 | 1795 | tcg_gen_movi_tl(cpu_LO[0], 0); |
| 1796 | 1796 | opn = "mtlo"; |
| 1797 | 1797 | break; |
| 1798 | - default: | |
| 1799 | - MIPS_INVAL(opn); | |
| 1800 | - generate_exception(ctx, EXCP_RI); | |
| 1801 | - return; | |
| 1802 | 1798 | } |
| 1803 | 1799 | MIPS_DEBUG("%s %s", opn, regnames[reg]); |
| 1804 | 1800 | } | ... | ... |