Application Optimization with Compilers for LOP 20
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."
Re:What? (Score:1)
what the hell (Score:2, Funny)
For sure you're not the only one. Almost everybody nowadays starts posting before even reading an article and or related links. Very 'Insightful'.
Re:what the hell (Score:1)
Re:What? (Score:2)
Considering the spread, I for one am interested very interested in the article and esp. in order to see what kind of improvements gcc can still obtain. This gives me a very strong incentive to keep a close eye on the development and re-create my crosscompilation environment with major and mid gcc releases.
Re:What? (Score:1)
Re:What? (Score:2)
Power PC rocks !! (Score:4, Informative)
For one, they have true 3 register operations. Which means that every binary operation has a src1, src2, and dst. Also all opcodes are 32 bit - no exceptions (jmp offsets are easy to check for).
Because of 32 registers (not a measly 8), most of the code can run very fast off them , especially those tight loops. Also the cache touch instructions which do not segfault for invalid addresses helps you fetch arrays before their indexes are validated.
All in all, I prefer PPC to x86 on any day. Now if only they'd have a common FPU opcode set.
Re:Power PC rocks !! (Score:2, Informative)
Not quite the operator I'd use... (Score:2)
There are several lines of chips based off of the POWER architecture. PowerPC is one of them, and as others have mentioned it has fixed-size 32-bit instructions. It's a subset of the POWER architecture which has this particular property, but that property might not apply to POWER itself.
Nothing to see here... (Score:2, Funny)
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.