Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 170788

Summary: Specific instruction set options
Product: Portage Development Reporter: David Butler <croepha>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***