t;
> gcc/testsuite/ChangeLog
> PR rtl-optimization/96692
> * gcc.target/i386/bmi-andn-4.c: New test case.
OK.
Thanks,
Uros.
>
> Thanks again,
> Roger
> --
>
> > -Original Message-
> > From: Uros Bizjak
> > Sent: 26 June 2022 18:08
> > To: Roger
Message-
> From: Uros Bizjak
> Sent: 26 June 2022 18:08
> To: Roger Sayle
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: [x86 PATCH] PR rtl-optimization/96692: ((A|B)^C)^A using andn
> with
> -mbmi.
>
> On Sun, Jun 26, 2022 at 2:04 PM Roger Sayle
> wrote:
&g
Hi!
On Sun, Jun 26, 2022 at 07:07:35PM +0200, Uros Bizjak via Gcc-patches wrote:
> On Sun, Jun 26, 2022 at 2:04 PM Roger Sayle
> wrote:
> > I'll investigate whether this optimization can also be implemented
> > more generically in simplify_rtx when the backend provides
> > accurate rtx_costs for
On Sun, Jun 26, 2022 at 2:04 PM Roger Sayle wrote:
>
>
> This patch addresses PR rtl-optimization/96692 on x86_64, by providing
> a define_split for combine to convert the three operation ((A|B)^C)^D
> into a two operation sequence using andn when either A or B is the same
> register as C or D. T