lkml.org 
[lkml]   [2003]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] new system call mknod64
Date
Shachar Shemesh wrote:


>>On x86_64, the struct produces the same code as the scalar.
>>The same is true on s390x.
>>
> I don't know how x86_64 is doing, but x86 does not issue a bus error
> when unaligned value is being accessed. It is therefor reasonable for
> the compiler not to worry about it. If x86_64 is the same, the results
> you report seem like a reasonable feature of gcc, rather than a bug.

Right, from include/asm-*/unaligned.h, you can see which archs are
able to do unaligned accesses:

cris, i386, m68k, ppc, ppc64, s390, s390x and x86_64

Arnd <><
-
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:34    [W:0.036 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site