summaryrefslogtreecommitdiff
path: root/regs.dat
diff options
context:
space:
mode:
Diffstat (limited to 'regs.dat')
-rw-r--r--regs.dat15
1 files changed, 14 insertions, 1 deletions
diff --git a/regs.dat b/regs.dat
index 57cef6a..742b69d 100644
--- a/regs.dat
+++ b/regs.dat
@@ -36,12 +36,17 @@
#
# The columns are:
#
-# register name, assembler class, disassembler class(es), x86 register number
+# register name, assembler class, disassembler class(es), x86 register number[, token flag]
#
# If the register name ends in two numbers separated by a dash, then it is
# repeated as many times as indicated, and the register number is
# updated with it.
#
+# If 'token flag' is present, this value will be assigned to tokflag field in
+# 'struct tokendata tokendata[]' table. Token flag can be used for specifying
+# special usage of corresponding register. E.g. opmask registers can be either
+# enclosed by curly braces or standalone operand depending on the usage.
+#
# General-purpose registers
al REG_AL reg8,reg8_rex 0
@@ -117,3 +122,11 @@ xmm1-15 XMMREG xmmreg 1
# AVX registers
ymm0 YMM0 ymmreg 0
ymm1-15 YMMREG ymmreg 1
+
+# AVX3 registers
+zmm0 ZMM0 zmmreg 0
+zmm1-31 ZMMREG zmmreg 1
+
+# Opmask registers
+k0 OPMASK0 opmaskreg 0
+k1-7 OPMASKREG opmaskreg 1 TFLAG_BRC_OPT