Re: [PATCH 5/14] i386 / Use early clobber to eliminate rotate in desc

From: Andi Kleen
Date: Tue Aug 16 2005 - 18:45:38 EST


On Wed, Aug 10, 2005 at 09:54:11PM -0700, zach@xxxxxxxxxx wrote:
> Use an early clobber on addr to avoid the extra rorl instruction at the
> end of _set_tssldt_desc.

I would suggest to just use C for this. I do this on x86-64 and
I don't think there is any reason to use this hard to maintain
code for it.

It's probably a left over from Linus first experiments with inline
assembly, similar to the old string.h and by now so obsolete
it doesn't even stink anymore.

-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/