]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/84201 - add --param vect-induction-float
authorRichard Biener <rguenther@suse.de>
Tue, 8 Mar 2022 11:07:07 +0000 (12:07 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 8 Mar 2022 14:57:50 +0000 (15:57 +0100)
commit058d19b42ad4c4c22635f70db6913a80884aedec
tree132a35c433f10840e076458499896e86ef4bc9ca
parent7cce7b1c3d829172eb7f232e71ad194a0ad51931
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.
gcc/doc/invoke.texi
gcc/params.opt
gcc/testsuite/gcc.dg/vect/pr84201.c [new file with mode: 0644]
gcc/tree-vect-loop.cc