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
|
---|
27 | The PowerPC chip family includes several successive levels, using the same
|
---|
28 | core instruction set, but including a few additional instructions at
|
---|
29 | each level. There are exceptions to this however. For details on what
|
---|
30 | instructions each variant supports, please see the chip's architecture
|
---|
31 | reference manual.
|
---|
32 |
|
---|
33 | The following table lists all available PowerPC options.
|
---|
34 |
|
---|
35 | @table @code
|
---|
36 | @item -mpwrx | -mpwr2
|
---|
37 | Generate code for POWER/2 (RIOS2).
|
---|
38 |
|
---|
39 | @item -mpwr
|
---|
40 | Generate code for POWER (RIOS1)
|
---|
41 |
|
---|
42 | @item -m601
|
---|
43 | Generate code for PowerPC 601.
|
---|
44 |
|
---|
45 | @item -mppc, -mppc32, -m603, -m604
|
---|
46 | Generate code for PowerPC 603/604.
|
---|
47 |
|
---|
48 | @item -m403, -m405
|
---|
49 | Generate code for PowerPC 403/405.
|
---|
50 |
|
---|
51 | @item -m7400, -m7410, -m7450, -m7455
|
---|
52 | Generate code for PowerPC 7400/7410/7450/7455.
|
---|
53 |
|
---|
54 | @item -mppc64, -m620
|
---|
55 | Generate code for PowerPC 620/625/630.
|
---|
56 |
|
---|
57 | @item -mppc64bridge
|
---|
58 | Generate code for PowerPC 64, including bridge insns.
|
---|
59 |
|
---|
60 | @item -mbooke64
|
---|
61 | Generate code for 64-bit BookE.
|
---|
62 |
|
---|
63 | @item -mbooke, mbooke32
|
---|
64 | Generate code for 32-bit BookE.
|
---|
65 |
|
---|
66 | @item -maltivec
|
---|
67 | Generate code for processors with AltiVec instructions.
|
---|
68 |
|
---|
69 | @item -mpower4
|
---|
70 | Generate code for Power4 architecture.
|
---|
71 |
|
---|
72 | @item -mcom
|
---|
73 | Generate code Power/PowerPC common instructions.
|
---|
74 |
|
---|
75 | @item -many
|
---|
76 | Generate code for any architecture (PWR/PWRX/PPC).
|
---|
77 |
|
---|
78 | @item -mregnames
|
---|
79 | Allow symbolic names for registers.
|
---|
80 |
|
---|
81 | @item -mno-regnames
|
---|
82 | Do not allow symbolic names for registers.
|
---|
83 |
|
---|
84 | @item -mrelocatable
|
---|
85 | Support for GCC's -mrelocatble option.
|
---|
86 |
|
---|
87 | @item -mrelocatable-lib
|
---|
88 | Support for GCC's -mrelocatble-lib option.
|
---|
89 |
|
---|
90 | @item -memb
|
---|
91 | Set PPC_EMB bit in ELF flags.
|
---|
92 |
|
---|
93 | @item -mlittle, -mlittle-endian
|
---|
94 | Generate code for a little endian machine.
|
---|
95 |
|
---|
96 | @item -mbig, -mbig-endian
|
---|
97 | Generate code for a big endian machine.
|
---|
98 |
|
---|
99 | @item -msolaris
|
---|
100 | Generate code for Solaris.
|
---|
101 |
|
---|
102 | @item -mno-solaris
|
---|
103 | Do not generate code for Solaris.
|
---|
104 | @end table
|
---|