Re: [PATCH 2/5] target/mips: Introduce ase_mt_available() helper

2020-12-05 Thread Richard Henderson
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é > --- > target/mips/cpu.h| 7 +++ > hw/mips/cps.c

[PATCH 2/5] target/mips: Introduce ase_mt_available() helper

2020-12-04 Thread Philippe Mathieu-Daudé
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é --- target/mips/cpu.h| 7 +++ hw/mips/cps.c| 3 +-- target/mips/cp0_helper.c | 2 +- target/mips/cp