diff options
Diffstat (limited to 'gas/doc/c-s390.texi')
-rw-r--r-- | gas/doc/c-s390.texi | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/gas/doc/c-s390.texi b/gas/doc/c-s390.texi index ec36188..5a6e3a7 100644 --- a/gas/doc/c-s390.texi +++ b/gas/doc/c-s390.texi @@ -865,15 +865,27 @@ This directive causes the current contents of the literal pool to be dumped to the current location (@ref{s390 Literal Pool Entries}). @cindex @code{.machine} directive, s390 -@item .machine string -This directive allows you to change the machine for which code is -generated. @code{string} may be any of the @code{-march=} selection -options (without the -march=), @code{push}, or @code{pop}. -@code{.machine push} saves the currently selected cpu, which may be -restored with @code{.machine pop}. Be aware that the cpu string has -to be put into double quotes in case it contains characters not -appropriate for identifiers. So you have to write @code{"z9-109"} -instead of just @code{z9-109}. +@item .machine @var{STRING}[+@var{EXTENSION}]@dots{} + +This directive allows changing the machine for which code is +generated. @code{string} may be any of the @code{-march=} +selection options, or @code{push}, or @code{pop}. @code{.machine +push} saves the currently selected cpu, which may be restored with +@code{.machine pop}. Be aware that the cpu string has to be put +into double quotes in case it contains characters not appropriate +for identifiers. So you have to write @code{"z9-109"} instead of +just @code{z9-109}. Extensions can be specified after the cpu +name, separated by plus charaters. Valid extensions are: +@code{htm}, +@code{nohtm}, +@code{vx}, +@code{novx}. +They extend the basic instruction set with features from a higher +cpu level, or remove support for a feature from the given cpu +level. + +Example: @code{z13+nohtm} allows all instructions of the z13 cpu +except instructions from the HTM facility. @cindex @code{.machinemode} directive, s390 @item .machinemode string |