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] |
uintmax_t is the largest of the standard unsigned C types, so it cannot be larger than unsigned long long.
On x86_64, for example:
#include <stdio.h> #include <stdint.h>
int main (void) { printf ("%lu ", sizeof (uintmax_t)); printf ("%lu ", sizeof (int)); printf ("%lu ", sizeof (long int)); printf ("%lu ", sizeof (long long int)); printf ("%lu\n", sizeof (__int128)); }
gives : 8 4 8 8 16
Is __builtin_clzll available on all platforms?
Yes, we emit calls to this built-in unconditionally in the Fortran front-end, and it has caused no trouble.
-- Marc Glisse
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |