Re: cpuid_eax damages registers (2.4.7pre7)

Kai Germaschewski
2001-07-18T22:33:29Z

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