summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-06-25 14:35:05 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-06-25 14:35:05 -0700
commit26b810176f939f5c7f1e6364ed5901283d1a576b (patch)
tree72d98a184afccf0ec363e3a3adcb03ce6ea3e3c7 /x86
parentb6b4b5d5460cfd4157c570546d92f02dbc3c2698 (diff)
downloadnasm-26b810176f939f5c7f1e6364ed5901283d1a576b.tar.gz
insns.dat: add PTWRITE instruction
Add PTWRITE instruction. It is worth noting that we should be able to do "ptwrite [eax]" in 32-bit mode, but the instruction selector doesn't currently handle that well in a way that doesn't make 64-bit mode very confusing. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'x86')
-rw-r--r--x86/insns.dat4
1 files changed, 4 insertions, 0 deletions
diff --git a/x86/insns.dat b/x86/insns.dat
index cabd9bd6..96295dc1 100644
--- a/x86/insns.dat
+++ b/x86/insns.dat
@@ -5197,6 +5197,10 @@ PCOMMIT void [ 66 0f ae f8]
; AMD Zen v1
CLZERO void [ 0f 01 fc] FUTURE,AMD
+;# Processor trace write
+PTWRITE rm32 [m: np 0f ae /4] FUTURE
+PTWRITE rm64 [m: o64 np 0f ae /4] X64,FUTURE
+
;# Instructions from the Intel Instruction Set Extensions,
;# doc 319433-034 May 2018
CLDEMOTE mem [m: np 0f 1c /0] FUTURE