![]() | ||||||||||
Messages in this thread |
On Tue, 24 Dec 2002, Rogier Wolff wrote: > > Ehmm, Linus, > > Why do you want to align the return point? Why are jump-targets aligned? > Because they are faster. But why are they faster? Because the > cache-line fill is more efficient: the CPU might execute those > instructions, while it has a smaller chance of hitting the instructions > before the target. Actually, no. Many CPU's apparently also have issues with instruction decoding etc, where certain alignments (4 or 8-byte aligned) are better simply because they feed the decode logic more efficiently. Everything here fits in one cache-line, so clearly the cacheline issues don't matter. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2005-03-22 13:31 [from the cache] ©2003-2008 | ||||||||||