aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-02-23 11:59:42 +0100
committerJan Beulich <jbeulich@suse.com>2024-02-23 11:59:42 +0100
commitdb5aae3ccd7af607e1a3af1df9f3bdb62d7e5259 (patch)
tree40ca44fa551de909fcf8e06be001a57308fb9cf5 /gas/doc
parenta40a04601fb16b67bd6c61bb0d79e2c8f9736c9a (diff)
downloadgdb-db5aae3ccd7af607e1a3af1df9f3bdb62d7e5259.zip
gdb-db5aae3ccd7af607e1a3af1df9f3bdb62d7e5259.tar.gz
gdb-db5aae3ccd7af607e1a3af1df9f3bdb62d7e5259.tar.bz2
x86: document -moperand-check=
PR gas/31388 Like other command line options this should be mentioned in documentation as well, not just in "as --help" output.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-i386.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 3d2d28f..7254d56 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -293,6 +293,21 @@ generated.
Valid @var{CPU} values are identical to the processor list of
@option{-march=@var{CPU}}.
+@cindex @samp{-moperand-check=} option, i386
+@cindex @samp{-moperand-check=} option, x86-64
+@item -moperand-check=@var{none}
+@itemx -moperand-check=@var{warning}
+@itemx -moperand-check=@var{error}
+These options control if the assembler should check certain instruction
+operands or operand combinations. An example instructions where operand size
+cannot be inferred from its operands and also hasn't been specified by way of
+an instruction suffix.
+@option{-moperand-check=@var{none}} will make the assembler not perform
+these checks. @option{-moperand-check=@var{warning}} will make the assembler
+issue a warning when respective checks fail, which is the default.
+@option{-moperand-check=@var{error}} will make the assembler issue an error
+when respective checks fail.
+
@cindex @samp{-msse2avx} option, i386
@cindex @samp{-msse2avx} option, x86-64
@item -msse2avx