Re: Clarification about RTL shifts semantics

2025-09-11 Thread Jakub Jelinek via Gcc
On Thu, Sep 11, 2025 at 07:14:51PM +0200, Richard Biener wrote: > Yes, RTL expansion inserts an AND operation when !SHIFT_COUNT_TRUNCATED. > What I was saying there's no way to get a negative shift count flip shift > direction to RTL - it would require a target specific intrinsic that's a > builti

Re: Clarification about RTL shifts semantics

2025-09-11 Thread Richard Biener via Gcc
On Thu, Sep 11, 2025 at 11:14 AM Jakub Jelinek wrote: > > On Thu, Sep 11, 2025 at 11:02:26AM +0200, Richard Biener via Gcc wrote: > > > Does the doc need clarification on the semantics of RTL shift > > > operations when the shift amount is out of range? > > > > The SHIFT_COUNT_TRUNCATED target mac