From 47acf0bd9faef8634d242e19ec3b7f784d10ba76 Mon Sep 17 00:00:00 2001 From: Igor Tsimbalist Date: Wed, 2 Nov 2016 12:31:25 -0700 Subject: Enable Intel AVX512_4VNNIW instructions gas/ * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw. (cpu_noarch): Add noavx512_4vnniw. * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw. * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests. * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test. * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto. * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto. * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto. * testsuite/gas/i386/avx512_4vnniwd.d: Ditto. * testsuite/gas/i386/avx512_4vnniwd.s: Ditto. * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto. * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto. * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto. * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto. * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto. * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto. opcodes/ * i386-dis.c (enum): Add PREFIX_EVEX_0F3852, PREFIX_EVEX_0F3853. * i386-dis-evex.h (evex_table): Updated. * i386-gen.c (cpu_flag_init): Add CPU_AVX512_4VNNIW_FLAGS, CPU_ANY_AVX512_4VNNIW_FLAGS. Update CPU_ANY_AVX512F_FLAGS. (cpu_flags): Add CpuAVX512_4VNNIW. * i386-opc.h (enum): (AVX512_4VNNIW): New. (i386_cpu_flags): Add cpuavx512_4vnniw. * i386-opc.tbl: Add Intel AVX512_4VNNIW instructions. * i386-init.h: Regenerate. * i386-tbl.h: Ditto. --- gas/doc/c-i386.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gas/doc/c-i386.texi') diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 7aa043e..c3c632d 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -181,6 +181,7 @@ accept various extension mnemonics. For example, @code{avx512ifma}, @code{avx512vbmi}, @code{avx512_4fmaps}, +@code{avx512_4vnniw}, @code{noavx512f}, @code{noavx512cd}, @code{noavx512er}, @@ -191,6 +192,7 @@ accept various extension mnemonics. For example, @code{noavx512ifma}, @code{noavx512vbmi}, @code{noavx512_4fmaps}, +@code{noavx512_4vnniw}, @code{vmx}, @code{vmfunc}, @code{smx}, @@ -1192,8 +1194,8 @@ supported on the CPU specified. The choices for @var{cpu_type} are: @item @samp{.clflushopt} @tab @samp{.xsavec} @tab @samp{.xsaves} @tab @samp{.se1} @item @samp{.avx512f} @tab @samp{.avx512cd} @tab @samp{.avx512er} @tab @samp{.avx512pf} @item @samp{.avx512vl} @tab @samp{.avx512bw} @tab @samp{.avx512dq} @tab @samp{.avx512ifma} -@item @samp{.avx512vbmi} @tab @samp{.avx512_4fmaps} @tab @samp{.clwb} -@item @samp{.rdpid} @tab @samp{.ptwrite} +@item @samp{.avx512vbmi} @tab @samp{.avx512_4fmaps} @tab @samp{.avx512_4vnniw} +@item @samp{.clwb} @tab @samp{.rdpid} @tab @samp{.ptwrite} @item @samp{.3dnow} @tab @samp{.3dnowa} @tab @samp{.sse4a} @tab @samp{.sse5} @item @samp{.syscall} @tab @samp{.rdtscp} @tab @samp{.svme} @tab @samp{.abm} @item @samp{.lwp} @tab @samp{.fma4} @tab @samp{.xop} @tab @samp{.cx16} -- cgit v1.1