| Summary: | Specific instruction set options | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | David Butler <croepha> |
| Component: | Tools | Assignee: | 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: | --- | |
Dupe. *** This bug has been marked as a duplicate of bug 170786 *** |
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.