Re: [PATCH RFC 0/7] x86: convert ticketlocks to C and remove duplicatecode

From: H. Peter Anvin
Date: Fri Jul 15 2011 - 19:07:34 EST


On 07/15/2011 10:24 AM, Jeremy Fitzhardinge wrote:
>
> I posted a bug about gcc not generating cmp %ah, %al in this case, but the general consensus was that
> it's not a good choice on current Intel chips, because it causes a partial word stall, and that the
> current generated code is better. (And gcc can generate "cmp %Xh, %Xl" if it wants to - see below.)
>

Which version of gcc is this, and also, do you have the gcc bug report
number? I was talking to H.J. and he said he thought it sounded strange.

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