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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <[email protected]>:

https://gcc.gnu.org/g:ec3d2c9ab854565ccde34e372b96faa712c516f1

commit r16-7882-gec3d2c9ab854565ccde34e372b96faa712c516f1
Author: liuhongt <[email protected]>
Date:   Tue Mar 3 18:49:37 2026 -0800

    Refine the testcase.

    > This testcase fails with binutils 2.35:
    vmovw is supported in binutils 2.38 and later, need
    /* { dg-require-effective-target avx512fp16 } */ to avoid errors.

    > ```
    > /tmp/ccf20y5C.s:20: Error: no such instruction: `vmovw xmm0,WORD PTR
.LC0[rip]'
    > /tmp/ccf20y5C.s:21: Error: no such instruction: `vmovw WORD PTR
[rbp-18],xmm0'
    > /tmp/ccf20y5C.s:22: Error: no such instruction: `vmovw xmm0,WORD PTR
[rbp-18]'
    > /tmp/ccf20y5C.s:23: Error: no such instruction: `vmovw WORD PTR
[rbp-20],xmm0'
    > /tmp/ccf20y5C.s:24: Error: no such instruction: `vmovw xmm0,WORD PTR
[rbp-18]'
    > /tmp/ccf20y5C.s:25: Error: no such instruction: `vmovw WORD PTR
[rbp-22],xmm0'
    > /tmp/ccf20y5C.s:26: Error: no such instruction: `vmovw xmm0,WORD PTR
[rbp-18]'
    > /tmp/ccf20y5C.s:27: Error: no such instruction: `vmovw WORD PTR
[rbp-24],xmm0'
    > /tmp/ccf20y5C.s:28: Error: no such instruction: `vmovw xmm0,WORD PTR
[rbp-18]'
    > /tmp/ccf20y5C.s:29: Error: no such instruction: `vmovw WORD PTR
[rbp-26],xmm0'
    > /tmp/ccf20y5C.s:30: Error: no such instruction: `vmovw xmm0,WORD PTR
[rbp-18]'
    > ```
    >
    > Thanks,
    > Andrew Pinski

    gcc/testsuite/ChangeLog:

            PR target/124335
            * gcc.target/i386/avx512fp16-pr124335.c: Require target
            avx512fp16 instead of avx512bw.

Reply via email to