This is the mail archive of the gcc-patches@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: [patch]: Add support of new __int128 type for targets having 128-bit integer scalar support


On 05/25/2010 07:53 PM, Kai Tietz wrote:
>> By the way, if people interested in types __int128 and __uint128 are
>> willing to have a look to libstdc++/40856, I attached there a patch
>> implementing numeric_limits<__int128> and numeric_limits<__uint128>
>> which seems almost ready to go in for 4.6.0... In particular, I'm I
>> right to assume that the facilities are available for:
>>
>> #if ((defined(__LP64__) && !defined(__hppa__)) || defined(_WIN64))
>>
>> ?? Other comments?
>>
>> Thanks,
>> Paolo.
>>     
> The facility of __int128 gets indicated by the builtin-define
> '__SIZEOF_INT128__'. This type is just valid for targets having
> HOST_BITS_PER_WIDE_INT >= 64 and the TImode is a valid mode for
> target. 
What do you mean exactly by "valid"? You mean is defined? Can I use then:

#ifdef __SIZEOF_INT128__

if not, what else should I use?

Thanks,
Paolo.


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