Re: [PATCH] aarch64: Use SVE ASRD instruction with Neon modes.

2024-12-10 Thread Soumya AR
> On 10 Dec 2024, at 7:03 PM, Richard Sandiford > wrote: > > External email: Use caution opening links or attachments > > > Soumya AR writes: >> Hi Richard, >> >> Thanks for reviewing this! >> >> I’ve made the suggested changes and added the aarch64_ptrue_reg overload. > > The updated pa

Re: [PATCH] aarch64: Use SVE ASRD instruction with Neon modes.

2024-12-10 Thread Richard Sandiford
Soumya AR writes: > Hi Richard, > > Thanks for reviewing this! > > I’ve made the suggested changes and added the aarch64_ptrue_reg overload. The updated patch is OK, thanks. > Thank you for providing the implementation for this, I have added you > as a co-author for the patch, hope that works :

Re: [PATCH] aarch64: Use SVE ASRD instruction with Neon modes.

2024-12-10 Thread Soumya AR
Hi Richard, Thanks for reviewing this! I’ve made the suggested changes and added the aarch64_ptrue_reg overload. Thank you for providing the implementation for this, I have added you as a co-author for the patch, hope that works :) Best, Soumya > On 5 Dec 2024, at 10:08 PM, Richard Sandiford

Re: [PATCH] aarch64: Use SVE ASRD instruction with Neon modes.

2024-12-05 Thread Richard Sandiford
Soumya AR writes: > The ASRD instruction on SVE performs an arithmetic shift right by an immediate > for divide. > > This patch enables the use of ASRD with Neon modes. > > For example: > > int in[N], out[N]; > > void > foo (void) > { > for (int i = 0; i < N; i++) > out[i] = in[i] / 4; > } >