c-ppc.texi revision 92828
1@c Copyright 2001, 2002
2@c Free Software Foundation, Inc.
3@c This is part of the GAS manual.
4@c For copying conditions, see the file as.texinfo.
5@ifset GENERIC
6@page
7@node PPC-Dependent
8@chapter PowerPC Dependent Features
9@end ifset
10@ifclear GENERIC
11@node Machine Dependencies
12@chapter PowerPC Dependent Features
13@end ifclear
14
15@cindex PowerPC support
16@menu
17* PowerPC-Opts::                Options
18@end menu
19
20@node PowerPC-Opts
21@section Options
22
23@cindex options for PowerPC
24@cindex PowerPC options
25@cindex architectures, PowerPC
26@cindex PowerPC architectures
27The PowerPC chip family includes several successive levels, using the same
28core instruction set, but including a few additional instructions at
29each level.  There are exceptions to this however.  For details on what
30instructions each variant supports, please see the chip's architecture
31reference manual.
32
33The following table lists all available PowerPC options.
34
35@table @code
36@item -mpwrx | -mpwr2
37Generate code for POWER/2 (RIOS2).
38
39@item -mpwr
40Generate code for POWER (RIOS1)
41
42@item -m601
43Generate code for PowerPC 601.
44
45@item -mppc, -mppc32, -m603, -m604
46Generate code for PowerPC 603/604.
47
48@item -m403, -m405
49Generate code for PowerPC 403/405.
50
51@item -m7400, -m7410, -m7450, -m7455
52Generate code for PowerPC 7400/7410/7450/7455.
53
54@item -mppc64, -m620
55Generate code for PowerPC 620/625/630.
56
57@item -mppc64bridge
58Generate code for PowerPC 64, including bridge insns.
59
60@item -mbooke64
61Generate code for 64-bit BookE.
62
63@item -mbooke, mbooke32
64Generate code for 32-bit BookE.
65
66@item -maltivec
67Generate code for processors with AltiVec instructions.
68
69@item -mpower4
70Generate code for Power4 architecture.
71
72@item -mcom
73Generate code Power/PowerPC common instructions.
74
75@item -many
76Generate code for any architecture (PWR/PWRX/PPC).
77
78@item -mregnames
79Allow symbolic names for registers.
80
81@item -mno-regnames
82Do not allow symbolic names for registers.
83
84@item -mrelocatable
85Support for GCC's -mrelocatble option.
86
87@item -mrelocatable-lib
88Support for GCC's -mrelocatble-lib option.
89
90@item -memb
91Set PPC_EMB bit in ELF flags.
92
93@item -mlittle, -mlittle-endian
94Generate code for a little endian machine.
95
96@item -mbig, -mbig-endian
97Generate code for a big endian machine.
98
99@item -msolaris
100Generate code for Solaris.
101
102@item -mno-solaris
103Do not generate code for Solaris.
104@end table
105