[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-20 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Oct 20 15:12:37 2015 New Revision: 229082 URL: https://gcc.gnu.org/viewcvs?rev=229082&root=gcc&view=rev Log: Properly handle -miamcu and -march=lakemont -miamcu specifies how

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #8 from H.J. Lu --- (In reply to Uroš Bizjak from comment #7) > Created attachment 36517 [details] > V2 patch that introduces PTA_NO_80387 We need some testcases to verify it works on command line as well as with __attribute__((targe

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-15 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 Uroš Bizjak changed: What|Removed |Added Attachment #36516|0 |1 is obsolete|

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-15 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #6 from Uroš Bizjak --- Created attachment 36516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36516&action=edit Patch that introduces PTA_NO_80387

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-15 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #5 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #4) > I have a patch that moves -m80387 to ISA flags. Not really. To be attached much simpler patch introduces PTA_NO_80387 and changes target flags instead.

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-15 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #4 from Uroš Bizjak --- I have a patch that moves -m80387 to ISA flags.

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-14 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #3 from Yulia Koval --- Patch posted at: https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01369.html The same test with this patch: objdump -d test.o test.o: file format elf32-i386 Disassembly of section .text: : 0

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #2 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > (In reply to H.J. Lu from comment #0) > > We should issue an error if -march=lakemont is used without -miacmu. > > We should issue an error if -march=lakemont is used withou

[Bug target/67963] -march=lakemont generates x87 instructions

2015-10-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963 --- Comment #1 from H.J. Lu --- (In reply to H.J. Lu from comment #0) > We should issue an error if -march=lakemont is used without -miacmu. We should issue an error if -march=lakemont is used without -mno-80387, not without -miamcu.