vect: disable bitmask tests on sparc

These testcases declare requiring vect_int which sparc declares as well however
sparc doesn't have an optab to vectorize comparisons so these testcases fail to
vectorize and so the tests fail.

As such best coure of action is to just skip them on sparc as comparisons are
somewhat expected from a target that can do SIMD.

gcc/testsuite/ChangeLog:

	PR tree-optimization/104755
	* gcc.dg/vect/vect-bic-bitmask-10.c: Disable sparc.
	* gcc.dg/vect/vect-bic-bitmask-11.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-12.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-2.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-23.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-3.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-4.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-5.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-6.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-8.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-9.c: Likewise.
This commit is contained in:
Tamar Christina 2022-03-08 11:32:59 +00:00
parent da2667cb02
commit 5f07095d22
11 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do assemble } */
/* { dg-additional-options "-O3 -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do assemble } */
/* { dg-additional-options "-O1 -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
/* { dg-do run } */
/* { dg-additional-options "-O3 -save-temps -fdump-tree-dce -w" } */