Nick Glencross <[EMAIL PROTECTED]> wrote:

>       $I10 = word & 0x000000ff
>       $I11 = word & 0x0000ff00
>       $I12 = word & 0x00ff0000
>       $I13 = word & 0xff000000

> and the resulting code becomes

>          band I17, I16, 0x000000ff
>          band I17, I16, 0x0000ff00
>          band I17, I16, 0x00ff0000
>          band I16, I16, 0xff000000

> Although $I10 to $I13 are all temps that are never used

Well. That's it. Just use $I10 ... $I13 and they will stay what they
were. Put a print thereafter for debugging which uses these regs.

The life analysis doesn't see any more usage of these registers. So they
get reallocated - even in the same statement like $I13/I16 if possible.

> Regards,

leo

Reply via email to