Re: [PATCH] x86: Align jump targets to 1 byte boundaries

From: H. Peter Anvin
Date: Fri Apr 10 2015 - 14:33:36 EST


On 04/10/2015 10:54 AM, Ingo Molnar wrote:
>
> Yeah, but the decoder stops if the prefetch crosses a cache line? So
> it appears to be an interaction of the 16 byte prefetch window and
> cache line boundaries?
>

I don't think it has anything to do with cache lines. Rather, you may
lose a cycle if the first instruction bundle crosses into a new 16-byte
chunk.

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