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 operand without the REX_W


From: address@hidden
Subject: [Bug gas/22871] Encode instructions of 64-bit operand without the REX_W bit
Date: Thu, 22 Feb 2018 18:18:22 +0000

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

--- Comment #10 from Linus Torvalds <address@hidden> ---
(In reply to H.J. Lu from comment #7)
> 
> Good point.  I will remove "testq $imm31, mem".  I will add
> "test{q,l,w} $imm8,%r{64,32,16}" to "testb $imm8,%r8" to -O3.

I'm assuming that you  limit the immediate to just 7 bits for the testb case. 

But I think you can do the register versions at -O2. Unlike the memory ops,
there are no faulting behaviors there.

-- 
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]