Re: [PATCH 1/9] target/mips: Introduce ase_msa_available() helper

2020-12-03 Thread Richard Henderson
On 12/2/20 12:44 PM, Philippe Mathieu-Daudé wrote: > Instead of accessing CP0_Config3 directly and checking > the 'MSA Present' bit, introduce an explicit helper, > making the code easier to read. > > Signed-off-by: Philippe Mathieu-Daudé > --- > target/mips/internal.h | 6 ++ > target/mip

[PATCH 1/9] target/mips: Introduce ase_msa_available() helper

2020-12-02 Thread Philippe Mathieu-Daudé
Instead of accessing CP0_Config3 directly and checking the 'MSA Present' bit, introduce an explicit helper, making the code easier to read. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/internal.h | 6 ++ target/mips/kvm.c | 12 ++-- target/mips/translate.c | 8 +++--