summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-05 16:23:35 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-05 16:23:35 -0700
commit358c97d21f892e910ce9fcd6a6613ea6fa556211 (patch)
tree8d2f53e527e95dd11dbbe1bc8ad7c047ad60a81a
parentcb6aaa33ce6be45e257404c688a21606fed3abea (diff)
downloadnasm-358c97d21f892e910ce9fcd6a6613ea6fa556211.tar.gz
nasm-358c97d21f892e910ce9fcd6a6613ea6fa556211.tar.bz2
nasm-358c97d21f892e910ce9fcd6a6613ea6fa556211.zip
The XSAVE group are SSE-spefix-sensitive
The XSAVE group are SSE-prefix-sensitive (null prefix), and therefore take the \360 flag.
-rw-r--r--insns.dat11
1 files changed, 6 insertions, 5 deletions
diff --git a/insns.dat b/insns.dat
index efdf4f6..610e508 100644
--- a/insns.dat
+++ b/insns.dat
@@ -1467,12 +1467,13 @@ XORPS xmmreg,xmmrm \360\2\x0F\x57\110 KATMAI,SSE
FXRSTOR mem \2\x0F\xAE\201 P6,SSE,FPU
FXSAVE mem \2\x0F\xAE\200 P6,SSE,FPU
-; XSAVE group: introduced in ??? ... we really need to clean up the handling
+;# XSAVE group (AVX and extended state)
+; Introduced in late Penryn ... we really need to clean up the handling
; of CPU feature bits.
-XGETBV void \3\x0F\x01\xD0 NEHALEM
-XSETBV void \3\x0F\x01\xD1 NEHALEM,PRIV
-XSAVE mem \2\x0F\xAE\204 NEHALEM
-XRSTOR mem \2\x0F\xAE\205 NEHALEM
+XGETBV void \360\3\x0F\x01\xD0 NEHALEM
+XSETBV void \360\3\x0F\x01\xD1 NEHALEM,PRIV
+XSAVE mem \360\2\x0F\xAE\204 NEHALEM
+XRSTOR mem \360\2\x0F\xAE\205 NEHALEM
; These instructions are not SSE-specific; they are
;# Generic memory operations