This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gas is broken for x86-64


On Mon, Nov 08, 2004 at 09:56:13AM +0100, Jan Beulich wrote:
> >>> Alan Modra <amodra@bigpond.net.au> 08.11.04 09:38:07 >>>
> >On Mon, Nov 08, 2004 at 09:20:22AM +0100, Jan Beulich wrote:
> >> I would think your patch should have added both suffix-less movsb
> and
> >> movzb, or neither.
> >
> >No.  movsb is a string move instruction.  movzb is an abbreviation of
> >movzbl or movzbw depending on data size.
> 
> Certainly. But movsb is also a suffix-less variant of movsb[wlq], and

Huh?  Of course it isn't.  We can't allow that precisely because movsb
is a string move.

> since movz and movs are fully in sync with one another, allowing
> abbreviation of one should also allow the same for the other.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]