[Bug target/48743] -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"

2011-06-16 Thread gcc.gnu.org at stellar dot eclipse.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48743 --- Comment #5 from Joe Stroller 2011-06-16 15:10:30 UTC --- (In reply to comment #4) > Does this solve your problem? Yes! Thank you, Mikael, and apologies for not testing sooner. The fix in attachment 24326 works perfectly. I tested it on gcc

[Bug target/48743] -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"

2011-04-23 Thread gcc.gnu.org at stellar dot eclipse.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48743 --- Comment #2 from Joe Stroller 2011-04-23 21:14:26 UTC --- Created attachment 24086 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24086 Raw output from Todd Allen's cpuid utility Raw output also attached. I think the AMD document "AMD P

[Bug target/48743] -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"

2011-04-23 Thread gcc.gnu.org at stellar dot eclipse.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48743 --- Comment #1 from Joe Stroller 2011-04-23 21:12:35 UTC --- Created attachment 24085 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24085 Output from Todd Allen's cpuid utility Todd Allen's cpuid utility detects this CPU correctly. http://

[Bug target/48743] New: -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"

2011-04-23 Thread gcc.gnu.org at stellar dot eclipse.co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48743 Summary: -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction" Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal