On 7/22/24 11:07 AM, Roger Sayle wrote:
> > Whilst 33-bit pseudo-rotations almost certainly doesn't occur
frequently
in real code, this provides a very useful building block. Conventionally,
rotations require 2 cycles per bit; one cycle to shift the top-bit out
out of the source, and one cyc
This significantly reworks my previous patch to improve SImode right
shifts on ARC CPUs without a barrel shifter when not optimizing for
size. This patch provides several additional implementation strategies
further reducing the number of cycles required.
One feature of !TARGET_BARREL_SHIFTER on