Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 13 submissions in the queue.
posted by martyb on Monday November 02 2015, @04:31AM   Printer-friendly
from the next-up:-jump-jiving dept.

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.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by TheRaven on Monday November 02 2015, @12:46PM

    by TheRaven (270) on Monday November 02 2015, @12:46PM (#257456) Journal
    I found the treatment quite superficial, though I agree that this topic would be quite interesting. It also read as an advert for their C compiler (which is C only, GPLv2, and therefore unlikely to be of significant interest to anyone).
    --
    sudo mod me up
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by Wootery on Monday November 02 2015, @03:30PM

    by Wootery (2341) on Monday November 02 2015, @03:30PM (#257530)

    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

      by Anonymous Coward on Thursday November 05 2015, @05:19PM (#258942)

      gcc generates an SSA intermediate-representation and does lots of optimisations. It's used everywhere.