https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102491
Bug ID: 102491 Summary: [12 Regression] Assembler messages: Error: no such instruction: `vmovw %xmm0,%eax' Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: assemble-failure, wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu GNU as 2.37 emits the following error: /tmp/ccp9YvMM.s: Assembler messages: /tmp/ccp9YvMM.s:279: Error: no such instruction: `vmovw %xmm0,%eax' when compiling the following testcase w/ gcc-12.0.0-alpha20210919 snapshot (g:32731fa5b0abf092029b8e2be64319b978bda514) w/ -march=sapphirerapids -O1 -funroll-loops: int x; __attribute__ ((simd)) short int foo (void) { x = 0; return 0; }