Re: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-21 Thread Andrew Pinski
an > > ; Remi Machet ; Jennifer Schmitz > > > > Subject: Re: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR > > instructions > > > > > > > > > On 21 Jul 2025, at 11:43, Kyrylo Tkachov wrote: > > > > > &

RE: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-21 Thread Tamar Christina
> -Original Message- > From: Kyrylo Tkachov > Sent: Monday, July 21, 2025 11:36 AM > To: Tamar Christina > Cc: GCC Patches ; Richard Sandiford > ; Andrew Pinski ; Alex Coplan > ; Remi Machet ; Jennifer Schmitz > > Subject: Re: [PATCH 2/2] aarch64: Allow CPU

Re: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-21 Thread Kyrylo Tkachov
> On 21 Jul 2025, at 11:43, Kyrylo Tkachov wrote: > > Hi Tamar, > >> On 21 Jul 2025, at 11:12, Tamar Christina wrote: >> >> Hi Kyrill, >> >>> -Original Message- >>> From: Kyrylo Tkachov >>> Sent: Friday, July 18, 2025 10:40 AM >>> To: GCC Patches >>> Cc: Tamar Christina ; Richard

Re: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-21 Thread Kyrylo Tkachov
Hi Tamar, > On 21 Jul 2025, at 11:12, Tamar Christina wrote: > > Hi Kyrill, > >> -Original Message- >> From: Kyrylo Tkachov >> Sent: Friday, July 18, 2025 10:40 AM >> To: GCC Patches >> Cc: Tamar Christina ; Richard Sandiford >> ; Andrew Pinski ; Alex Coplan >> >> Subject: [PATCH 2/2

RE: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-21 Thread Tamar Christina
Hi Kyrill, > -Original Message- > From: Kyrylo Tkachov > Sent: Friday, July 18, 2025 10:40 AM > To: GCC Patches > Cc: Tamar Christina ; Richard Sandiford > ; Andrew Pinski ; Alex Coplan > > Subject: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR > instructions > > Hi all, >

Re: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-18 Thread Kyrylo Tkachov
Hi Jennifer, > On 18 Jul 2025, at 17:08, Jennifer Schmitz wrote: > > > >> On 18 Jul 2025, at 11:39, Kyrylo Tkachov wrote: >> >> External email: Use caution opening links or attachments >> >> >> Hi all, >> >> For inserting zero into a vector lane we usually use an instruction like: >>

Re: [PATCH 2/2] aarch64: Allow CPU tuning to avoid INS-(W|X)ZR instructions

2025-07-18 Thread Remi Machet
On 7/18/25 05:39, Kyrylo Tkachov wrote: > External email: Use caution opening links or attachments > > > Hi all, > > For inserting zero into a vector lane we usually use an instruction like: > ins v0.h[2], wzr > > This, however, has not-so-great performance on some CPUs. > On Grace, f