Re: amd64 questions

From: Andi Kleen
Date: Wed Apr 07 2004 - 13:10:23 EST


On Wed, Apr 07, 2004 at 12:49:20PM -0400, Chris Friesen wrote:
> Andi Kleen wrote:
>
> >The problem is always the long long alignment. AMD64/IA64 have different
> >alignment for long long than i386. The emulation was originally tested
> >on some RISC port, where the alignment is the same.
>
> What about a compiler flag to emit i386 code with the more strenuous
> long long alignment?

That would break other things, glibc uses long long heavily too.
The only simple way would be to add the necessary alignment by hand and
create a special 32bit on 64bit kernel iptables or ipsec.

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