[gcc r15-987] testsuite: Require vect_shift in gcc.dg/vect/pr112325.c [PR115303]
Rainer Orth
ro@gcc.gnu.org
Mon Jun 3 08:40:05 GMT 2024
https://gcc.gnu.org/g:2a616df8260aeabe00a28ea3870dba5577dbbe66
commit r15-987-g2a616df8260aeabe00a28ea3870dba5577dbbe66
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Mon Jun 3 10:39:34 2024 +0200
testsuite: Require vect_shift in gcc.dg/vect/pr112325.c [PR115303]
The new gcc.dg/vect/pr112325.c test FAILs on Solaris/SPARC:
FAIL: gcc.dg/vect/pr112325.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/pr112325.c scan-tree-dump-times vect "vectorized 1 loops" 1
As analyzed in the PR, the test requires vect_shift, so this patch adds
that requirement.
Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11.
2024-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR tree-optimization/115303
* gcc.dg/vect/pr112325.c: Require vect_shift.
Diff:
---
gcc/testsuite/gcc.dg/vect/pr112325.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/vect/pr112325.c b/gcc/testsuite/gcc.dg/vect/pr112325.c
index 71cf4099253..dea6cca3b86 100644
--- a/gcc/testsuite/gcc.dg/vect/pr112325.c
+++ b/gcc/testsuite/gcc.dg/vect/pr112325.c
@@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O3 -funroll-loops -fdump-tree-vect-details" } */
/* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_shift } */
/* { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } } */
typedef unsigned short ggml_fp16_t;
More information about the Gcc-cvs
mailing list