i386: Replace movsb with movsxb

Message ID 20210526125454.3367692-1-hjl.tools@gmail.com
State New
Headers show
Series
  • i386: Replace movsb with movsxb
Related show

Commit Message

Jan Beulich via Binutils May 26, 2021, 12:54 p.m.
From: Sebastien Villemot <sebastien@debian.org>


	PR gas/27906
	* doc/c-i386.texi: Replace movsb with movsxb as an alias for
	movsbq.
---
 gas/ChangeLog       | 5 +++++
 gas/doc/c-i386.texi | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.31.1

Patch

diff --git a/gas/ChangeLog b/gas/ChangeLog
index eac946f13c1..60b0d1bf9b0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@ 
+2021-05-26  Sebastien Villemot  <sebastien@debian.org>
+
+	* doc/c-i386.texi: Replace movsb with movsxb as an alias for
+	movsbq.
+
 2021-05-26  Nelson Chu  <nelson.chu@sifive.com>
 
 	* config/tc-riscv.c (riscv_set_arch): Set
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index cb996c8a2a1..c987dc03782 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -952,7 +952,7 @@  The Intel-syntax extension instructions
 
 @noindent
 are called @samp{movsbw/movsxb/movsx}, @samp{movsbl/movsxb/movsx},
-@samp{movsbq/movsb/movsx}, @samp{movswl/movsxw}, @samp{movswq/movsxw},
+@samp{movsbq/movsxb/movsx}, @samp{movswl/movsxw}, @samp{movswq/movsxw},
 @samp{movslq/movsxl}, @samp{movzbw/movzxb/movzx},
 @samp{movzbl/movzxb/movzx}, @samp{movzbq/movzxb/movzx},
 @samp{movzwl/movzxw} and @samp{movzwq/movzxw} in AT&T syntax.