RFC: 40 bit integer support

Bernd Schmidt bernds@codesourcery.com
Fri Jul 1 21:36:00 GMT 2011


On 07/01/11 23:18, Bernd Schmidt wrote:
>> What is the function of having both PARTIAL_INT_MODE and 
>> FRACTIONAL_INT_MODE?
> 
> Not having to change all the targets using PARTIAL_INT_MODE immediately
> to use the better mechanism.

Also, come to think of it, preventing the rest of the compiler from
trying to use such a mode in case the target only supports some very
specific operations on it. A port could choose to use PImode, defined in
machmode.def (and get __int40_t support), or it could add its own
private PDImode to use in specific situations only.


Bernd



More information about the Gcc-patches mailing list