diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-02-14 06:09:28 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-02-14 06:09:28 -0800 |
commit | 07d9838745fa0fcd4e4a92a090bdc467ff12cf0a (patch) | |
tree | ea14d5c0bd85ebd17078a2e475c75350fd6d6c19 | |
parent | 6867aac05b9677ff9e0f388d7c10d3bc38fc524b (diff) | |
download | gdb-07d9838745fa0fcd4e4a92a090bdc467ff12cf0a.zip gdb-07d9838745fa0fcd4e4a92a090bdc467ff12cf0a.tar.gz gdb-07d9838745fa0fcd4e4a92a090bdc467ff12cf0a.tar.bz2 |
Remove the old movsx and movzx documentation for AT&T syntax
* doc/c-i386.texi: Remove the old movsx and movzx documentation
for AT&T syntax.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/doc/c-i386.texi | 16 |
2 files changed, 5 insertions, 16 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 39b1a38..e30c0dd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-02-14 H.J. Lu <hongjiu.lu@intel.com> + + * doc/c-i386.texi: Remove the old movsx and movzx documentation + for AT&T syntax. + 2020-02-14 Jan Beulich <jbeulich@suse.com> PR gas/25438 diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index ba0df76..235a395 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -750,22 +750,6 @@ operand. @end itemize -Almost all instructions have the same names in AT&T and Intel format. -There are a few exceptions. The sign extend and zero extend -instructions need two sizes to specify them. They need a size to -sign/zero extend @emph{from} and a size to zero extend @emph{to}. This -is accomplished by using two instruction mnemonic suffixes in AT&T -syntax. Base names for sign extend and zero extend are -@samp{movs@dots{}} and @samp{movz@dots{}} in AT&T syntax (@samp{movsx} -and @samp{movzx} in Intel syntax). The instruction mnemonic suffixes -are tacked on to this base name, the @emph{from} suffix before the -@emph{to} suffix. Thus, @samp{movsbl %al, %edx} is AT&T syntax for -``move sign extend @emph{from} %al @emph{to} %edx.'' Possible suffixes, -thus, are @samp{bl} (from byte to long), @samp{bw} (from byte to word), -@samp{wl} (from word to long), @samp{bq} (from byte to quadruple word), -@samp{wq} (from word to quadruple word), and @samp{lq} (from long to -quadruple word). - @cindex encoding options, i386 @cindex encoding options, x86-64 |