Re: cpuid_eax damages registers (2.4.7pre7)

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Thu, 19 Jul 2001 00:25:26 +0200 (CEST)


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/