binutils-gdb/gas/doc
Cui,Lili 0cc7872125 [PATCH 1/2] Enable Intel AVX512_FP16 instructions
Intel AVX512 FP16 instructions use maps 3, 5 and 6. Maps 5 and 6 use 3 bits
in the EVEX.mmm field (0b101, 0b110). Map 5 is for instructions that were FP32
in map 1 (0Fxx). Map 6 is for instructions that were FP32 in map 2 (0F38xx).
There are some exceptions to this rule. Some things in map 1 (0Fxx) with imm8
operands predated our current conventions; those instructions moved to map 3.
FP32 things in map 3 (0F3Axx) found new opcodes in map3 for FP16 because map3
is very sparsely populated. Most of the FP16 instructions share opcodes and
prefix (EVEX.pp) bits with the related FP32 operations.

Intel AVX512 FP16 instructions has new displacements scaling rules, please refer
to the public software developer manual for detail information.

gas/

2021-08-05  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
            H.J. Lu  <hongjiu.lu@intel.com>
            Wei Xiao <wei3.xiao@intel.com>
            Lili Cui  <lili.cui@intel.com>

	* config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
	(cpu_arch): Add .avx512_fp16.
	(cpu_noarch): Add noavx512_fp16.
	(pte): Add evexmap5 and evexmap6.
	(build_evex_prefix): Handle EVEXMAP5 and EVEXMAP6.
	(check_VecOperations): Handle {1to32}.
	(check_VecOperands): Handle CheckRegNumb.
	(check_word_reg): Handle Toqword.
	(i386_error): Add invalid_dest_and_src_register_set.
	(match_template): Handle invalid_dest_and_src_register_set.
	* doc/c-i386.texi: Document avx512_fp16, noavx512_fp16.

opcodes/

2021-08-05  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
            H.J. Lu  <hongjiu.lu@intel.com>
            Wei Xiao <wei3.xiao@intel.com>
            Lili Cui  <lili.cui@intel.com>

	* i386-dis.c (EXwScalarS): New.
	(EXxh): Ditto.
	(EXxhc): Ditto.
	(EXxmmqh): Ditto.
	(EXxmmqdh): Ditto.
	(EXEvexXwb): Ditto.
	(DistinctDest_Fixup): Ditto.
	(enum): Add xh_mode, evex_half_bcst_xmmqh_mode, evex_half_bcst_xmmqdh_mode
	and w_swap_mode.
	(enum): Add PREFIX_EVEX_0F3A08_W_0, PREFIX_EVEX_0F3A0A_W_0,
	PREFIX_EVEX_0F3A26, PREFIX_EVEX_0F3A27, PREFIX_EVEX_0F3A56,
	PREFIX_EVEX_0F3A57, PREFIX_EVEX_0F3A66, PREFIX_EVEX_0F3A67,
	PREFIX_EVEX_0F3AC2, PREFIX_EVEX_MAP5_10, PREFIX_EVEX_MAP5_11,
	PREFIX_EVEX_MAP5_1D, PREFIX_EVEX_MAP5_2A, PREFIX_EVEX_MAP5_2C,
	PREFIX_EVEX_MAP5_2D, PREFIX_EVEX_MAP5_2E, PREFIX_EVEX_MAP5_2F,
	PREFIX_EVEX_MAP5_51, PREFIX_EVEX_MAP5_58, PREFIX_EVEX_MAP5_59,
	PREFIX_EVEX_MAP5_5A_W_0, PREFIX_EVEX_MAP5_5A_W_1,
	PREFIX_EVEX_MAP5_5B_W_0, PREFIX_EVEX_MAP5_5B_W_1,
	PREFIX_EVEX_MAP5_5C, PREFIX_EVEX_MAP5_5D, PREFIX_EVEX_MAP5_5E,
	PREFIX_EVEX_MAP5_5F, PREFIX_EVEX_MAP5_78, PREFIX_EVEX_MAP5_79,
	PREFIX_EVEX_MAP5_7A, PREFIX_EVEX_MAP5_7B, PREFIX_EVEX_MAP5_7C,
	PREFIX_EVEX_MAP5_7D_W_0, PREFIX_EVEX_MAP6_13, PREFIX_EVEX_MAP6_56,
	PREFIX_EVEX_MAP6_57, PREFIX_EVEX_MAP6_D6, PREFIX_EVEX_MAP6_D7
	(enum): Add EVEX_MAP5 and EVEX_MAP6.
	(enum): Add EVEX_W_MAP5_5A, EVEX_W_MAP5_5B,
	EVEX_W_MAP5_78_P_0, EVEX_W_MAP5_78_P_2, EVEX_W_MAP5_79_P_0,
	EVEX_W_MAP5_79_P_2, EVEX_W_MAP5_7A_P_2, EVEX_W_MAP5_7A_P_3,
	EVEX_W_MAP5_7B_P_2, EVEX_W_MAP5_7C_P_0, EVEX_W_MAP5_7C_P_2,
	EVEX_W_MAP5_7D, EVEX_W_MAP6_13_P_0, EVEX_W_MAP6_13_P_2,
	(get_valid_dis386): Properly handle new instructions.
	(intel_operand_size): Handle new modes.
	(OP_E_memory): Ditto.
	(OP_EX): Ditto.
	* i386-dis-evex.h: Updated for AVX512_FP16.
	* i386-dis-evex-mod.h: Updated for AVX512_FP16.
	* i386-dis-evex-prefix.h: Updated for AVX512_FP16.
	* i386-dis-evex-reg.h : Updated for AVX512_FP16.
	* i386-dis-evex-w.h : Updated for AVX512_FP16.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX512_FP16_FLAGS,
	and CPU_ANY_AVX512_FP16_FLAGS. Update CPU_ANY_AVX512F_FLAGS
	and CPU_ANY_AVX512BW_FLAGS.
	(cpu_flags): Add CpuAVX512_FP16.
	(opcode_modifiers): Add DistinctDest.
	* i386-opc.h (enum): (AVX512_FP16): New.
	(i386_opcode_modifier): Add reqdistinctreg.
	(i386_cpu_flags): Add cpuavx512_fp16.
	(EVEXMAP5): Defined as a macro.
	(EVEXMAP6): Ditto.
	* i386-opc.tbl: Add Intel AVX512_FP16 instructions.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Ditto.
2021-08-05 21:03:41 +08:00
..
all.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
as.texi Add a generic .bss directive for ELF based targets. 2021-05-07 17:08:48 +01:00
c-aarch64.texi aarch64: Remove support for CSRE 2021-01-11 15:01:09 +00:00
c-alpha.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-arc.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-arm.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-avr.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-bfin.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-bpf.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-cr16.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-cris.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-csky.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-d10v.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-d30v.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-epiphany.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-h8300.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-hppa.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-i386.texi [PATCH 1/2] Enable Intel AVX512_FP16 instructions 2021-08-05 21:03:41 +08:00
c-ia64.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-ip2k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-lm32.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m32c.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m32r.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m68hc11.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m68k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-metag.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-microblaze.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-mips.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-mmix.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-msp430.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-mt.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-nds32.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-nios2.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-ns32k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-or1k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-pdp11.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-pj.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-ppc.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-pru.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-riscv.texi RISC-V: PR27158, fixed UJ/SB types and added CSS/CL/CS types for .insn. 2021-02-19 11:44:49 +08:00
c-rl78.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-rx.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-s12z.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-s390.texi IBM Z: Implement instruction set extensions 2021-02-15 14:32:17 +01:00
c-score.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-sh.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-sparc.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tic6x.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tic54x.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tilegx.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tilepro.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-v850.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-vax.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-visium.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-wasm32.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xc16x.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xgate.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xstormy16.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xtensa.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-z8k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-z80.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
fdl.texi
h8.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
internals.texi gas: drop TC_ADDRESS_BYTES conditionals 2021-06-14 08:18:07 +02:00
Makefile.am support generating multi-html pages in parallel 2021-05-08 12:06:07 -04:00
Makefile.in support generating multi-html pages in parallel 2021-05-08 12:06:07 -04:00