Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170788 - Specific instruction set options
Summary: Specific instruction set options
Status: RESOLVED DUPLICATE of bug 170786
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 21:06 UTC by David Butler
Modified: 2007-03-13 21:19 UTC (History)
1 user (show)

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 David Butler 2007-03-13 21:06:24 UTC
You could add any of these (-mmmx -msse -msse2 -msse3 -m3dnow) to the CFLAGS if {cat /proc/cpuinfo | grep flags } has mmx, sse, sse2, sse3, 3dnow, respectively.  However one should note that if there is multiple sse flags that only the latest should be used. Furthermore -mfpmath=sse (or -mfpmath=sse,387 in future versions of gcc) should be set if the flags have any sse.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 21:19:20 UTC
Dupe.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 21:19:44 UTC

*** This bug has been marked as a duplicate of bug 170786 ***