Re: [PATCH] tree-ssa-math-opts: Improve uaddc/usubc pattern matching [PR111209]

2023-08-29 Thread Richard Biener via Gcc-patches
On Tue, 29 Aug 2023, Jakub Jelinek wrote: > Hi! > > The uaddc/usubc usual matching is of the .{ADD,SUB}_OVERFLOW pair in the > middle, which adds/subtracts carry-in (from lower limbs) and computes > carry-out (to higher limbs). Before optimizations (unless user writes > it intentionally that way

[PATCH] tree-ssa-math-opts: Improve uaddc/usubc pattern matching [PR111209]

2023-08-29 Thread Jakub Jelinek via Gcc-patches
Hi! The uaddc/usubc usual matching is of the .{ADD,SUB}_OVERFLOW pair in the middle, which adds/subtracts carry-in (from lower limbs) and computes carry-out (to higher limbs). Before optimizations (unless user writes it intentionally that way already), all the steps look the same, but optimizatio