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

From: Avi Kivity
Date: Wed Apr 14 2010 - 10:32:16 EST


On 04/14/2010 02:49 PM, David Howells wrote:
Matthew Wilcox<matthew@xxxxxx> wrote:

I don't know whether we can get it /documented/, but the architect I
asked said "We'll never get away with reverting to the older behavior,
so in essence the architecture is set to not overwrite."
Does that mean we can rely on it? Linus?

Even if Intel processors behave that way, other processors (real and emulated) use those manuals as a specification. Emulated processors are unlikely to touch an undefined register, but real processors may.

(qemu tcg appears not to touch the output)

--
error compiling committee.c: too many arguments to function

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