Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] data/gentoo-news:master commit in: 2019-09-11-cpu_flags_ppc-introduction/
Date: Mon, 16 Sep 2019 01:27:56
Message-Id: 1568597227.51976ca549f077ef6daa1a49c7a0a80e21601f94.gyakovlev@gentoo
1 commit: 51976ca549f077ef6daa1a49c7a0a80e21601f94
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 16 01:23:14 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 16 01:27:07 2019 +0000
6 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=51976ca5
7
8 2019-09-11-cpu_flags_ppc-introduction: new item
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 .../2019-09-11-cpu_flags_ppc-introduction.en.txt | 38 ++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14
15 diff --git a/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt b/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt
16 new file mode 100644
17 index 0000000..a4a4ee5
18 --- /dev/null
19 +++ b/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt
20 @@ -0,0 +1,38 @@
21 +Title: new CPU_FLAGS_PPC USE_EXPAND
22 +Author: Georgy Yakovlev <gyakovlev@g.o>
23 +Posted: 2019-09-11
24 +Revision: 1
25 +News-Item-Format: 2.0
26 +Display-If-Keyword: ~ppc
27 +Display-If-Keyword: ~ppc64
28 +Display-If-Keyword: ppc
29 +Display-If-Keyword: ppc64
30 +
31 +
32 +A new set of CPU_FLAGS_PPC USE_EXPAND flags has been added.
33 +The flags are:
34 +
35 + altivec - Use the AltiVec/VMX instruction set
36 + vsx - Use the Vector Scalar Extension instruction set
37 + vsx3 - Use the Vector Scalar Extension v.3 instruction set
38 +
39 +Note that CPU_FLAGS_PPC variable is used on ppc and ppc64 architectures.
40 +
41 +In order to transition to new set of flags, if the following flag was
42 +was present:
43 +
44 + USE="altivec"
45 +
46 +This flag needs to be set as:
47 +
48 + CPU_FLAGS_PPC="altivec"
49 +
50 +It's advised to keep 'altivec' USE flag enabled to ensure safe
51 +migration and compatibility with external repositories.
52 +'vsx' and 'vsx3' are new flags and no migration necessary.
53 +
54 +To help users enable the correct USE_EXPAND flags PPC support has been
55 +added to app-portage/cpuid2cpuflags package:
56 +
57 + # emerge -1v >=app-portage/cpuid2cpuflags-7
58 + $ cpuid2cpuflags