This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgcc2


EggenmÃller Bernd <egge-b@gmx.de> writes:

> Andrew Pinski schrieb:
>> On Thu, May 13, 2010 at 8:46 AM, EggenmÃller Bernd <egge-b@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]