On Thu, Mar 21, 2024 at 10:26 AM Rainer Orth
<r...@cebitec.uni-bielefeld.de> wrote:
>
> 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.
>
> Ok for trunk?

OK, looks obvious to me.

Thanks,
Uros.

>
>         Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2024-03-19  Rainer Orth  <r...@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.
>

Reply via email to