ARM gcc generates incorrect code?

Daniel Jacobowitz drow@false.org
Wed Feb 27 13:22:00 GMT 2008


On Wed, Feb 27, 2008 at 12:40:37PM -0000, Dave Korn wrote:
>                     ^^^^^ '&' means output operand (zero)
>                           is early-clobber, so cannot share
>                           a register with any input operand.

> > 			: "0" (__p)					\
>                     ^^^^^^ '0' means forcibly share an input 
>                            operand with operand zero.

That's standard.  It just means that if two input operands have the
same value, we can't reuse %0 for the other one.


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc mailing list