Re: cpuid_eax damages registers (2.4.7pre7)

From: Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Date: Wed Jul 18 2001 - 17:25:26 EST


On Wed, 18 Jul 2001, Linus Torvalds wrote:

> Can you verify with this alternate patch instead? Yours works ok on
> older gcc's, but the gcc team feels that clobbers must never cover
> inputs or outputs, so your patch really generates invalid asms. Here's
> a alternate, can you verify that it works for you guys, and perhaps
> people can at the same time eye-ball it for any other issues they can
> think of?

Generated code looks good here. I checked the asm output for some
instances of cpuid_e[acd]x() in setup.c, and generated asm looks right in
all cases.

--Kai
 

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



This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:11 EST