diff options
author | Ilya Tocar <ilya.tocar@intel.com> | 2014-07-18 14:59:54 +0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-07-22 10:23:40 -0700 |
commit | b28d1bda54728d10ae189a323c343b6d76f94b8e (patch) | |
tree | ef86cf68b866cdf2df5f404221c7cefb9d155e71 /opcodes/i386-opc.h | |
parent | 50d13ae760ccae7ba30244985397240dfb67a431 (diff) | |
download | gdb-b28d1bda54728d10ae189a323c343b6d76f94b8e.zip gdb-b28d1bda54728d10ae189a323c343b6d76f94b8e.tar.gz gdb-b28d1bda54728d10ae189a323c343b6d76f94b8e.tar.bz2 |
Add support for AVX512VL. Add AVX512VL versions of AVX512F instructions.
gas/
* config/tc-i386.c (cpu_arch): Add .avx512vl, CPU_AVX512VL_FLAGS.
(build_vex_prefix): Don't abort on VEX.W.
(check_VecOperands): Support BROADCAST_1TO4 and BROADCAST_1TO2.
(check_VecOperations): Ditto.
* doc/c-i386.texi: Document avx512vl/.avx512vl.
gas/testsuite/
* gas/i386/avx512f_vl-intel.d: New.
* gas/i386/avx512f_vl-opts-intel.d: New.
* gas/i386/avx512f_vl-opts.d: New.
* gas/i386/avx512f_vl-opts.s: New.
* gas/i386/avx512f_vl-wig.s: New.
* gas/i386/avx512f_vl-wig1-intel.d: New.
* gas/i386/avx512f_vl-wig1.d: New.
* gas/i386/avx512f_vl.d: New.
* gas/i386/avx512f_vl.s: New.
* gas/i386/i386.exp: Run new AVX-512 tests.
* gas/i386/x86-64-avx512f_vl-intel.d: New.
* gas/i386/x86-64-avx512f_vl-opts-intel.d: New.
* gas/i386/x86-64-avx512f_vl-opts.d: New.
* gas/i386/x86-64-avx512f_vl-opts.s: New.
* gas/i386/x86-64-avx512f_vl-wig.s: New.
* gas/i386/x86-64-avx512f_vl-wig1-intel.d: New.
* gas/i386/x86-64-avx512f_vl-wig1.d: New.
* gas/i386/x86-64-avx512f_vl.d: New.
* gas/i386/x86-64-avx512f_vl.s: New.
opcodes/
* i386-dis.c (intel_operand_size): Support 128/256 length in
vex_vsib_q_w_dq_mode.
(OP_E_memory): Add ymmq_mode handling, handle new broadcast.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512VL_FLAGS.
(cpu_flags): Add CpuAVX512VL.
* i386-init.h: Regenerated.
* i386-opc.h (CpuAVX512VL): New.
(i386_cpu_flags): Add cpuavx512vl.
(BROADCAST_1TO4, BROADCAST_1TO2): Define.
* i386-opc.tbl: Add AVX512VL instructions.
* i386-tbl.h: Regenerate.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index ce5a44d..c0c3b3b9 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -102,6 +102,8 @@ enum CpuAVX512ER, /* Intel AVX-512 Prefetch Instructions support required */ CpuAVX512PF, + /* Intel AVX-512 VL Instructions support required. */ + CpuAVX512VL, /* Intel L1OM support required */ CpuL1OM, /* Intel K1OM support required */ @@ -236,6 +238,7 @@ typedef union i386_cpu_flags unsigned int cpuavx512cd:1; unsigned int cpuavx512er:1; unsigned int cpuavx512pf:1; + unsigned int cpuavx512vl:1; unsigned int cpul1om:1; unsigned int cpuk1om:1; unsigned int cpuxsave:1; @@ -492,6 +495,8 @@ enum #define NO_BROADCAST 0 #define BROADCAST_1TO16 1 #define BROADCAST_1TO8 2 +#define BROADCAST_1TO4 3 +#define BROADCAST_1TO2 4 Broadcast, /* Static rounding control is supported. */ |