Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133528
Collapse All | Expand All

(-)cnf/make.conf.ppc64.diff (-4 / +4 lines)
Lines 19-25 Link Here
19
 # before reporting errors to developers.
19
 # before reporting errors to developers.
20
 #
20
 #
21
-# Please refer to the GCC manual for a list of possible values.
21
-# Please refer to the GCC manual for a list of possible values.
22
+# -mtarget=<cpu-type> for PowerPC64 systems instructs the gcc compiler that
22
+# -mtune=<cpu-type> for PowerPC64 systems instructs the gcc compiler that
23
+# it can use instruction scheduling specific for that type of processor
23
+# it can use instruction scheduling specific for that type of processor
24
+# specified
24
+# specified
25
+#
25
+#
Lines 27-33 Link Here
27
+# to optimize your code for.   Code generated under those options will run best
27
+# to optimize your code for.   Code generated under those options will run best
28
+# on that processor.
28
+# on that processor.
29
+#
29
+#
30
+# -mcpu=<cpu-type>  and -mtarget=<cpu-type>  should both be specified
30
+# -mcpu=<cpu-type>  and -mtune=<cpu-type>  should both be specified
31
+#
31
+#
32
+# GCC 3.x supports many ppc64 processor types including: power3, power4,
32
+# GCC 3.x supports many ppc64 processor types including: power3, power4,
33
+# 970 (aka G5), and power5.
33
+# 970 (aka G5), and power5.
Lines 47-57 Link Here
47
+# good selection.
47
+# good selection.
48
+#
48
+#
49
+#Example CFLAGS setting
49
+#Example CFLAGS setting
50
+#CFLAGS="-O2 -pipe -mcpu=970 -mtarget=970 -maltivec -mabi=altivec"
50
+#CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
51
+#
51
+#
52
+#or
52
+#or
53
+#
53
+#
54
+#CFLAGS="-O2 -pipe -mcpu=power3 -mtarget=power3"
54
+#CFLAGS="-O2 -pipe -mcpu=power3 -mtune=power3"
55
 #
55
 #
56
 # If you set a CFLAGS above, then this line will set your default C++ flags to
56
 # If you set a CFLAGS above, then this line will set your default C++ flags to
57
 # the same settings.
57
 # the same settings.

Return to bug 133528