Fix for parallel_ok in d10v assembler
Matthew Hiller
hiller@redhat.com
Tue Dec 5 11:59:00 GMT 2000
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
More information about the Binutils
mailing list