summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/gas/doc/c-ppc.texi
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/gas/doc/c-ppc.texi')
-rw-r--r--contrib/binutils/gas/doc/c-ppc.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/binutils/gas/doc/c-ppc.texi b/contrib/binutils/gas/doc/c-ppc.texi
index 7fae6ed..be90e33 100644
--- a/contrib/binutils/gas/doc/c-ppc.texi
+++ b/contrib/binutils/gas/doc/c-ppc.texi
@@ -15,6 +15,7 @@
@cindex PowerPC support
@menu
* PowerPC-Opts:: Options
+* PowerPC-Pseudo:: PowerPC Assembler Directives
@end menu
@node PowerPC-Opts
@@ -48,6 +49,9 @@ Generate code for PowerPC 603/604.
@item -m403, -m405
Generate code for PowerPC 403/405.
+@item -m440
+Generate code for PowerPC 440. BookE and some 405 instructions.
+
@item -m7400, -m7410, -m7450, -m7455
Generate code for PowerPC 7400/7410/7450/7455.
@@ -102,3 +106,21 @@ Generate code for Solaris.
@item -mno-solaris
Do not generate code for Solaris.
@end table
+
+
+@node PowerPC-Pseudo
+@section PowerPC Assembler Directives
+
+@cindex directives for PowerPC
+@cindex PowerPC directives
+A number of assembler directives are available for PowerPC. The
+following table is far from complete.
+
+@table @code
+@item .machine "string"
+This directive allows you to change the machine for which code is
+generated. @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 selected
+cpu, which may be restored with @code{.machine "pop"}.
+@end table
OpenPOWER on IntegriCloud