]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite/116654 - adjust gcc.target/powerpc/p9-vec-length-full-8.c
authorRichard Biener <rguenther@suse.de>
Wed, 2 Oct 2024 06:41:30 +0000 (08:41 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Oct 2024 06:44:15 +0000 (08:44 +0200)
commiteb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d
tree36481d4a2b62762768299f7a8e93c478f14cfc71
parentb56dc0a9ac403891ddad8bce1d697ed7f5c365f7
testsuite/116654 - adjust gcc.target/powerpc/p9-vec-length-full-8.c

gcc.target/powerpc/p9-vec-length-full-8.c was expecting all loops to
use -with-len fully masked vectorization to avoid epilogues because
the loops needed peeling for gaps.  With SLP we have improved things
here and the loops using V2D[IF]mode no longer need peeling for gaps
since the target can compose those vectors from two scalars and
in turn we generate better code and not need an epilogue either
(the iteration count divides by the VF).

PR testsuite/116654
* gcc.target/powerpc/p9-vec-length-full-8.c: Adjust.
gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c