IBM Z: ldist-{rawmemchr,strlen} tests require vector extensions
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Tue, 2 Nov 2021 14:54:08 +0000 (15:54 +0100)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Tue, 2 Nov 2021 14:54:08 +0000 (15:54 +0100)
commit64bf0c835f8918adf7e4140a04ac79c2963204aa
tree8270b6f042f44252e6e231aec5483dd14b6cb38f
parent6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1
IBM Z: ldist-{rawmemchr,strlen} tests require vector extensions

The tests require vector extensions which are only available for z13 and
later while using the z/Architecture.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/ldist-rawmemchr-1.c: For IBM Z set arch to z13
and use z/Architecture since the tests require vector extensions.
* gcc.dg/tree-ssa/ldist-rawmemchr-2.c: Likewise.
* gcc.dg/tree-ssa/ldist-strlen-1.c: Likewise.
* gcc.dg/tree-ssa/ldist-strlen-3.c: Likewise.
gcc/testsuite/gcc.dg/tree-ssa/ldist-rawmemchr-1.c
gcc/testsuite/gcc.dg/tree-ssa/ldist-rawmemchr-2.c
gcc/testsuite/gcc.dg/tree-ssa/ldist-strlen-1.c
gcc/testsuite/gcc.dg/tree-ssa/ldist-strlen-3.c