aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-03-08 12:07:07 +0100
committerRichard Biener <rguenther@suse.de>2022-03-08 15:57:50 +0100
commit058d19b42ad4c4c22635f70db6913a80884aedec (patch)
tree132a35c433f10840e076458499896e86ef4bc9ca /gcc/doc
parent7cce7b1c3d829172eb7f232e71ad194a0ad51931 (diff)
downloadgcc-058d19b42ad4c4c22635f70db6913a80884aedec.zip
gcc-058d19b42ad4c4c22635f70db6913a80884aedec.tar.gz
gcc-058d19b42ad4c4c22635f70db6913a80884aedec.tar.bz2
tree-optimization/84201 - add --param vect-induction-float
This adds a --param to allow disabling of vectorization of floating point inductions. Ontop of -Ofast this should allow 549.fotonik3d_r to not miscompare. 2022-03-08 Richard Biener <rguenther@suse.de> PR tree-optimization/84201 * params.opt (-param=vect-induction-float): Add. * doc/invoke.texi (vect-induction-float): Document. * tree-vect-loop.cc (vectorizable_induction): Honor param_vect_induction_float. * gcc.dg/vect/pr84201.c: New testcase.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b01ffab..a0fa5e1 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14989,6 +14989,9 @@ in an inner loop relative to the loop being vectorized. The factor applied
is the maximum of the estimated number of iterations of the inner loop and
this parameter. The default value of this parameter is 50.
+@item vect-induction-float
+Enable loop vectorization of floating point inductions.
+
@item avoid-fma-max-bits
Maximum number of bits for which we avoid creating FMAs.