Re: [PATCH] x86/asm/entry/64: Use shorter MOVs from segmers registers
From: Linus Torvalds
Date: Thu May 14 2015 - 13:08:10 EST
On Thu, May 14, 2015 at 10:05 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I don't object to the patch, but did we actually confirm that it
> always overwrites all of %ecx?
Just to clarify: I don't object to the patch because the code doesn't
actually end up *depending* on the high bits anyway, and does
word-sized compares etc. And the instruction size and speed things I
don't doubt. So it's just the commit message I wanted to check wrt
that whole "always overwrites all of %ecx". Because older CPU's didn't
necessarily (things like partial register writes are much less of an
issue when you're in-order and stupid ;)
Linus
--
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/