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]

Re: Fix for parallel_ok in d10v assembler


On Tue, Dec 05, 2000 at 11:59:56AM -0800, Matthew Hiller wrote:
> On Mon, 4 Dec 2000, Michael Meissner wrote:
> 
> > What are the instructions given to the assembler, is it:
> > 
> > 	brf0t.s <xx>
> > 	mv r0, r2
> > 
> > or
> > 
> > 	mv r0, r2
> > 	brf0t.s <xx>
> > 
> > If it were the later, it should be ok to pack the instructions as:
> > 
> > 	brf0t.s <xx> || mv r0, r2
> > 
> > It is not ok to pack the former instructions in that order, unless you can
> > guarantee that r0 is not live at <xx>.  If that is the case, then your patch
> > should just check op1 for being a branch, and not check op2.
> 
> 	In this case, it's the former. As you point out, though, the
> latter case could be packed into a pair of parallel instructions without
> any problem, so my patch should only check for op1 being a branch, not
> op2.

Yes.

-- 
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482

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