On 12/4/20 4:26 PM, Philippe Mathieu-Daudé wrote: > Instead of accessing CP0_Config3 directly and checking > the 'Multi-Threading Present' bit, introduce an helper > to simplify code review. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > target/mips/cpu.h | 7 +++++++ > hw/mips/cps.c | 3 +-- > target/mips/cp0_helper.c | 2 +- > target/mips/cpu.c | 2 +- > target/mips/helper.c | 2 +- > target/mips/translate.c | 2 +- > 6 files changed, 12 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~