[PATCH v2] x86: Ignore rounding for vcvt[,u]si2sd under r32 and vcvt[,u]dq2pd instead of reporting bad

Christian Ludloff ludloff@gmail.com
Thu Jan 16 03:25:02 GMT 2025


On Wed, Jan 15, 2025 at 7:20 PM Jiang, Haochen <haochen.jiang@intel.com> wrote:
> This is a little tricky here. When we enabled ymm rounding for AVX10.2, instead of
> doing tons of changes or additions for entries in this file, we handle them mostly in
> build_evex_prefix and check_VecOperands for the U bit and rounding check. Then
> we will only need to add rounding indicators for ymm/zmm separated insn entries.
> Basically in Binutils, AVX10.2 impiles AVX10.1 and AVX10.1 impiles AVX512*
> (except for Xeon Phi and VP2INTERSECT). That is why adding rounding here in an
> AVX512VL entry will enable ymm rounding for AVX10.2. When ymm rounding is
> used in inst, we will do one more check whether AVX10.2 is there. If it is not
> there, we will report error.
>
> The commit adding AVX10.2 ymm rounding:
> https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=85e370a3d63f88386e98b435f43fa63e9e54130b

Thanks!

--
C.


More information about the Binutils mailing list