Re: [PATCH 4/9] target/mips: Simplify MSA TCG logic

2020-12-03 Thread Richard Henderson
On 12/2/20 12:44 PM, Philippe Mathieu-Daudé wrote: > Only decode MSA opcodes if MSA is present (implemented). > > Now than check_msa_access() will only be called if MSA is > present, the only way to have MIPS_HFLAG_MSA unset is if > MSA is disabled (bit CP0C5_MSAEn cleared, see previous > commit).

[PATCH 4/9] target/mips: Simplify MSA TCG logic

2020-12-02 Thread Philippe Mathieu-Daudé
Only decode MSA opcodes if MSA is present (implemented). Now than check_msa_access() will only be called if MSA is present, the only way to have MIPS_HFLAG_MSA unset is if MSA is disabled (bit CP0C5_MSAEn cleared, see previous commit). Therefore we can remove the 'reserved instruction' exception.