1 |
Signed-off-by: Georgy Yakovlev <gyakovlev@g.o> |
2 |
--- |
3 |
...19-09-11-cpu_flags_ppc-introduction.en.txt | 38 +++++++++++++++++++ |
4 |
1 file changed, 38 insertions(+) |
5 |
create mode 100644 2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt |
6 |
|
7 |
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 |
8 |
new file mode 100644 |
9 |
index 0000000..a4a4ee5 |
10 |
--- /dev/null |
11 |
+++ b/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt |
12 |
@@ -0,0 +1,38 @@ |
13 |
+Title: new CPU_FLAGS_PPC USE_EXPAND |
14 |
+Author: Georgy Yakovlev <gyakovlev@g.o> |
15 |
+Posted: 2019-09-11 |
16 |
+Revision: 1 |
17 |
+News-Item-Format: 2.0 |
18 |
+Display-If-Keyword: ~ppc |
19 |
+Display-If-Keyword: ~ppc64 |
20 |
+Display-If-Keyword: ppc |
21 |
+Display-If-Keyword: ppc64 |
22 |
+ |
23 |
+ |
24 |
+A new set of CPU_FLAGS_PPC USE_EXPAND flags has been added. |
25 |
+The flags are: |
26 |
+ |
27 |
+ altivec - Use the AltiVec/VMX instruction set |
28 |
+ vsx - Use the Vector Scalar Extension instruction set |
29 |
+ vsx3 - Use the Vector Scalar Extension v.3 instruction set |
30 |
+ |
31 |
+Note that CPU_FLAGS_PPC variable is used on ppc and ppc64 architectures. |
32 |
+ |
33 |
+In order to transition to new set of flags, if the following flag was |
34 |
+was present: |
35 |
+ |
36 |
+ USE="altivec" |
37 |
+ |
38 |
+This flag needs to be set as: |
39 |
+ |
40 |
+ CPU_FLAGS_PPC="altivec" |
41 |
+ |
42 |
+It's advised to keep 'altivec' USE flag enabled to ensure safe |
43 |
+migration and compatibility with external repositories. |
44 |
+'vsx' and 'vsx3' are new flags and no migration necessary. |
45 |
+ |
46 |
+To help users enable the correct USE_EXPAND flags PPC support has been |
47 |
+added to app-portage/cpuid2cpuflags package: |
48 |
+ |
49 |
+ # emerge -1v >=app-portage/cpuid2cpuflags-7 |
50 |
+ $ cpuid2cpuflags |
51 |
-- |
52 |
2.23.0 |