|
|
|
|
|
by inkyoto
780 days ago
|
|
> I don't think crossing cache lines is particularly much of a concern? It is a concern if a branch prediction has failed, and the current cache line has to be discarded or has been invalidated. If the instruction crosses the cache line boundary, both lines have to be discarded. For a high-performance CPU core, it is a significant and, most importantly, unnecessary performance penalty. It is not a concern for a microcontroller or a low power design, though. |
|