This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50505] gcc-4.6.1 doesn't use "-mtune=k8-sse3" when using "-march=native"
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Sep 2011 14:17:43 +0000
- Subject: [Bug target/50505] gcc-4.6.1 doesn't use "-mtune=k8-sse3" when using "-march=native"
- Auto-submitted: auto-generated
- References: <bug-50505-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50505
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-09-24 14:17:43 UTC ---
-mtune= accepts the same CPU names as -march=, and while (currently) there is
no difference between k8 and k8-sse3 tuning, for -march= it makes a difference
(-march=k8-sse3 is essentially -march=k8 -msse3). But -march=native or
-mtune=native is expanded by the driver which knows very well the underlying
compiler and knows those two are the same thing. If k8-sse3 tuning ever does
something different than k8 tuning, the driver would be obviously adjusted to
reflect that.