RE: [PATCH take 2] Fold (X<

2021-08-05 Thread Roger Sayle
and that synth_mult (and the addition form) should also avoid generating this insn? Thanks in advance, Roger -- From: Christophe Lyon Sent: 05 August 2021 14:53 To: Roger Sayle Cc: GCC Patches ; Marc Glisse Subject: Re: [PATCH take 2] Fold (X<mailto:ro...@nextmovesoftware.com> &

Re: [PATCH take 2] Fold (X<

2021-08-05 Thread Christophe Lyon via Gcc-patches
On Wed, Jul 28, 2021 at 2:45 PM Roger Sayle wrote: > > Hi Marc, > > Thanks for the feedback. After some quality time in gdb, I now appreciate > that > match.pd behaves (subtly) differently between generic and gimple, and the > trees actually being passed to tree_nonzero_bits were not quite what

Re: [PATCH take 2] Fold (X<

2021-08-03 Thread Richard Biener via Gcc-patches
On Wed, Jul 28, 2021 at 2:45 PM Roger Sayle wrote: > > > Hi Marc, > > Thanks for the feedback. After some quality time in gdb, I now appreciate > that > match.pd behaves (subtly) differently between generic and gimple, and the > trees actually being passed to tree_nonzero_bits were not quite what

[PATCH take 2] Fold (X<

2021-07-28 Thread Roger Sayle
Hi Marc, Thanks for the feedback. After some quality time in gdb, I now appreciate that match.pd behaves (subtly) differently between generic and gimple, and the trees actually being passed to tree_nonzero_bits were not quite what I had expected. Sorry for my confusion, the revised patch below