The "jump threading" compiler optimization (aka -fthread-jump) turns conditional into unconditional branches on certain paths at the expense of code size. For hardware with branch prediction, speculative execution, and prefetching, this can greatly improve performance. However, there is no scientific publication or documentation at all. The Wikipedia article is very short and incomplete.
The linked article has an illustrated treatment of common code structures and how these optimizations work.
(Score: 2) by ledow on Monday November 02 2015, @01:23PM
Topic yes.
Treatment of it, no.
I actually didn't find the explanation all that clear and I'm not a stranger to the way modern processors operate.
The point of it also was clear - why would you need or want to do this? It didn't seems covered particularly well.
I'd like more of this, but... literally.. more of this. The article was quite bare, I felt.
(Score: 3, Touché) by Phoenix666 on Monday November 02 2015, @04:04PM
If you have better sources, please submit them. Many of us would like to see them. I don't see much like this.
Washington DC delenda est.