Re: x86 setup code rewrite in C - revised
From: Etienne Lorrain
Date: Mon Jul 16 2007 - 06:22:22 EST
--- "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
> Etienne Lorrain wrote:
> > "mov %fs:(%ebx,%eax,4),%ecx" works for me.
>
> That's an example on what "m" can generate.
>
> "g" could produce stuff like:
>
> mov %fs:$1234,%ecx
> mov %fs:%eax,%ecx
My solution was to use %fs:%a1 instead of %fs:%1 , but after checking your
solution produces better assembly.
Etienne.
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
-
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/