From: H.J. Lu Date: Fri, 14 Feb 2020 14:09:28 +0000 (-0800) Subject: Remove the old movsx and movzx documentation for AT&T syntax X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07d9838745fa0fcd4e4a92a090bdc467ff12cf0a;p=binutils-gdb.git 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 39b1a38ca93..e30c0ddc00b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-02-14 H.J. Lu + + * doc/c-i386.texi: Remove the old movsx and movzx documentation + for AT&T syntax. + 2020-02-14 Jan Beulich PR gas/25438 diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index ba0df76d43a..235a3951db0 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