target/ppc: Remove redundant mask in DCBZ
The value of addr has already been masked, just above. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200129235040.24022-4-richard.henderson@linaro.org> Tested-by: Howard Spoelstra <hsp.cat7@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2ca2ef4994
commit
1cbddf6d94
@ -293,7 +293,7 @@ static void dcbz_common(CPUPPCState *env, target_ulong addr,
|
||||
addr &= mask;
|
||||
|
||||
/* Check reservation */
|
||||
if ((env->reserve_addr & mask) == (addr & mask)) {
|
||||
if ((env->reserve_addr & mask) == addr) {
|
||||
env->reserve_addr = (target_ulong)-1ULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user