Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170786 - app-portage/genflags - specific instruction set options
Summary: app-portage/genflags - specific instruction set options
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 170788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-13 21:06 UTC by David Butler
Modified: 2007-04-01 20:09 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:23 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 SpanKY gentoo-dev 2007-03-13 21:13:05 UTC
no, you should not set -mfpmath=sse
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 21:19:44 UTC
*** Bug 170788 has been marked as a duplicate of this bug. ***
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-01 20:09:58 UTC
No. your -march options will apply the correct -m{mmx*,sse*,3dnow*} options automatically.