[PATCH v4] Support Intel AVX10.2 media instructions

Jan Beulich jbeulich@suse.com
Tue Oct 8 14:18:38 GMT 2024


On 08.10.2024 09:58, Haochen Jiang wrote:
> Hi all,
> 
> This is the v4 patch for media instructions suuport for AVX10.2, with
> changes in v4 and patch descrption embedded following.
> 
> Tested on x86-64-pc-linux-gnu. Ok for trunk?

Yes, with ...

> --- a/opcodes/i386-opc.tbl
> +++ b/opcodes/i386-opc.tbl
> @@ -2930,11 +2930,13 @@ vpdpwssd<vnni><sat>, 0x6652|<sat:opc>, <vnni:avx>_VNNI, Modrm|Space0F38|Src1VVVV
>  
>  // {AVX512,AVX}_VNNI instructions end
>  
> +<vnni:int8:int16:attr:reg:mem, $y:_VNNI_INT8:_VNNI_INT16:Vex::, $z:10_2:10_2:Masking|Broadcast|Disp8ShiftVL:RegZMM:Dword>

... this wrapped across three lines, like we do elsewhere for otherwise
overlong templates:

<vnni:int8:int16:attr:reg:mem, +
    $y:_VNNI_INT8:_VNNI_INT16:Vex::, +
    $z:10_2:10_2:Masking|Broadcast|Disp8ShiftVL:RegZMM:Dword>

Jan


More information about the Binutils mailing list