Slashdot Mirror


Application Optimization with Compilers for LOP

An anonymous reader writes "Interested in tuning your C/C++ applications for Linux on POWER? This article compares the optimization options for both Linux on POWER C/C++ compilers: GCC and IBM XL C/C++. This paper also reviews tactics, such as Interprocedural Analysis, Profile Directed Feedback, and High Order Transformations, which are used by one or both of the compilers to extract higher performance from the Power architecture."

2 of 20 comments (clear)

  1. what the hell by giel · · Score: 1, Funny
    I cannot be the only one reading this thinking "What the hell is Linux on POWER?"

    For sure you're not the only one. Almost everybody nowadays starts posting before even reading an article and or related links. Very 'Insightful'.

    --
    giel.y contains 2 shift/reduce conflicts
  2. Nothing to see here... by Anonymous Coward · · Score: 2, Funny
    Look, I'm all for optimizations and compiler technology, but the example is *lame*. First it's copying gigs of memory from one array to the other in a _non-sequential_ (!) manner. I think it is safe to say that by reordering the loops you would get all the benefits of the IBM compiler. Why not use the memcpy() function then??

    I think the lesson here is not how a compiler can save you time but how you can save time by not reading the article.