[gcc r16-6163] testsuite: i386: Skip gcc.target/i386/shift-gf2p8affine-2.c on Solaris with as
Rainer Orth
ro@gcc.gnu.org
Tue Dec 16 12:02:37 GMT 2025
https://gcc.gnu.org/g:13b9564e8ffca44279cd5e4877048a95fcebf8f4
commit r16-6163-g13b9564e8ffca44279cd5e4877048a95fcebf8f4
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Tue Dec 16 13:02:04 2025 +0100
testsuite: i386: Skip gcc.target/i386/shift-gf2p8affine-2.c on Solaris with as
The gcc.target/i386/shift-gf2p8affine-2.c test FAILs on Solaris with the
native assembler:
FAIL: gcc.target/i386/shift-gf2p8affine-2.c (test for excess errors)
UNRESOLVED: gcc.target/i386/shift-gf2p8affine-2.c compilation failed to produce executable
Excess errors:
Assembler: shift-gf2p8affine-2.c
"/var/tmp//ccZMQ1Ad.s", line 30 : Illegal mnemonic
Near line: " vgf2p8affineqb $0, %zmm1, %zmm0, %zmm0"
"/var/tmp//ccZMQ1Ad.s", line 30 : Syntax error
Thus this patch only runs the test when gas is in use.
Tested on i386-pc-solaris2.11 (as and gas) and x86_64-pc-linux-gnu.
2025-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
* gcc.target/i386/shift-gf2p8affine-2.c: Skip on Solaris
without gas.
Diff:
---
gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c
index c46af84bdcca..b20eedc0818b 100644
--- a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c
+++ b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -Wno-shift-count-negative -march=x86-64 -mtune=generic" } */
+/* { dg-skip-if "Assembler support missing" { *-*-solaris2.* && { ! gas } } } */
#include <string.h>
More information about the Gcc-cvs
mailing list