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


2010/4/8 Eric Botcazou <ebotcazou@adacore.com>:
>> Well, AFAICS it is guaranteed. See targhook.c for default
>> implementation of scalar_mode_supported_p
>> (default_scalar_mode_supported_p): Which rejects - for targets not
>> overriding it - modes > 2 * BITS_PER_WORD.
>
> So you have tested the patch only on platforms that don't support __int128?
> MAX_FIXED_MODE_SIZE is the default (GET_MODE_BITSIZE (DImode)) on x86/x86-64.
>
> --
> Eric Botcazou
>

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.
But of course a test on a different architecture could be helpful.

Regards,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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