https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82196
Bug ID: 82196 Summary: -mcall-ms2sysv-xlogues stubs sometimes use wrong MOV instruction Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Target: x86_64-*-* The test for rather we use movaps or vmovaps is in libgcc/config/i386/i386-asm.h and tests the cpp macros __SSE2__ and __AVX__, which is an error. This results in at least one situation where movaps is used when vmovaps is available on the build target. I would presume that the alternative condition can exist which would result in a bad opcode.