bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/22871] Encode instructions of 64-bit registers without the REX_


From: jbeulich at novell dot com
Subject: [Bug gas/22871] Encode instructions of 64-bit registers without the REX_W bit
Date: Wed, 21 Feb 2018 13:18:59 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22871

Jan Beulich <jbeulich at novell dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeulich at novell dot com

--- Comment #1 from Jan Beulich <jbeulich at novell dot com> ---
subq %r64, %r64 and testq $imm31, %r64 could similarly benefit. Whether
converting test{q,l,w} $imm8,%r{64,32,16} to testb $imm8,%r8 isn't as clear,
but I think reads of 8-bit registers are commonly not causing stalls (only
writes do).

Along those lines test{q,l,w} $imm,mem might allow conversion if all set bits
in imm fall within a single byte. Of course care needs to be taken that the
adjustment to the displacement won't break addressability of the object.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]