Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-04-05 Thread Kyrylo Tkachov
> On 31 Mar 2025, at 09:43, Richard Biener wrote: > > On Mon, Mar 31, 2025 at 9:41 AM Richard Biener > wrote: >> >> On Mon, Mar 31, 2025 at 9:36 AM Kyrylo Tkachov wrote: >>> >>> Ping. >> >> Can you reference the patch please? I'll note your mails have the tendency >> to >> end up in my s

Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-04-04 Thread Richard Biener
On Mon, Mar 31, 2025 at 3:07 PM Mark Wielaard wrote: > > On Mon, 2025-03-31 at 09:12 +, Kyrylo Tkachov wrote: > > > > > On 31 Mar 2025, at 09:43, Richard Biener > > > wrote: > > > > > > On Mon, Mar 31, 2025 at 9:41 AM Richard Biener > > > wrote: > > > > > > > > On Mon, Mar 31, 2025 at 9:36 

Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-04-04 Thread Richard Biener
On Mon, Mar 24, 2025 at 3:57 PM Kyrylo Tkachov wrote: > > Hi all, > > In this testcase GCC tries to expand a VNx4BI vector: > vector(4) _40; > _39 = () _24; > _40 = {_39, _39, _39, _39}; > > This ends up in a scalarised sequence of bitfield insert operations. > This is despite the fact that AArch

Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-03-31 Thread Mark Wielaard
On Mon, 2025-03-31 at 09:12 +, Kyrylo Tkachov wrote: > > > On 31 Mar 2025, at 09:43, Richard Biener wrote: > > > > On Mon, Mar 31, 2025 at 9:41 AM Richard Biener > > wrote: > > > > > > On Mon, Mar 31, 2025 at 9:36 AM Kyrylo Tkachov > > > wrote: > > > > > > > > Ping. > > > > > > Can you

Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-03-31 Thread Richard Biener
On Mon, Mar 31, 2025 at 9:36 AM Kyrylo Tkachov wrote: > > Ping. Can you reference the patch please? I'll note your mails have the tendency to end up in my spam folder (which is auto-purged after some time). Probably a setup issue at nvidias side. Richard. > Thanks, > Kyrill > > > On 24 Mar 20

Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-03-31 Thread Kyrylo Tkachov
Ping. Thanks, Kyrill > On 24 Mar 2025, at 14:28, Kyrylo Tkachov wrote: > > Hi all, > > In this testcase GCC tries to expand a VNx4BI vector: > vector(4) _40; > _39 = () _24; > _40 = {_39, _39, _39, _39}; > > This ends up in a scalarised sequence of bitfield insert operations. > This is despi

Re: [PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-03-31 Thread Richard Biener
On Mon, Mar 31, 2025 at 9:41 AM Richard Biener wrote: > > On Mon, Mar 31, 2025 at 9:36 AM Kyrylo Tkachov wrote: > > > > Ping. > > Can you reference the patch please? I'll note your mails have the tendency to > end up in my spam folder (which is auto-purged after some time). Probably > a setup i

[PATCH] PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes

2025-03-24 Thread Kyrylo Tkachov
Hi all, In this testcase GCC tries to expand a VNx4BI vector: vector(4) _40; _39 = () _24; _40 = {_39, _39, _39, _39}; This ends up in a scalarised sequence of bitfield insert operations. This is despite the fact that AArch64 provides a vec_duplicate pattern specifically for vec_duplicate into V