]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: tree-ssa: Fix i686/-m32 fails for vector-*.c tests
authorChristoph Müllner <christoph.muellner@vrull.eu>
Fri, 20 Dec 2024 15:06:07 +0000 (16:06 +0100)
committerChristoph Müllner <christoph.muellner@vrull.eu>
Fri, 20 Dec 2024 20:05:05 +0000 (21:05 +0100)
commit0dc35fe5a095d9205da80cba976357cb71f8cb88
tree200cec62f2e5af74e06f62afe80031f95ebad173
parent7c50564627e42c619cc64c09cce8a42fd7932166
testsuite: tree-ssa: Fix i686/-m32 fails for vector-*.c tests

FAILs have been reported for several tree-ssa vector-*.c tests
on i686-linux or on x86_64-linux with -m32.
This patch addresses these fails by setting the necessary -msse2 flags.

This patch also streamlines all tests to use dg-options instead
of dg-additional-options.  This is in line with most other tests
in gcc.dg/tree-ssa.

Tested with the following board config in RUNTESTFLAGS:
  --target_board=unix\{-m64,-m32,-m32/-mno-mmx/-mno-sse}

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/satd-hadamard.c: Rename dg-additional-options
to dg-options.
* gcc.dg/tree-ssa/vector-10.c: Rename dg-additional-options
to dg-options and add -msse2 to it.
* gcc.dg/tree-ssa/vector-11.c: Likewise.
* gcc.dg/tree-ssa/vector-8.c: Rename dg-additional-options
to dg-options.
* 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-10.c
gcc/testsuite/gcc.dg/tree-ssa/vector-11.c
gcc/testsuite/gcc.dg/tree-ssa/vector-8.c
gcc/testsuite/gcc.dg/tree-ssa/vector-9.c