summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-24 18:12:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-24 18:12:20 -0700
commit51e403152a9257e5422f0340047d1846418d10e3 (patch)
treefec5cc489bc5b623941dec3b83321599be6ce980
parent19f15a50f611bada1fc2445e4453283fa5acc47d (diff)
downloadnasm-51e403152a9257e5422f0340047d1846418d10e3.tar.gz
BR 2067820: add the MOVSXD instruction
The official mnemonic for 32-to-64-bit sign extension is MOVSXD for some idiotic reason. Add support for it while continue to recognize MOVSX for this as an alias. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--insns.dat3
1 files changed, 2 insertions, 1 deletions
diff --git a/insns.dat b/insns.dat
index 03571300..7f10cdcb 100644
--- a/insns.dat
+++ b/insns.dat
@@ -806,7 +806,8 @@ MOVSX reg32,rm8 \321\2\x0F\xBE\110 386
MOVSX reg32,rm16 \321\2\x0F\xBF\110 386
MOVSX reg64,rm8 \324\2\x0F\xBE\110 X64
MOVSX reg64,rm16 \324\2\x0F\xBF\110 X64
-MOVSX reg64,rm32 \324\1\x63\110 X64
+MOVSXD reg64,rm32 \324\1\x63\110 X64
+MOVSX reg64,rm32 \324\1\x63\110 X64,ND
MOVZX reg16,mem \320\2\x0F\xB6\110 386,SB
MOVZX reg16,reg8 \320\2\x0F\xB6\110 386
MOVZX reg32,rm8 \321\2\x0F\xB6\110 386