x86: SMAP instructions are NP
The SMAP instructions are np; notably the prefixed versions of CLAC are ERETU/ERETS. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
2fae1899ac
commit
b4300ac280
2 changed files with 4 additions and 3 deletions
|
@ -111,6 +111,7 @@ if_("AVXNECONVERT", "AVX exceptionless floating-point conversions");
|
|||
if_("AVXVNNIINT8", "AVX Vector Neural Network 8-bit integer instructions");
|
||||
if_("AVXIFMA", "AVX integer multiply and add");
|
||||
if_("HRESET", "History reset");
|
||||
if_("SMAP", "Supervisor Mode Access Prevention (SMAP)");
|
||||
|
||||
# Put these last to minimize their relevance
|
||||
if_("OBSOLETE", "Instruction removed from architecture");
|
||||
|
|
|
@ -3039,9 +3039,9 @@ RDSEED reg16 [m: o16 0f c7 /7] FUTURE
|
|||
RDSEED reg32 [m: o32 0f c7 /7] FUTURE
|
||||
RDSEED reg64 [m: o64 0f c7 /7] LONG,FUTURE
|
||||
|
||||
; Per AVX spec revision 14, document 319433-014
|
||||
CLAC void [ 0f 01 ca] PRIV,FUTURE
|
||||
STAC void [ 0f 01 cb] PRIV,FUTURE
|
||||
;# Supervisor Mode Access Prevention (SMAP)
|
||||
CLAC void [ np 0f 01 ca] SMAP,PRIV,FUTURE
|
||||
STAC void [ np 0f 01 cb] SMAP,PRIV,FUTURE
|
||||
|
||||
;# VIA (Centaur) security instructions
|
||||
XSTORE void [ 0f a7 c0] PENT,CYRIX
|
||||
|
|
Loading…
Reference in a new issue