Re: [PATCH 1/3] X86: Optimise fls(), ffs() and fls64()

From: Jamie Lokier
Date: Thu Apr 15 2010 - 07:42:45 EST


Avi Kivity wrote:
> Likely. But we haven't tested all current and future x86 clones, and
> they may be based off the Intel documentation instead of the AMD
> documentation.

I wonder about that too. I got the impression Transmeta did lots of
testing real x86s in all sorts of corner cases, because the manuals
don't cover everything that the broad base of software depends on in
practice. Clone makers have to do it to a much higher standard than
emulators because you can't generally release patches...

I think Via (including whatever the CPU line was formerly called)
have been bitten a few times by not quite matching software
expectations.

Even Intel was caught on x86_64 at the beginning by slight differences
when they cloned AMD's design :-)

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