commit: 1ff9afbfc252de95021e98ec64125e7136ac326f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 28 17:27:39 2015 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jan 28 17:48:19 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-news.git;a=commit;h=1ff9afbf
The news item for CPU_FLAGS_X86 introduction --- .../2015-01-28-cpu_flags_x86-introduction.en.txt | 45 ++++++++++++++++++++++ ...015-01-28-cpu_flags_x86-introduction.en.txt.asc | 19 +++++++++ 2 files changed, 64 insertions(+) diff --git a/2015/2015-01-28-cpu_flags_x86-introduction/2015-01-28-cpu_flags_x86-introduction.en.txt b/2015/2015-01-28-cpu_flags_x86-introduction/2015-01-28-cpu_flags_x86-introduction.en.txt new file mode 100644 index 0000000..158979b --- /dev/null +++ b/2015/2015-01-28-cpu_flags_x86-introduction/2015-01-28-cpu_flags_x86-introduction.en.txt @@ -0,0 +1,45 @@ +Title: CPU_FLAGS_X86 introduction +Author: Michał Górny <[email protected]> +Content-Type: text/plain +Posted: 2015-01-28 +Revision: 1 +News-Item-Format: 1.0 +Display-If-Keyword: amd64 ~amd64 x86 ~x86 + +The USE flags corresponding to the instruction sets and other features +specific to the x86 (amd64) architecture are being moved into a separate +USE flag group called CPU_FLAGS_X86. + +In order not to lose CPU-specific optimizations, users will be required +to update their make.conf (and package.use) file. For example, if +the following USE flags were present: + + USE="mmx mmxext sse sse2 sse3" + +Those flags need to be copied into: + + CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" + +Please note that the same CPU_FLAGS_X86 variable is used both on x86 +and amd64 systems. + +When in doubt, you can consult the flag descriptions using one of +the commonly available tools, e.g. `equery uses` from gentoolkit: + + $ equery uses media-video/ffmpeg + +Most of the flag names match /proc/cpuinfo names, with the notable +exception of SSE3 which is called 'pni' in /proc/cpuinfo (please also +do not confuse it with distinct SSSE3). + +To help users enable the correct USE flags, we are providing a Python +script that generates the correct value using /proc/cpuinfo. It can be +found in the app-portage/cpuinfo2cpuflags package: + + $ emerge -1v app-portage/cpuinfo2cpuflags + $ cpuinfo2cpuflags-x86 + +In order to ensure safe migration and maintain compatibility with +external repositories, it is recommended to preserve the old USE +settings for a period of one year or until no package of interest is +still using them. diff --git a/2015/2015-01-28-cpu_flags_x86-introduction/2015-01-28-cpu_flags_x86-introduction.en.txt.asc b/2015/2015-01-28-cpu_flags_x86-introduction/2015-01-28-cpu_flags_x86-introduction.en.txt.asc new file mode 100644 index 0000000..e2c40e8 --- /dev/null +++ b/2015/2015-01-28-cpu_flags_x86-introduction/2015-01-28-cpu_flags_x86-introduction.en.txt.asc @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQJ8BAABCgBmBQJUyRwzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZORNYQANMosac4yWbYKJR3P5qjjvjU +Xvcsim6LH6EKQd2p+XbKkTPg5WqO9r9xjJbp1h/tSpP8s076dXeqLyG1Cd3+8izE +R4hpkOGFCRqgrqz131gk5F9eAbLO4Muai7Xzf+oVLyW5zTgdYYz0TP+IMR0tfSOa +OVQNGBKo9Uj3Oboo9GeqcT+P/7ypUoaWAacs/05k0HYzuRuMNlbkJdqhoYsnkR5A +CbqAIgg9eb4QuSys88e7Db3eUJB4KGgcsG9d+qrLX+xeeqeUxrP8Kzy6hzbQweqT +Js3trYGbXZijyyKerTkXXRAdCEuTvp6fYWiS1yCNmJjmDhYnOzIuWFLoTovsrJAb +03l/5J2u+EbvTsmOwoHMGBSvHCusDf67/nKAIOKQ/6ZN13wzO5S3MBiIUSSrba5j +fSRculMGlP7UVMYlMYL0yAy+G1VLHxu+tmyE7Xslnu3nRZYOhQdmfCfQmIKz3knc +OsCE1PIJdlmbpFh4ekG/x9KO6LdQFSC0cn+/MP4wL1m1XHlij6lz0Ml1AgY3PnfR +KjJLCP6Wub+dC8gj9THFPbnlmAItOTU7wQN+lbmfNIYTK2a0rGHFQ3FaJ/bg/Cux +a2yd0wJ2RV1q30lp00fBAcTy+0EFHVwK9ACUe0yAelV+py+VX8+XA5BFF66R2Are +kWfbdAFaDeK0G/IH8mTk +=+GDP +-----END PGP SIGNATURE-----
