diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2020-12-08 13:40:45 +0100 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2020-12-08 13:40:45 +0100 |
commit | 6a789a9e2dfcb6de4ce12b6035c954f346914f53 (patch) | |
tree | f1a05abe214a30fb842365d1a366b6b4d6e68b1a /gcc | |
parent | 4fdbd24f7e9952dcf1fe9e434f0a07b72c0e12f3 (diff) | |
download | gcc-6a789a9e2dfcb6de4ce12b6035c954f346914f53.zip gcc-6a789a9e2dfcb6de4ce12b6035c954f346914f53.tar.gz gcc-6a789a9e2dfcb6de4ce12b6035c954f346914f53.tar.bz2 |
testsuite: i386: Require avx512vpopcntdq in two tests
Two recent AVX512 tests FAIL on Solaris/x86 with /bin/as:
FAIL: gcc.target/i386/avx512vpopcntdq-pr97770-2.c (test for excess errors)
Excess errors:
Assembler: avx512vpopcntdq-pr97770-2.c
"/var/tmp//ccM4Gt1a.s", line 171 : Illegal mnemonic
Near line: " vpopcntd (%eax), %zmm0"
"/var/tmp//ccM4Gt1a.s", line 171 : Syntax error
Near line: " vpopcntd (%eax), %zmm0"
FAIL: gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c (test for excess errors)
similarly.
Fixed as follows.
Tested on i386-pc-solaris2.11 with as and gas and x86_64-pc-linux-gnu.
2020-12-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
* gcc.target/i386/avx512vpopcntdq-pr97770-2.c: Require
avx512vpopcntdq support.
* gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c: Require
avx512vpopcntdq, avx512vl support.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c b/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c index 339dc29..f9d0578 100644 --- a/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2 -mavx512vpopcntdq" } */ +/* { dg-require-effective-target avx512vpopcntdq } */ #define AVX512VPOPCNTDQ diff --git a/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c b/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c index 7a34f15..df4c23c 100644 --- a/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c @@ -1,5 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O3 -mavx512vpopcntdq -mavx512vl" } */ +/* { dg-require-effective-target avx512vpopcntdq } */ +/* { dg-require-effective-target avx512vl } */ #define AVX512VL #define AVX512F_LEN 256 |