[PATCH v2] x86: Ignore rounding for vcvt[,u]si2sd under r32 and vcvt[,u]dq2pd instead of reporting bad
Jan Beulich
jbeulich@suse.com
Thu Jan 16 08:33:46 GMT 2025
On 16.01.2025 03:44, Haochen Jiang wrote:
> Note: It seems to me that omitting 512 when using .insn with vcvt[,u]dq2pd
> will lead to 256 size. That is why I am not omitting them. It might be a
> bug for .insn but I did not look into that.
That's due to logic in s_insn() which wasn't updated for AVX10.2, yet:
if (!i.tm.opcode_modifier.evex)
{
/* Do _not_ consider AVX512VL here. */
if (i.rounding.type != rc_none || combined.bitfield.zmmword)
i.tm.opcode_modifier.evex = EVEX512;
else if (combined.bitfield.ymmword)
i.tm.opcode_modifier.evex = EVEX256;
else if (combined.bitfield.xmmword)
i.tm.opcode_modifier.evex = EVEX128;
}
Considering the AVX512VL related comment, I'm not entirely certain yet what to
best do here.
Jan
More information about the Binutils
mailing list