[PATCH] x86/APX: Add invalid checks for APX EVEX.X4.

Jan Beulich jbeulich@suse.com
Fri Apr 19 09:42:06 GMT 2024


On 19.04.2024 06:24, Cui, Lili wrote:
> APX spec updated EVEX payload description for bit P[10] (now called
> EVEX.U) to include usage between APX and AVX10 and how it is related
> to EVEX.X4.
> 
> EVEX.X4 is defined only when ModRM.Mod != 3. When ModRM.Mod = 3,
> the U bit must be 1 for all promoted instructions.
> 
> gas/ChangeLog:
> 
>         * config/tc-i386.c (build_apx_evex_prefix): Added invalid check for APX
>         X4.
>         * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: Added invalid
>         testcase.
>         * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s: Ditto.
> 
> opcodes/ChangeLog:
> 
>         * i386-dis.c (get_valid_dis386): Added invalid check for APX X4.

Okay.

Jan



More information about the Binutils mailing list