lkml.org 
[lkml]   [2008]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 01/24] types: create <asm-generic/int-*.h>
From
From: Jan Engelhardt <jengelh@computergmbh.de>
Date: Fri, 25 Apr 2008 20:27:53 +0200 (CEST)

> On Friday 2008-04-25 01:05, H. Peter Anvin wrote:
>
> >This creates two generic files with common integer definitions; one
> >where 64 bits is "long" (most 64-bit architectures) and one where 64
> >bits is "long long" (all 32-bit architectures and x86-64.)
>
> long long is 64 bits on both 32 and 64, is not it?
> If so, the split between 32 and 64 should not be necessary.

Because of the large precendence, if you change this stuff, you're
going to get tons of warnings on the platforms that use "unsigned
long" currently if you change them to use "unsigned long long".

Think about all of the implicit type conversions, argument passing,
et al.

I know because I tried to convert sparc64 over to "unsigned long long"
to make it more like powerpc, and I found quickly that fixing up all
the fallout simply was not worth it.


\
 
 \ /
  Last update: 2008-04-25 22:33    [W:0.289 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site