cputlb: Remove double-alignment in store_helper

We have already aligned page2 to the start of the next page.
There is no reason to do that a second time.

Backports commit 5787585d0406cfd54dda0c71ea1a603347ce6e71 from qemu
This commit is contained in:
Richard Henderson 2020-01-12 10:25:04 -05:00 committed by Lioncash
parent 6990b212e3
commit bb313206e5

View file

@ -1371,8 +1371,7 @@ store_helper(CPUArchState *env, target_ulong addr, uint64_t val,
entry2 = tlb_entry(env, mmu_idx, page2);
tlb_addr2 = tlb_addr_write(entry2);
if (!tlb_hit_page(tlb_addr2, page2)
&& !victim_tlb_hit(env, mmu_idx, index2, tlb_off,
page2 & TARGET_PAGE_MASK)) {
&& !victim_tlb_hit(env, mmu_idx, index2, tlb_off, page2)) {
tlb_fill(env_cpu(env), page2, size2, MMU_DATA_STORE,
mmu_idx, retaddr);
}