aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.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 /gas/config/tc-i386.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 'gas/config/tc-i386.c')
-rw-r--r--gas/config/tc-i386.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index e3bcc9a..db3eb70 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -933,6 +933,8 @@ static const arch_entry cpu_arch[] =
CPU_CLWB_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".pcommit"), PROCESSOR_UNKNOWN,
CPU_PCOMMIT_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN (".avx512ifma"), PROCESSOR_UNKNOWN,
+ CPU_AVX512IFMA_FLAGS, 0, 0 },
};
#ifdef I386COFF