public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114150] New: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL
@ 2024-02-28 13:27 ro at gcc dot gnu.org
  2024-03-22  8:55 ` [Bug target/114150] " cvs-commit at gcc dot gnu.org
  2024-03-22  8:56 ` ro at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-28 13:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114150

            Bug ID: 114150
           Summary: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: ubizjak at gmail dot com
  Target Milestone: ---
            Target: i?86-pc-solaris2.11, amd64-pc-solaris2.11

Two tests FAIL on 32 and 64-bit Solaris/x86 with the native asembler in use:

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"

I suspect this is just an as bug.

While I thought about adding tests for the two vpbroadcastm* insns to
check_effective_target_avx512cd to guard against this, it's probably best to
just xfail the tests on Solaris/x86 with as, especially since the native
assembler isn't seeing any more fixes these days.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/114150] gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL
  2024-02-28 13:27 [Bug target/114150] New: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL ro at gcc dot gnu.org
@ 2024-03-22  8:55 ` cvs-commit at gcc dot gnu.org
  2024-03-22  8:56 ` ro at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-03-22  8:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114150

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:

https://gcc.gnu.org/g:3d406af2008a19914305966dddbc02ae980b8cd7

commit r14-9611-g3d406af2008a19914305966dddbc02ae980b8cd7
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Fri Mar 22 09:55:03 2024 +0100

    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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/114150] gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL
  2024-02-28 13:27 [Bug target/114150] New: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL ro at gcc dot gnu.org
  2024-03-22  8:55 ` [Bug target/114150] " cvs-commit at gcc dot gnu.org
@ 2024-03-22  8:56 ` ro at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2024-03-22  8:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114150

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2024-March/6
                   |                            |48140.html
   Target Milestone|---                         |14.0
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |ro at gcc dot gnu.org

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
Fixed for GCC 14.0.1.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-22  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 13:27 [Bug target/114150] New: gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c etc. FAIL ro at gcc dot gnu.org
2024-03-22  8:55 ` [Bug target/114150] " cvs-commit at gcc dot gnu.org
2024-03-22  8:56 ` ro at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).