[lkml]   [2007]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Userspace compiler support of "long long"
On Jun 27, 2007, at 23:57:54, Matthew Wilcox wrote:
> On Wed, Jun 27, 2007 at 06:30:52PM -0400, Kyle Moffett wrote:
>> Then all 64-bit archs have:
>> typedef signed long __s64;
>> typedef unsigned long __u64;
>> While all 32-bit archs have:
>> typedef signed long long __s64;
>> typedef unsigned long long __u64;
> include/asm-parisc/types.h:typedef unsigned long long __u64;
> For both 32 and 64-bit.
> include/asm-sh64/types.h:typedef unsigned long long __u64;
> include/asm-x86_64/types.h:typedef unsigned long long __u64;
> So that's three architectures that violate your first assertion.

Oh, ok, that makes it even easier to say this with certainty:
Changing the other 64-bit archs to use "long long" for their 64-bit
numbers will not cause additional warnings. I'm also almost certain
there are no architectures which use "long long" for 128-bit
integers. (Moreover, I can't find hardly anything which does 128-bit
integers at all).

Kyle Moffett

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-06-28 16:55    [W:0.140 / U:0.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site