Re: [PATCH for-9.0] tcg/optimize: Fix sign_mask for logical right-shift

2024-03-27 Thread Philippe Mathieu-Daudé
On 26/3/24 23:22, Richard Henderson wrote: The 'sign' computation is attempting to locate the sign bit that has been repeated, so that we can test if that bit is known zero. That computation can be zero if there are no known sign repetitions. Cc: qemu-sta...@nongnu.org Fixes: 93a967fbb57 ("tcg/

[PATCH for-9.0] tcg/optimize: Fix sign_mask for logical right-shift

2024-03-26 Thread Richard Henderson
The 'sign' computation is attempting to locate the sign bit that has been repeated, so that we can test if that bit is known zero. That computation can be zero if there are no known sign repetitions. Cc: qemu-sta...@nongnu.org Fixes: 93a967fbb57 ("tcg/optimize: Propagate sign info for shifting")