aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index fc34292..8435466 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -121,7 +121,7 @@ static initializer cpu_flag_init[] =
{ "CPU_SSE4_2_FLAGS",
"CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4_1|CpuSSE4_2" },
{ "CPU_ANY_SSE_FLAGS",
- "CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4_1|CpuSSE4_2|CpuSSE4a|CpuAVX" },
+ "CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4_1|CpuSSE4_2|CpuSSE4a|CpuAVX|CpuAVX2" },
{ "CPU_VMX_FLAGS",
"CpuVMX" },
{ "CPU_SMX_FLAGS",
@@ -158,6 +158,12 @@ static initializer cpu_flag_init[] =
"CpuRdRnd" },
{ "CPU_F16C_FLAGS",
"CpuF16C" },
+ { "CPU_BMI2_FLAGS",
+ "CpuBMI2" },
+ { "CPU_LZCNT_FLAGS",
+ "CpuLZCNT" },
+ { "CPU_INVPCID_FLAGS",
+ "CpuINVPCID" },
{ "CPU_3DNOW_FLAGS",
"CpuMMX|Cpu3dnow" },
{ "CPU_3DNOWA_FLAGS",
@@ -172,8 +178,10 @@ static initializer cpu_flag_init[] =
"CpuABM" },
{ "CPU_AVX_FLAGS",
"CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4_1|CpuSSE4_2|CpuAVX" },
+ { "CPU_AVX2_FLAGS",
+ "CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4_1|CpuSSE4_2|CpuAVX|CpuAVX2" },
{ "CPU_ANY_AVX_FLAGS",
- "CpuAVX" },
+ "CpuAVX|CpuAVX2" },
{ "CPU_L1OM_FLAGS",
"unknown" },
};
@@ -309,6 +317,7 @@ static bitfield cpu_flags[] =
BITFIELD (CpuSSE4_1),
BITFIELD (CpuSSE4_2),
BITFIELD (CpuAVX),
+ BITFIELD (CpuAVX2),
BITFIELD (CpuL1OM),
BITFIELD (CpuSSE4a),
BITFIELD (Cpu3dnow),
@@ -335,6 +344,9 @@ static bitfield cpu_flags[] =
BITFIELD (CpuFSGSBase),
BITFIELD (CpuRdRnd),
BITFIELD (CpuF16C),
+ BITFIELD (CpuBMI2),
+ BITFIELD (CpuLZCNT),
+ BITFIELD (CpuINVPCID),
BITFIELD (Cpu64),
BITFIELD (CpuNo64),
#ifdef CpuUnused
@@ -388,6 +400,7 @@ static bitfield opcode_modifiers[] =
BITFIELD (VexOpcode),
BITFIELD (VexSources),
BITFIELD (VexImmExt),
+ BITFIELD (VecSIB),
BITFIELD (SSE2AVX),
BITFIELD (NoAVX),
BITFIELD (OldGcc),