On 8/15/25 23:18, Peter Maydell wrote:
We end up doing the zero-extension twice for the 32-bit case, once in gen_wrap3_i32(), and once in gen_rri(). Does the extra one get optimized away ?
Yes. That's what the z_mask stuff in tcg/optimize.c is for. r~