Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452604 - CPU_FEATURES: move USE="mmx sse etc..." CPU features to USE expanded variable
Summary: CPU_FEATURES: move USE="mmx sse etc..." CPU features to USE expanded variable
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2013-01-16 20:47 UTC by Alexander Weber
Modified: 2021-09-03 10:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2013-01-16 20:47:14 UTC
It would be nice to goup and set cpu features as CPU_FEATURES="mmx sse sse2".
Can you please move the USE="mmx sse sse2" and others to an expanded use?
The second idea is to implement CPU_FEATURES="native" that auto-detects the features supported by local /proc/cpuinfo.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2013-01-16 21:46:56 UTC
don't know why this was bounced to me ...

i think this came up on gentoo-dev at some point.  if it didn't, that would be the place to post this idea.

CPU_FEATURES="native" might require PMS support
Comment 2 SpanKY gentoo-dev 2013-01-25 05:38:49 UTC
and it has indeed been argued a couple of times.  suggest you review those threads in the archives first before starting a new one so we don't waste time rehashing the same crap.

[gentoo-dev] [RFC] Adding CPUFLAGS USE_EXPAND variable to the profiles
From: Danny van Dyk <>
Date: 07.07.2006 10:20

[gentoo-dev] Replacing cpu-feature USE flags
From: Diego Pettenò <>
Date: 06.07.2006 06:52
Comment 3 Ulrich Müller gentoo-dev 2021-09-03 08:41:32 UTC
(In reply to SpanKY from comment #1)
> CPU_FEATURES="native" might require PMS support

Not going to happen anytime soon.
Comment 4 Alexander Weber 2021-09-03 10:41:26 UTC
Ah, this old issue ;-)

The current CPU_FLAGS implementation covers the reason, why I opened the issue.  
For "native" the app-portage/cpuid2cpuflags exists.

From my point of view this issue is solved.