Possible gas regression

Alan Modra amodra@gmail.com
Mon Sep 6 02:55:00 GMT 2010


On Sun, Sep 05, 2010 at 09:19:05PM -0400, NightStrike wrote:
> On Sun, Sep 5, 2010 at 8:18 PM, Alan Modra <amodra@gmail.com> wrote:
> > On Sun, Sep 05, 2010 at 02:21:57PM -0400, NightStrike wrote:
> >> Using H.J's suggested fix of "andq $-1, %r8".  Thanks, HJ!
> >
> > What is the point of and'ing with a mask of all ones?
> 
> I believe the intent was to zero out a certain section of a register.

Clearly so.  I was pointing out what seems to be a bug.
"mov %r8d,%r8d" perhaps?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list