aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
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-opc.h
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-opc.h')
-rw-r--r--opcodes/i386-opc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index b7ccf040..11f55a2 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -188,6 +188,8 @@ enum
CpuCLWB,
/* PCOMMIT instruction required */
CpuPCOMMIT,
+ /* Intel AVX-512 IFMA Instructions support required. */
+ CpuAVX512IFMA,
/* 64bit support required */
Cpu64,
/* Not supported in the 64bit mode */
@@ -289,6 +291,7 @@ typedef union i386_cpu_flags
unsigned int cpuse1:1;
unsigned int cpuclwb:1;
unsigned int cpupcommit:1;
+ unsigned int cpuavx512ifma:1;
unsigned int cpu64:1;
unsigned int cpuno64:1;
#ifdef CpuUnused