[Bug target/102491] [12 Regression] Assembler messages: Error: no such instruction: `vmovw %xmm0,%eax'

2021-09-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102491

H.J. Lu  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from H.J. Lu  ---
Binutils 2.38 is needed for AVX512FP16.

[Bug target/102491] [12 Regression] Assembler messages: Error: no such instruction: `vmovw %xmm0,%eax'

2021-09-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102491

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek  ---
I don't see a bug here.  If you enable AVX512FP16 or -march which implies it,
you need binutils that support such ISA.  At least on x86 GCC has behaved that
way for years with new ISAs, there intentionally is not a strict detection on
which ISAs the assembler can handle, because the binutils used at compile time
could be newer than binutils used at compiler configure time.
I think AVX512FP16 support went into binutils in early August this year, while
2.37 is from mid July.