This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82196] New: -mcall-ms2sysv-xlogues stubs sometimes use wrong MOV instruction
- From: "daniel.santos at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Sep 2017 21:39:00 +0000
- Subject: [Bug target/82196] New: -mcall-ms2sysv-xlogues stubs sometimes use wrong MOV instruction
- Auto-submitted: auto-generated
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.