Re: return values - 32, 64, 128 bits, type defs...etc/platform size

From: willy@thepuffingroup.com
Date: Fri Apr 21 2000 - 17:59:55 EST


On Fri, Apr 21, 2000 at 02:09:35PM -0700, Linda Walsh wrote:
> Code says this should only happen on a 32bit platform. That would
> seem to imply that size of 'long long' = 'long' = 'int' on all 64 bit platforms.
> Is that the case?

The Linux kernel ABIs are either ILP32 or LP64 currently, depending
on architecture.

>What does a 64 bit platform use to represent 128-bit
> values (assuming a 'long-native int' exists)? long long long int? Eep.

They don't; long long is 64 bit on alpha, sparc64, mips64 and parisc64.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:19 EST