Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225229 - sys-devel/gcc: Intel optimization
Summary: sys-devel/gcc: Intel optimization
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 15:47 UTC by wbrana
Modified: 2008-06-07 15:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wbrana 2008-06-07 15:47:55 UTC
gcc optimizes for AMD by default on x86_64.
If Intel CPU is detected gcc could be built with
--with-arch=nocona --with-tune=nocona (up to 4.2)
or --with-arch=core2 --with-tune=core2 (4.3 and later)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-07 15:49:42 UTC
That is precisely what CFLAGS is for. Maybe even what Gentoo is for. :)