diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-18 16:24:46 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-18 16:24:46 -0700 |
commit | 2df23513b32f68f88e715667f29930348b3ade7c (patch) | |
tree | c41a934ceaf78289782ace715e321589f2a6bc2d | |
parent | d68d9181df5d650de296bc9a8de10860b8a00805 (diff) | |
download | nasm-2df23513b32f68f88e715667f29930348b3ade7c.tar.gz |
BR 3018233: handle LFS, LGS and LSS with a 64-bit register
LFS, LGS and LSS are valid in 64-bit mode and have 64-bit (REX.W)
forms.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | insns.dat | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,6 @@ ;; -------------------------------------------------------------------------- ;; -;; Copyright 1996-2009 The NASM Authors - All Rights Reserved +;; Copyright 1996-2010 The NASM Authors - All Rights Reserved ;; See the file AUTHORS included with the NASM distribution for ;; the specific copyright holders. ;; @@ -710,9 +710,11 @@ LES reg32,mem \321\1\xC4\110 386,NOLONG LFENCE void \3\x0F\xAE\xE8 X64,AMD LFS reg16,mem \320\2\x0F\xB4\110 386 LFS reg32,mem \321\2\x0F\xB4\110 386 +LFS reg64,mem \324\2\x0F\xB4\110 X64 LGDT mem \2\x0F\x01\202 286,PRIV LGS reg16,mem \320\2\x0F\xB5\110 386 LGS reg32,mem \321\2\x0F\xB5\110 386 +LGS reg64,mem \324\2\x0F\xB5\110 X64 LIDT mem \2\x0F\x01\203 286,PRIV LLDT mem \2\x0F\x00\202 286,PROT,PRIV LLDT mem16 \2\x0F\x00\202 286,PROT,PRIV @@ -760,6 +762,7 @@ LSL reg64,reg32 \324\2\x0F\x03\110 X64,PROT LSL reg64,reg64 \324\2\x0F\x03\110 X64,PROT LSS reg16,mem \320\2\x0F\xB2\110 386 LSS reg32,mem \321\2\x0F\xB2\110 386 +LSS reg64,mem \324\2\x0F\xB2\110 X64 LTR mem \2\x0F\x00\203 286,PROT,PRIV LTR mem16 \2\x0F\x00\203 286,PROT,PRIV LTR reg16 \2\x0F\x00\203 286,PROT,PRIV |