diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2024-03-22 09:55:03 +0100 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2024-03-22 09:55:03 +0100 |
commit | 3d406af2008a19914305966dddbc02ae980b8cd7 (patch) | |
tree | bad1e1a08df627061bfadea14137744e5b7d00fc /gcc | |
parent | ddd4a3ca87410886b039cc225907b4f6e650082e (diff) | |
download | gcc-3d406af2008a19914305966dddbc02ae980b8cd7.zip gcc-3d406af2008a19914305966dddbc02ae980b8cd7.tar.gz gcc-3d406af2008a19914305966dddbc02ae980b8cd7.tar.bz2 |
testsuite: i386: Skip gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. with Solaris as [PR114150]
Two avx512cd tests FAIL to assemble with the Solaris/x86 assembler:
FAIL: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c (test for excess errors)
UNRESOLVED: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c compilation failed
to produce executable
FAIL: gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c (test for excess errors)
UNRESOLVED: gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c compilation failed
to produce executable
Excess errors:
Assembler: avx512cd-vpbroadcastmb2q-2.c
"/var/tmp//ccs_9lod.s", line 42 : Invalid instruction argument
Near line: " vpbroadcastmb2q %k0, %zmm0"
Assembler: avx512cd-vpbroadcastmw2d-2.c
"/var/tmp//ccevT6Rd.s", line 35 : Invalid instruction argument
Near line: " vpbroadcastmw2d %k0, %zmm0"
This seems to be an as bug, but given that this rarely if ever gets any
fixes these days, this test just skips the affected tests.
Adjuststing check_effective_target_avx512cd instead doesn't seem
sensible since it would disable quite a number of working tests.
Tested on i386-pc-solaris2.11 (as and gas) and x86_64-pc-linux-gnu.
2024-03-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR target/114150
* gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c: Skip on
Solaris/x86 with as.
* gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c b/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c index 2e0a082..b2266be 100644 --- a/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -mavx512cd" } */ /* { dg-require-effective-target avx512cd } */ +/* { dg-skip-if "PR target/114150" { *-*-solaris2.* && { ! gas } } } */ #define HAVE_512 #define AVX512CD diff --git a/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c b/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c index f4bd7e7..5639764 100644 --- a/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -mavx512cd" } */ /* { dg-require-effective-target avx512cd } */ +/* { dg-skip-if "PR target/114150" { *-*-solaris2.* && { ! gas } } } */ #define HAVE_512 #define AVX512CD |