aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-11-17 09:43:31 +0100
committerRichard Biener <rguenther@suse.de>2022-11-18 08:37:23 +0100
commitc5df8392c5848c0462558f41cdf6eab31db301cf (patch)
tree6b85c07744f373070b696c17c2d72d05314c1db2 /libcpp
parentf0024bfb228f94e60e06dc32a4983e40a9b90be5 (diff)
downloadgcc-c5df8392c5848c0462558f41cdf6eab31db301cf.zip
gcc-c5df8392c5848c0462558f41cdf6eab31db301cf.tar.gz
gcc-c5df8392c5848c0462558f41cdf6eab31db301cf.tar.bz2
tree-optimization/107647 - avoid FMA from SLP with -ffp-contract=off
Only with -ffp-contract=fast we can synthesize FMA operations like vfmaddsub231ps, so properly guard the transform in SLP pattern detection. PR tree-optimization/107647 * tree-vect-slp-patterns.cc (addsub_pattern::recognize): Only allow FMA generation with -ffp-contract=fast for FP types. (complex_mul_pattern::matches): Likewise. * gcc.target/i386/pr107647.c: New testcase.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions