@c Copyright 2001, 2002, 2003, 2005@c Free Software Foundation, Inc.@c This is part of the GAS manual.@c For copying conditions, see the file as.texinfo.@ifset GENERIC@page@node PPC-Dependent@chapter PowerPC Dependent Features@end ifset@ifclear GENERIC@node Machine Dependencies@chapter PowerPC Dependent Features@end ifclear@cindex PowerPC support@menu* PowerPC-Opts:: Options* PowerPC-Pseudo:: PowerPC Assembler Directives@end menu@node PowerPC-Opts@section Options@cindex options for PowerPC@cindex PowerPC options@cindex architectures, PowerPC@cindex PowerPC architecturesThe PowerPC chip family includes several successive levels, using the samecore instruction set, but including a few additional instructions ateach level. There are exceptions to this however. For details on whatinstructions each variant supports, please see the chip's architecturereference manual.The following table lists all available PowerPC options.@table @code@item -mpwrx | -mpwr2Generate code for POWER/2 (RIOS2).@item -mpwrGenerate code for POWER (RIOS1)@item -m601Generate code for PowerPC 601.@item -mppc, -mppc32, -m603, -m604Generate code for PowerPC 603/604.@item -m403, -m405Generate code for PowerPC 403/405.@item -m440Generate code for PowerPC 440. BookE and some 405 instructions.@item -m7400, -m7410, -m7450, -m7455Generate code for PowerPC 7400/7410/7450/7455.@item -mppc64, -m620Generate code for PowerPC 620/625/630.@item -mppc64bridgeGenerate code for PowerPC 64, including bridge insns.@item -mbooke64Generate code for 64-bit BookE.@item -mbooke, mbooke32Generate code for 32-bit BookE.@item -me300Generate code for PowerPC e300 family.@item -maltivecGenerate code for processors with AltiVec instructions.@item -mpower4Generate code for Power4 architecture.@item -mpower5Generate code for Power5 architecture.@item -mcomGenerate code Power/PowerPC common instructions.@item -manyGenerate code for any architecture (PWR/PWRX/PPC).@item -mregnamesAllow symbolic names for registers.@item -mno-regnamesDo not allow symbolic names for registers.@item -mrelocatableSupport for GCC's -mrelocatble option.@item -mrelocatable-libSupport for GCC's -mrelocatble-lib option.@item -membSet PPC_EMB bit in ELF flags.@item -mlittle, -mlittle-endianGenerate code for a little endian machine.@item -mbig, -mbig-endianGenerate code for a big endian machine.@item -msolarisGenerate code for Solaris.@item -mno-solarisDo not generate code for Solaris.@end table@node PowerPC-Pseudo@section PowerPC Assembler Directives@cindex directives for PowerPC@cindex PowerPC directivesA number of assembler directives are available for PowerPC. Thefollowing table is far from complete.@table @code@item .machine "string"This directive allows you to change the machine for which code isgenerated. @code{"string"} may be any of the -m cpu selection options(without the -m) enclosed in double quotes, @code{"push"}, or@code{"pop"}. @code{.machine "push"} saves the currently selectedcpu, which may be restored with @code{.machine "pop"}.@end table