[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] target/mips: Introduce ase_mt_available() helper
From: |
Richard Henderson |
Subject: |
Re: [PATCH 2/5] target/mips: Introduce ase_mt_available() helper |
Date: |
Sat, 5 Dec 2020 06:47:08 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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é <f4bug@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.henderson@linaro.org>
r~
- [PATCH 0/5] mips: Sanitize Multi-Threading ASE, Philippe Mathieu-Daudé, 2020/12/04
- [PATCH 1/5] target/mips: Remove mips_def_t unused argument from mvp_init(), Philippe Mathieu-Daudé, 2020/12/04
- [PATCH 2/5] target/mips: Introduce ase_mt_available() helper, Philippe Mathieu-Daudé, 2020/12/04
- Re: [PATCH 2/5] target/mips: Introduce ase_mt_available() helper,
Richard Henderson <=
- [PATCH 3/5] target/mips: Do not initialize MT registers if MT ASE absent, Philippe Mathieu-Daudé, 2020/12/04
- [PATCH 5/5] hw/mips/malta: Rewrite CP0_MVPConf0 access using deposit(), Philippe Mathieu-Daudé, 2020/12/04
- [PATCH 4/5] hw/mips/malta: Do not initialize MT registers if MT ASE absent, Philippe Mathieu-Daudé, 2020/12/04
- Re: [PATCH 0/5] mips: Sanitize Multi-Threading ASE, Philippe Mathieu-Daudé, 2020/12/07