https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963
Bug ID: 67963 Summary: -march=lakemont generates x87 instructions Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: julia.koval at intel dot com, ubizjak at gmail dot com Target Milestone: --- [hjl@gnu-6 gcc]$ cat x.c float foo (void) { return 0; } [hjl@gnu-6 gcc]$ ./xgcc -B./ -march=lakemont -S x.c -m32 [hjl@gnu-6 gcc]$ cat x.s .file "x.c" .text .globl foo .type foo, @function foo: .LFB0: .cfi_startproc pushl %ebp .cfi_def_cfa_offset 8 .cfi_offset 5, -8 movl %esp, %ebp .cfi_def_cfa_register 5 fldz popl %ebp .cfi_restore 5 .cfi_def_cfa 4, 4 ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (GNU) 6.0.0 20151006 (experimental)" .section .note.GNU-stack,"",@progbits [hjl@gnu-6 gcc]$ We should issue an error if -march=lakemont is used without -miacmu.