]> git.ipfire.org Git - thirdparty/gcc.git/commit
Match: Introduce mul based pattern for unsigned SAT_MUL
authorPan Li <pan2.li@intel.com>
Sat, 26 Jul 2025 08:32:08 +0000 (16:32 +0800)
committerPan Li <pan2.li@intel.com>
Tue, 29 Jul 2025 13:03:12 +0000 (21:03 +0800)
commita481f299b35085bf1b218eb36a77e8a571fb7662
tree8d0d3daa16ecda77d2c64bd34d80abd09989af0c
parent9c48cbb259851873397abc632422f3f44f253db0
Match: Introduce mul based pattern for unsigned SAT_MUL

Like widen_mul based pattern, we would like introduce the mul based
pattern as well.  The pattern is quite simple compares to the
widen_mul, thus add new instead of the for loop in match.pd.

gcc/ChangeLog:

* match.pd: Add mul based unsigned SAT_MUL.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/match.pd