aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-10-02 08:41:30 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-10-02 08:44:15 +0200
commiteb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d (patch)
tree36481d4a2b62762768299f7a8e93c478f14cfc71 /gcc
parentb56dc0a9ac403891ddad8bce1d697ed7f5c365f7 (diff)
downloadgcc-eb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d.zip
gcc-eb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d.tar.gz
gcc-eb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c
index 53fa8eb..8b30384 100644
--- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c
+++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c
@@ -9,9 +9,10 @@
/* { dg-require-effective-target powerpc_vsx } */
/* Test for fully with length, the loop body uses vector access with length,
- there should not be any epilogues. */
+ there should not be any epilogues. Note for [u]int64_t and double we
+ can avoid peeling for gaps and do not require with-len. */
#include "p9-vec-length-8.h"
-/* { dg-final { scan-assembler-times {\mlxvl\M} 30 } } */
-/* { dg-final { scan-assembler-times {\mstxvl\M} 10 } } */
+/* { dg-final { scan-assembler-times {\mlxvl\M} 21 } } */
+/* { dg-final { scan-assembler-times {\mstxvl\M} 7 } } */