This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix for parallel_ok in d10v assembler
- To: Michael Meissner <meissner at cygnus dot com>
- Subject: Re: Fix for parallel_ok in d10v assembler
- From: Matthew Hiller <hiller at redhat dot com>
- Date: Tue, 5 Dec 2000 11:59:56 -0800 (PST)
- cc: Nick Clifton <nickc at redhat dot com>, binutils at sources dot redhat dot com
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