Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456886 - sse4_1 and sse41 USE flags should be converged
Summary: sse4_1 and sse41 USE flags should be converged
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 02:29 UTC by kfm
Modified: 2013-02-12 05:04 UTC (History)
2 users (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 kfm 2013-02-12 02:29:20 UTC
Having both "sse4_1" and "sse41" flags to target SSE 4.1 (a subset of SSE4) is unnecessary. Please consider dropping one in favour of the other.

$ grep -h 'sse4.*' /usr/portage/profiles/use.*
media-libs/freeverb3:sse4 - Enable SSE4 support
media-libs/libvpx:sse4_1 - Enable optimization for SSE4_1 capable processors (Intel Core 2 Penryn and later chips)
net-misc/bfgminer:sse4 - Enable support for CPU SSE4 mining algorithm
net-misc/cgminer:sse4 - Enable support for CPU SSE4 mining algorithm
sci-chemistry/gromacs:sse41 - Enable sse4.1 acceleration
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2013-02-12 04:02:56 UTC
I guess sse4_1 as in /proc/cpuinfo is more logical.

However, is sse4 = sse4_1 + sse4_2 ?
Comment 2 kfm 2013-02-12 05:04:59 UTC
Yes, SSE 4 encompasses both SSE 4.1 and SSE 4.2. SSE 4.1 was introduced in Penryn, whereas SSE 4.2 was introduced in Nehalem, thus constituting the complete SSE 4 instruction set.