]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: i386: Skip gcc.target/i386/shift-gf2p8affine-2.c on Solaris with as
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 16 Dec 2025 12:02:04 +0000 (13:02 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 16 Dec 2025 12:02:04 +0000 (13:02 +0100)
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.

gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c

index c46af84bdccac2e85c44af09f700d1ad33f80162..b20eedc0818bee135eef432edec36aab2cb62d5f 100644 (file)
@@ -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>