RE: [x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality.

2023-07-12 Thread Roger Sayle
> From: Hongtao Liu > Sent: 12 July 2023 01:45 > > On Wed, Jul 12, 2023 at 4:57 AM Roger Sayle > > > From: Hongtao Liu > > > Sent: 28 June 2023 04:23 > > > > From: Roger Sayle > > > > Sent: 27 June 2023 20:28 > > > > > > > > I've also come up with an alternate/complementary/supplementary > >

Re: [x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality.

2023-07-11 Thread Hongtao Liu via Gcc-patches
On Wed, Jul 12, 2023 at 4:57 AM Roger Sayle wrote: > > > > From: Hongtao Liu > > Sent: 28 June 2023 04:23 > > > From: Roger Sayle > > > Sent: 27 June 2023 20:28 > > > > > > I've also come up with an alternate/complementary/supplementary > > > fix of generating the PTEST during RTL expansion, rat

RE: [x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality.

2023-07-11 Thread Roger Sayle
> From: Hongtao Liu > Sent: 28 June 2023 04:23 > > From: Roger Sayle > > Sent: 27 June 2023 20:28 > > > > I've also come up with an alternate/complementary/supplementary > > fix of generating the PTEST during RTL expansion, rather than rely on > > this being caught/optimized later during STV. >

Re: [x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality.

2023-06-27 Thread Hongtao Liu via Gcc-patches
On Wed, Jun 28, 2023 at 3:32 AM Roger Sayle wrote: > > > Doh! Wrong patch... > Roger > -- > > From: Roger Sayle > Sent: 27 June 2023 20:28 > To: 'gcc-patches@gcc.gnu.org' > Cc: 'Uros Bizjak' ; 'Hongtao Liu' > Subject: [x86 PATCH] T

RE: [x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality.

2023-06-27 Thread Roger Sayle
Doh! Wrong patch... Roger -- From: Roger Sayle Sent: 27 June 2023 20:28 To: 'gcc-patches@gcc.gnu.org' Cc: 'Uros Bizjak' ; 'Hongtao Liu' Subject: [x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality. Hi Uros, Hopefully Hongtao will appr

[x86 PATCH] Tweak ix86_expand_int_compare to use PTEST for vector equality.

2023-06-27 Thread Roger Sayle
Hi Uros, Hopefully Hongtao will approve my patch to support SUBREG conversions in STV https://gcc.gnu.org/pipermail/gcc-patches/2023-June/622706.html but for some of the examples described in the above post (and its test case), I've also come up with an alternate/complementary/supplementa