Re: [PATCH 3/5] target/mips: Make check_cp0_enabled() return a boolean

2021-04-20 Thread Richard Henderson
On 4/20/21 12:34 PM, Philippe Mathieu-Daudé wrote: To avoid callers to emit dead code if check_cp0_enabled() raise an exception, let it return a boolean value, whether CP0 is enabled or not. Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/mips/translate.h | 7

[PATCH 3/5] target/mips: Make check_cp0_enabled() return a boolean

2021-04-20 Thread Philippe Mathieu-Daudé
To avoid callers to emit dead code if check_cp0_enabled() raise an exception, let it return a boolean value, whether CP0 is enabled or not. Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/mips/translate.h | 7 ++- target/mips/translate.c | 4 +++- 2 files