c-ppc.texi revision 89857
189857Sobrien@c Copyright 2001
289857Sobrien@c Free Software Foundation, Inc.
389857Sobrien@c This is part of the GAS manual.
489857Sobrien@c For copying conditions, see the file as.texinfo.
589857Sobrien@ifset GENERIC
689857Sobrien@page
789857Sobrien@node PPC-Dependent
889857Sobrien@chapter PowerPC Dependent Features
989857Sobrien@end ifset
1089857Sobrien@ifclear GENERIC
1189857Sobrien@node Machine Dependencies
1289857Sobrien@chapter PowerPC Dependent Features
1389857Sobrien@end ifclear
1489857Sobrien
1589857Sobrien@cindex PowerPC support
1689857Sobrien@menu
1789857Sobrien* PowerPC-Opts::                Options
1889857Sobrien@end menu
1989857Sobrien
2089857Sobrien@node PowerPC-Opts
2189857Sobrien@section Options
2289857Sobrien
2389857Sobrien@cindex options for PowerPC
2489857Sobrien@cindex PowerPC options
2589857Sobrien@cindex architectures, PowerPC
2689857Sobrien@cindex PowerPC architectures
2789857SobrienThe PowerPC chip family includes several successive levels, using the same
2889857Sobriencore instruction set, but including a few additional instructions at
2989857Sobrieneach level.  There are exceptions to this however.  For details on what
3089857Sobrieninstructions each variant supports, please see the chip's architecture
3189857Sobrienreference manual.
3289857Sobrien
3389857SobrienThe following table lists all available PowerPC options.
3489857Sobrien
3589857Sobrien@table @code
3689857Sobrien@item -mpwrx | -mpwr2
3789857SobrienGenerate code for IBM POWER/2 (RIOS2).
3889857Sobrien
3989857Sobrien@item -mpwr
4089857SobrienGenerate code for IBM POWER (RIOS1)
4189857Sobrien
4289857Sobrien@item -m601
4389857SobrienGenerate code for Motorola PowerPC 601.
4489857Sobrien
4589857Sobrien@item -mppc, -mppc32, -m603, -m604
4689857SobrienGenerate code for Motorola PowerPC 603/604.
4789857Sobrien
4889857Sobrien@item -m403, -m405
4989857SobrienGenerate code for Motorola PowerPC 403/405.
5089857Sobrien
5189857Sobrien@item -mppc64, -m620
5289857SobrienGenerate code for Motorola PowerPC 620.
5389857Sobrien
5489857Sobrien@item -mppc64bridge
5589857SobrienGenerate code for PowerPC 64, including bridge insns.
5689857Sobrien
5789857Sobrien@item -mbooke64
5889857SobrienGenerate code for 64-bit Motorola BookE.
5989857Sobrien
6089857Sobrien@item -mbooke, mbooke32
6189857SobrienGenerate code for 32-bit Motorola BookE.
6289857Sobrien
6389857Sobrien@item -mcom
6489857SobrienGenerate code Power/PowerPC common instructions.
6589857Sobrien
6689857Sobrien@item -many
6789857SobrienGenerate code for any architecture (PWR/PWRX/PPC).
6889857Sobrien
6989857Sobrien@item -mregnames
7089857SobrienAllow symbolic names for registers.
7189857Sobrien
7289857Sobrien@item -mno-regnames
7389857SobrienDo not allow symbolic names for registers.
7489857Sobrien
7589857Sobrien@item -mrelocatable
7689857SobrienSupport for GCC's -mrelocatble option.
7789857Sobrien
7889857Sobrien@item -mrelocatable-lib
7989857SobrienSupport for GCC's -mrelocatble-lib option.
8089857Sobrien
8189857Sobrien@item -memb
8289857SobrienSet PPC_EMB bit in ELF flags.
8389857Sobrien
8489857Sobrien@item -mlittle, -mlittle-endian
8589857SobrienGenerate code for a little endian machine.
8689857Sobrien
8789857Sobrien@item -mbig, -mbig-endian
8889857SobrienGenerate code for a big endian machine.
8989857Sobrien
9089857Sobrien@item -msolaris
9189857SobrienGenerate code for Solaris.
9289857Sobrien
9389857Sobrien@item -mno-solaris
9489857SobrienDo not generate code for Solaris.
9589857Sobrien@end table
96