]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-vect-slp.c
re PR tree-optimization/79920 (Incorrect floating point results when compiling with...
authorRichard Biener <rguenther@suse.de>
Wed, 8 Mar 2017 08:50:01 +0000 (08:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 8 Mar 2017 08:50:01 +0000 (08:50 +0000)
commit61fdfd8c51a99f07b59706037cb2946bc793480c
tree4a053adac88e0139104fc2de519527bc7be891bd
parent4b48e88382ab6c37aa981881adac0390a74eaeaa
re PR tree-optimization/79920 (Incorrect floating point results when compiling with -O3)

2017-03-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79920
* tree-vect-slp.c (vect_create_mask_and_perm): Remove and inline
with ncopies == 1 to ...
(vect_transform_slp_perm_load): ... here.  Properly compute
all element loads by iterating VF times over the group.  Do
not handle ncopies (computed in a broken way) in
vect_create_mask_and_perm.

* gcc.dg/vect/pr79920.c: New testcase.

From-SVN: r245968
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr79920.c [new file with mode: 0644]
gcc/tree-vect-slp.c