On Tue, 2008-08-05 at 17:20 -0700, Kevin Diggs wrote:
> Hi,
> 

> thats bad right? Because the "addi 0, 0, 23" will not work as expected 
> because of the "special property" of r0. FYI:  The first three lines 
> after the "#APP" are from a similar function get_PLL_ratio().
> 
>       Is there a way to blacklist r0?

Yes. Use "b" instead of "r" in the constraints to force the compiler
to avoid r0 when assigning a register.

Cheers,
Ben.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to