--- Comment #11 from H.J. Lu < at gmail dot com> ---
(In reply to Linus Torvalds from comment #10)
> (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.

imm8 isn't sign-extended.  8 bits should work.

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

Reply via email to