128-bit data model macros

Segher Boessenkool segher@kernel.crashing.org
Sat Jan 25 12:48:00 GMT 2020


Hi!

On Fri, Jan 24, 2020 at 10:40:47PM -0500, Jeffrey Walton wrote:
> On 64-bit platforms _LP64 and __LP64__ are defined.

That's not quite true.  Those macros mean that "long int" as well as
pointers are 64 bits, for the selected ABI.

> Do 128-bit machines use the macros _LP128 and __LP128__?

There is __SIZEOF_INT128__, that may be what you are looking for.


Segher



More information about the Gcc-help mailing list