Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH] new system call mknod64 | Date | Tue, 22 Apr 2003 22:02:14 +0200 |
| |
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/
| |