lkml.org 
[lkml]   [2002]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Start of compat32.h (again)
On Wed, Nov 27, 2002 at 09:29:18AM +0100, Andi Kleen wrote:

> > That is not a safe assumption. The ia64 ABI requires that a 32-bit
> > result is returned in the least-significant 32 bits only---the upper
> > 32 bits may contain garbage. It should be safe to declare the syscall
> > return type always as "long", no?
>
> But the 32bit user space surely doesn't care about any garbage in
> the upper 32bits, no ?

It does. With very few exceptions all 32-bit instructions on MIPS require
that all the register values are properly sign extended to 64-bit or the
operation of those instructions is undefined.

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

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.091 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site