--- Comment #6 from Jan Beulich <jbeulich at novell dot com> ---
(In reply to H.J. Lu from comment #5)
> I updated users/hjl/optimize branch to encode
> testq $imm31, mem
> as
> testl $imm31, mem
> only at -O2.

I was about to suggest that, also because the memory access pattern changes
(the shorter access may not fault when the longer one would, not to think of
side effects when accessing MMIO). I'd even consider moving this higher up, to

Another thing to consider here would be to encode e.g. vxorps %zmmM, %zmmM,
%zmmN as vxorps %xmmM, %xmmM, %xmmN for the low 16 registers, as that'll be VEX
encodable, i.e. shorter than the default EVEX variant. Same for vandnps (and of
course all their flavors dealing with different data types).

You are receiving this mail because:
You are on the CC list for the bug.
bug-binutils mailing list

Reply via email to