mirror of https://github.com/xemu-project/xemu.git
target/arm: Fix MTE check in sve_ldnfff1_r
The comment was correct, but the test was not: disable mte if tagged is *not* set. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5242876f37
commit
a4f3791143
|
@ -5986,7 +5986,7 @@ void sve_ldnfff1_r(CPUARMState *env, void *vg, const target_ulong addr,
|
|||
* Disable MTE checking if the Tagged bit is not set. Since TBI must
|
||||
* be set within MTEDESC for MTE, !mtedesc => !mte_active.
|
||||
*/
|
||||
if (arm_tlb_mte_tagged(&info.page[0].attrs)) {
|
||||
if (!arm_tlb_mte_tagged(&info.page[0].attrs)) {
|
||||
mtedesc = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue