aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorIlya Tocar <ilya.tocar@intel.com>2014-11-17 14:57:33 +0300
committerH.J. Lu <hjl.tools@gmail.com>2014-11-17 06:03:24 -0800
commit2cc1b5aad8defa9b5e6d9b4920c4d2ab6cf1f02e (patch)
treeec46d3f23ddc3b6640f2f1d66f0db69a60eaad05 /opcodes/i386-gen.c
parent9d8596f0792ad0f9d21d6af23ff0db68beb56ccd (diff)
downloadgdb-2cc1b5aad8defa9b5e6d9b4920c4d2ab6cf1f02e.zip
gdb-2cc1b5aad8defa9b5e6d9b4920c4d2ab6cf1f02e.tar.gz
gdb-2cc1b5aad8defa9b5e6d9b4920c4d2ab6cf1f02e.tar.bz2
Add AVX512IFMA instructions
gas/ * config/tc-i386.c (cpu_arch): Add .avx512ifma. * doc/c-i386.texi: Document it. opcodes/ * i386-dis-evex.c (evex_table): Add vpmadd52luq, vpmadd52huq. * i386-dis.c (PREFIX enum): Add PREFIX_EVEX_0F38B4, PREFIX_EVEX_0F38B5. * i386-gen.c (cpu_flag_init): Add CPU_AVX512IFMA_FLAGS. (cpu_flags): Add CpuAVX512IFMA. * i386-opc.h (enum): Add CpuAVX512IFMA. (i386_cpu_flags): Add cpuavx512ifma. * i386-opc.tbl: Add vpmadd52huq, vpmadd52luq. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. /gas/testsuite/ * gas/i386/i386.exp: Run new tests. * gas/i386/avx512ifma-intel.d: New file. * gas/i386/avx512ifma.d: Likewise. * gas/i386/avx512ifma.s: Likewise. * gas/i386/avx512ifma_vl-intel.d: Likewise. * gas/i386/avx512ifma_vl.d: Likewise. * gas/i386/avx512ifma_vl.s: Likewise. * gas/i386/x86-64-avx512ifma-intel.d: Likewise. * gas/i386/x86-64-avx512ifma.d: Likewise. * gas/i386/x86-64-avx512ifma.s: Likewise. * gas/i386/x86-64-avx512ifma_vl-intel.d: Likewise. * gas/i386/x86-64-avx512ifma_vl.d: Likewise. * gas/i386/x86-64-avx512ifma_vl.s: Likewise.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index b56ffdf..e11342c 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -241,6 +241,8 @@ static initializer cpu_flag_init[] =
"CpuCLWB" },
{ "CPU_PCOMMIT_FLAGS",
"CpuPCOMMIT" },
+ { "CPU_AVX512IFMA_FLAGS",
+ "CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4_1|CpuSSE4_2|CpuAVX|CpuAVX2|CpuAVX512F|CpuAVX512IFMA" },
};
static initializer operand_type_init[] =
@@ -442,6 +444,7 @@ static bitfield cpu_flags[] =
BITFIELD (Cpu64),
BITFIELD (CpuNo64),
BITFIELD (CpuMPX),
+ BITFIELD (CpuAVX512IFMA),
#ifdef CpuUnused
BITFIELD (CpuUnused),
#endif