[PATCH] SVE intrinsics: Fold svaba with op1 all zeros to svabd.

2024-10-25 Thread Jennifer Schmitz
Similar to https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665780.html, this patch implements folding of svaba to svabd if op1 is all zeros, resulting in the use of UABD/SABD instructions instead of UABA/SABA. Tests were added to check the produced assembly for use of UABD/SABD, also for the

Re: [PATCH] SVE intrinsics: Fold svaba with op1 all zeros to svabd.

2024-10-24 Thread Jennifer Schmitz
> On 24 Oct 2024, at 21:55, Richard Sandiford wrote: > > External email: Use caution opening links or attachments > > > Jennifer Schmitz writes: >> Similar to >> https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665780.html, >> this patch implements folding of svaba to svabd if op1 is a

Re: [PATCH] SVE intrinsics: Fold svaba with op1 all zeros to svabd.

2024-10-24 Thread Richard Sandiford
Jennifer Schmitz writes: > Similar to > https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665780.html, > this patch implements folding of svaba to svabd if op1 is all zeros, > resulting in the use of UABD/SABD instructions instead of UABA/SABA. > Tests were added to check the produced assembl