 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [coldfire-gnu-discuss] Toolchain, asm parameters numbering and optimisation flags
- To: fred@xxxxxxxxxxxx, coldfire-gnu-discuss@xxxxxxxxxxxxxxxx
- Subject: Re: [coldfire-gnu-discuss] Toolchain, asm parameters numbering and optimisation flags
- From: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
- Date: Tue, 5 Dec 2006 18:54:39 -0500
This is the same problem as Nathan was talking about.
On Wed, Dec 06, 2006 at 12:24:02AM +0100, fred@xxxxxxxxxxxx wrote:
> "move.l (%[X])+, %[e1];\n"
> "move.l (%[Y])+, %[e2];\n"
> "swap %[e1];"
> "swap %[e2];"
> "move.w %[e1], %[t1];"
> "move.w %[e2], %[t2];"
You are setting these. Therefore they are not inputs to your asm;
inputs are only read, not modified.
> : [sum]"=&d" (sum), [len]"+&d"(len)
> : [X]"a"(x), [Y]"a"(y), [t1]"d"(t1), [t2]"d"(t2), [e1]"d"(e1), [e2]"d"(e2)
But this says that t1 is only an input.
--
Daniel Jacobowitz
CodeSourcery
|
|