On 04/30/2014 05:00 PM, Jeff Law wrote:
> On 04/30/14 02:16, Richard Biener wrote:
>>
>> Testing coverage for non-64bit hwi configs is really low these
>> days (I know of only 32bit hppa-*-* that is still built and
>> tested semi-regularly - Dave, I suppose the host compiler
>> has a 64bit long long type there, right?).
> My recollection is that HP aCC supports long long, but I don't recall
> when support for that was introduced. I'm really trying hard to forget
> hpux-isms.
GCC (in libdecnumber) has been relying on long long / ll existing, and on
it being 64-bits wide, for more than 7 years now, and nobody seems to have
tripped on any host compiler that doesn't support it.
See libdecnumber/bid/bid-dpd.h / bid/bid2dpd_dpd2bid.h. git blame shows:
10de71e1 (meissner 2007-03-24 17:04:47 +0000 25) typedef unsigned int UINT32;
^^^^^^^^^^
10de71e1 (meissner 2007-03-24 17:04:47 +0000 26) typedef unsigned long long
UINT64;
^^^^^^^^^
10de71e1 (meissner 2007-03-24 17:04:47 +0000 27) typedef struct { UINT64 w[2];
} UINT128;
...
10de71e1 (meissner 2007-03-24 17:04:47 +0000 28) { {
0x3b645a1cac083127ull, 0x0083126e978d4fdfull } }, /* 3 extra digits */
10de71e1 (meissner 2007-03-24 17:04:47 +0000 29) { {
0x4af4f0d844d013aaULL, 0x00346dc5d6388659ULL } }, /* 10^(-4) * 2^131 */
^^^
So the issue is moot.
> Plus, they can always start the bootstrapping process with GCC 4.9.
They'd have to go much further back than that.
--
Pedro Alves