target/mips: Extract break code into env->error_code
Simplify cpu_loop by doing all of the decode in translate. This fixes a bug in that cpu_loop was not handling the different layout of the R6 version of break16. This fixes a bug in that cpu_loop extracted the wrong bits for the mips16e break16 instruction. Reviewed-by:Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220107213243.212806-17-richard.henderson@linaro.org> Signed-off-by:
Laurent Vivier <laurent@vivier.eu>
Showing
- linux-user/mips/cpu_loop.c 9 additions, 64 deletionslinux-user/mips/cpu_loop.c
- target/mips/tcg/micromips_translate.c.inc 3 additions, 3 deletionstarget/mips/tcg/micromips_translate.c.inc
- target/mips/tcg/mips16e_translate.c.inc 1 addition, 1 deletiontarget/mips/tcg/mips16e_translate.c.inc
- target/mips/tcg/translate.c 11 additions, 1 deletiontarget/mips/tcg/translate.c
- target/mips/tcg/translate.h 1 addition, 0 deletionstarget/mips/tcg/translate.h
Loading
Please register or sign in to comment