This is the mail archive of the
mailing list for the GCC project.
Re: [patch]: Add support of new __int128 type for targets having 128-bit integer scalar support
> I tested it on x86, which doesn't support __int128 as long as sse
> isn't enabled, and for x86_64, which does support 128-bit mode
> (TImode) as it always enables sse.
OK, so in the end __int128 isn't rejected even if MAX_FIXED_MODE_SIZE is
GET_MODE_BITSIZE (DImode) like on x86-64, and it will be accepted on all
64-bit platforms whatever their MAX_FIXED_MODE_SIZE setting.
In fact I hadn't realized that scalar_mode_supported_p totally disregards
MAX_FIXED_MODE_SIZE already. That's a bit inconsistent, but I'm not sure the
benefits of fixing it are worth the hassle.
FWIW patch looks good now. :-)