summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-12-22 17:50:26 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-12-22 17:52:27 -0800
commit7f688841cef786248b9072eb4c18eca532511cbc (patch)
tree4c8b92d603009ff84f81c46d3fdde77304b49877 /x86
parente7f4e0e229a4b979f5d122f6c7c1e25e1524f21a (diff)
downloadnasm-7f688841cef786248b9072eb4c18eca532511cbc.tar.gz
insns.dat: accept explicit ax/eax/rax operand to CLZERO
AMD documents this instruction with an rax operand. The error behavior implies this is an address-size-sensitive instruction. Add support for specifying the explicit operand, but consistent with normal ndisasm behavior, don't disassemble the implicit operand. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'x86')
-rw-r--r--x86/insns.dat3
1 files changed, 3 insertions, 0 deletions
diff --git a/x86/insns.dat b/x86/insns.dat
index e9e45567..1f5917f1 100644
--- a/x86/insns.dat
+++ b/x86/insns.dat
@@ -5196,6 +5196,9 @@ PCOMMIT void [ 66 0f ae f8]
; AMD Zen v1
CLZERO void [ 0f 01 fc] FUTURE,AMD
+CLZERO reg_ax [-: a16 0f 01 fc] FUTURE,AMD,ND,NOLONG
+CLZERO reg_eax [-: a32 0f 01 fc] FUTURE,AMD,ND
+CLZERO reg_rax [-: a64 0f 01 fc] FUTURE,AMD,ND,X64
;# Processor trace write
PTWRITE rm32 [m: np 0f ae /4] FUTURE