On 11/04/2009 05:34 AM, Mohamed Shafi wrote:
Load-store uses 32bits. Sign extension happens automatically. So i
have choosen INT_MODE (RI, 5) and copied movsi and renamed it to
movri. I have also specified that RImode need only one register.

This isn't going to work. In order to get correct code, you're going to need to be able to spill and reload the full 40-bit value.

If you can't do this easily... then I'm afraid we'll have to find a more complicated solution which involves only exposing RImode values after register allocation.

internal compiler error: in immed_double_const, at emit-rtl.c:553

Hmm. This is a nasty little logic error. The quickest work-around for the problem is to set need_64bit_hwint in config.gcc.


r~

Reply via email to