Eggenmüller Bernd <egg...@gmx.de> writes: > Andrew Pinski schrieb: >> On Thu, May 13, 2010 at 8:46 AM, Eggenmüller Bernd <egg...@gmx.de> wrote: >> >>> Is there any implementation with less registers like this. >>> >> >> libgcc2 is written in C; so if it fails to compile you need to fix up >> your backend. There might need some middle-end fixes too with this >> small number of registers used. You might just want to disable double >> register sized integer types to fix this in the end. >> >> Thanks, >> Andrew Pinski >> >> > How can I disable double register sized integer types. Is there a > constant to do this.
Make sure that LONG_TYPE_SIZE and LONG_LONG_TYPE_SIZE are single register sized. Make TARGET_SCALAR_MODE_SUPPORTED_P return false for DImode. You'll probably have to tweak the way that libgcc2 is built, but I'm not sure just how. Ian