Re: [PATCH v5 22/30] tcg/mips: Reorg tlb load within prepare_host_addr

2023-05-10 Thread Alex Bennée
Richard Henderson writes: > Compare the address vs the tlb entry with sign-extended values. > This simplifies the page+alignment mask constant, and the > generation of the last byte address for the misaligned test. > > Move the tlb addend load up, and the zero-extension down. > > This frees up

[PATCH v5 22/30] tcg/mips: Reorg tlb load within prepare_host_addr

2023-05-06 Thread Richard Henderson
Compare the address vs the tlb entry with sign-extended values. This simplifies the page+alignment mask constant, and the generation of the last byte address for the misaligned test. Move the tlb addend load up, and the zero-extension down. This frees up a register, which allows us use TMP3 as th