> On 16 Jan 2026, at 11:37, Kyrylo Tkachov <[email protected]> wrote: > > Hi all, > > While fixing the Advanced SIMD XAR patterns I looked at SVE2 and > it looks okay there but the rotate amount should use the > aarch64_simd_rshift_imm predicate rather than lshift_imm since the > instruction (unlike the Advanced SIMD version) takes values from > [1, bitwidth]. > > Bootstrapped and tested on aarch64-none-linux-gnu. > Will push as obvious together with the first patch.
I’ve spotted some SVE failures due to this patch so I’ve reverted it. Kyrill > Thanks, > Kyrill > > Signed-off-by: Kyrylo Tkachov <[email protected]> > > gcc/ > > PR target/123584 > * config/aarch64/aarch64-sve2.md (@aarch64_sve2_xar<mode>): Use > aarch64_simd_rshift_imm predicate for rotate amount. > > <0002-aarch64-Adjust-predicate-used-for-SVE2-SHA3-XAR-rota.patch>
