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: 4, Interesting) by pixeldyne on Monday November 02 2015, @08:34AM
The article that is, and the submission. This is the kind of content I'd like to see more on SN.
(Score: 2) by Phoenix666 on Monday November 02 2015, @12:20PM
Do you have more sources for this kind of article? Not many like this turn up in sources I read or the RSS log.
Washington DC delenda est.
(Score: 2) by TheRaven on Monday November 02 2015, @12:46PM
sudo mod me up
(Score: 2) by Wootery on Monday November 02 2015, @03:30PM
Also, their compiler project seems totally pointless.
Want a C compiler that generates an SSA intermediate-representation and does lots of optimisations? We have that, it's called Clang, it's awesome, and it's used everywhere such a compiler is needed.
(Score: 0) by Anonymous Coward on Thursday November 05 2015, @05:19PM
gcc generates an SSA intermediate-representation and does lots of optimisations. It's used everywhere.
(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.