summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-07-30 17:25:56 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-07-30 17:28:05 -0700
commitecf8c3e38256739e5761c714aa4331f13790a7a9 (patch)
tree88f1f86d7cbc6057d32744300fdc24b612fa6056
parentca348b6343376af269283db80ba2df5f775622d8 (diff)
downloadnasm-ecf8c3e38256739e5761c714aa4331f13790a7a9.tar.gz
BR 2025977: Handle SLDT with a 64-bit register operand
Handle SLDT with a 64-bit register operand. Don't generate a REX.W prefix in the assembler, since zero-extending is just fine, but do support it in the disassembler.
-rw-r--r--insns.dat2
1 files changed, 2 insertions, 0 deletions
diff --git a/insns.dat b/insns.dat
index 04f0cd43..fcab4ab2 100644
--- a/insns.dat
+++ b/insns.dat
@@ -1178,6 +1178,8 @@ SLDT mem \2\x0F\x00\200 286
SLDT mem16 \2\x0F\x00\200 286
SLDT reg16 \320\2\x0F\x00\200 286
SLDT reg32 \321\2\x0F\x00\200 386
+SLDT reg64 \323\2\x0F\x00\200 X64,ND
+SLDT reg64 \324\2\x0F\x00\200 X64
SKINIT void \3\x0F\x01\xDE X64
SMI void \1\xF1 386,UNDOC
SMINT void \2\x0F\x38 P6,CYRIX,ND