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

Matt


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