]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: tree-ssa: Limit targets for vec perm tests
authorChristoph Müllner <christoph.muellner@vrull.eu>
Thu, 21 Nov 2024 15:53:49 +0000 (16:53 +0100)
committerChristoph Müllner <christoph.muellner@vrull.eu>
Thu, 21 Nov 2024 19:18:50 +0000 (20:18 +0100)
commitae0d842f3e7a119b21a000824b10920614088684
tree5dcc2b8f313139689e77ce28a04bfc304b1c6b72
parent819f67a2f633d2000f09119f0e19b784ea0a4bd8
testsuite: tree-ssa: Limit targets for vec perm tests

Recently added test cases assume optimized code generation for certain
vectorized code.  However, this optimization might not be applied if
the backends don't support the optimized permuation.

The tests are confirmed to work on aarch64 and x86-64, so this
patch restricts the tests accordingly.

Tested on x86-64.

PR117728

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/satd-hadamard.c: Restrict to aarch64 and x86-64.
* gcc.dg/tree-ssa/vector-8.c: Likewise.
* gcc.dg/tree-ssa/vector-9.c: Likewise.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/testsuite/gcc.dg/tree-ssa/satd-hadamard.c
gcc/testsuite/gcc.dg/tree-ssa/vector-8.c
gcc/testsuite/gcc.dg/tree-ssa/vector-9.c