From d0c2e3ec82275af986ecba93b1a8602fc9a4abbd Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 31 Mar 2023 08:19:58 +0200 Subject: x86: parse VEX and alike specifiers for .insn All encoding spaces can be used this way; there's a certain risk that the bits presently reserved could be used for other purposes down the road, but people using .insn are expected to know what they're doing anyway. Plus this way there's at least _some_ way to have those bits set. For now this will only allow operand-less insns to be encoded this way. --- opcodes/i386-opc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opcodes') diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index efe33838027..23d93ae6f81 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -628,12 +628,14 @@ enum 3: 256bit EVEX prefix. 4: Length-ignored (LIG) EVEX prefix. 5: Length determined from actual operands. + 6: L'L = 3 (reserved, .insn only) */ #define EVEX512 1 #define EVEX128 2 #define EVEX256 3 #define EVEXLIG 4 #define EVEXDYN 5 +#define EVEX_L3 6 EVex, /* AVX512 masking support: -- cgit v1.2.1