Slashdot Mirror


IBM Releases Compiler for Power4 and G5

davids-world.com writes "IBM offers its optimized XLC compiler not just for Intel CPUs, but also for its own G5 processor (article in German at Heise). Unlike gcc, it is optimized for the G5 and achieves a major boost in speed, as first results show. I guess we will have to compare the new benchmark data (once available) with the data we get with the optimized Intel compiler for Xeon. The compiler is available for download now."

10 of 471 comments (clear)

  1. Here we go again: by Anonymous Coward · · Score: 5, Insightful

    Lest anyone forget, Apple beat Intel in real world benchmarks... so the PC fanboys cried that SPEC benchmarks are the real measurement to gague speed... (probably because the comparisons were much closer when conducted this way). When SPEC benchmarks were displayed, these same fanboys cried that Intel's compiler wasn't used (instead the same compiler between platforms). Apple replied that its fairer to normalize the compiler between platforms and that while Intel could have achieved higher results when their compiler was used, Apple could do the same. So, here is that compiler. When/if the G5 outperforms Intel's best, what will the fanboys rally cry be next?

    1. Re:Here we go again: by stratjakt · · Score: 5, Insightful

      When/if the G5 outperforms Intel's best, what will the fanboys rally cry be next?

      I nominate "who gives a shit?"

      Anyone who buys a PC because of lame ass benchmarks has no use for said PC, other than to yammer endlessly. If you work with macs, get a mac, if you work with PCs, get a PC, they're two completely different worlds.

      I'm sick of X is 30% better at [specific instruction] than Y arguments. It's like "xbox is 33% faster than ps2" or "mac is 21% faster than dell!". Who gives a flying fuck anymore? Xbox has the worlds shittiest lineup of games, and Macs dont run a *lot* of software essential to people.

      They're just devices, a means to an end. Quit telling me how your boot polisher is better than my doorstop. Its irrelevant.

      --
      I don't need no instructions to know how to rock!!!!
    2. Re:Here we go again: by znu · · Score: 5, Informative

      That's not really true at the high end. The P4 doesn't support multi-processor configurations, and Intel charges a major price premium for Xeon chips. Dell wants ~$4000 for a dual 3 GHz Xeon with specs similar to the $3000 dual 2 GHz G5.

      You could probably do a bit better building your own dual Xeon system, but it still wouldn't be cheap. You're looking at probably $1300-1500 just for the motherboard and the chips -- then add a case, RAM, a hard drive, a DVD burner, a video card, etc. and, for most potential buyers, a copy of Windows XP Pro.

      --
      This space unintentionally left unblank.
  2. Re:So much for open source at IBM by nomadic · · Score: 5, Insightful

    And is there a particular reason why IBM couldn't apply their work towards gcc? So much for the whole open-source, contribute-to-the-community philosophy.

    Maybe they just didn't feel like it. Maybe they just preferred working with their own code. IBM's contributed, a lot, it doesn't mean that they're now servants of the open source community.

  3. Re:Why? by Theaetetus · · Score: 5, Interesting
    I'd imagine one could cook up code to make whichever machine they want look "faster".

    Um, that's the point. IBM cooks up code to make the G5 look as fast as possible. Intel cooks up code to make the Xeon looks as fast as possible. Now compare. Fastest code/chip against the competition's fastest code/chip. The complaint in the past was that it was always the fastest code/chip of one side against a non-optimized code on the other side. Now we can have a fair shootout.

    -T

  4. Re:So much for open source at IBM by Daniel+Boisvert · · Score: 5, Informative

    If the parent or grandparent had glanced at the PDF, they too would have noticed that GCC compatibility was one of the major points covered. There are a few pages devoted to what currently is compatible with GCC as well as what's planned. My bet is that they've had their own optimized compiler around since they first fab-ed one of these, to use for test purposes.

    It would be foolish to scrap all of the work they'd already done, as well as the performance achieved (double the performance of GCC in some cases, from the PDF). There is mention of this compiler supporting SuSe Enterprise Edition however, but not enough detail to tell if it can compile SuSe or just compile *on* SuSe.

    If there is a plan to integrate stuff from this compiler into GCC, my guess is that GCC compatibility would be the first step. It would be very difficult to try to integrate the two if they have fundamentally different structures and no common ground to speak of, not to mention that fact that chip manufacturers invariably keep the true capabilities of their hardware more or less secret until launch time, and putting code into GCC from the beginning may tip their hand to others before they're ready to do so.

    obDisclaimer: IANACompilerGuru

  5. Re:Let's be objective by stingerman101 · · Score: 5, Informative

    Do your homework. Apple modified the tests to reflect the actual shipping models, since they were running on prototype G5's. These issues have long been put to rest and Apple just updated their results the other day with actual shipping G5's. Get out of denial, x8 is not a religion, it's a processor for goodness sake.

  6. A Question by 1000StonedMonkeys · · Score: 5, Funny

    Is the word "fanboy" used by anyone but fanboys?

  7. Re:G5 upgrade woes by kerry-buckley · · Score: 5, Funny
    My 486/66 with 8 megs of ram that has the SoBig and Blaster virus runs faster than this G5 dual 2GHz machine at times.
    But I bet whoever sold you the Quadra tower sprayed silver and with "G5" written on it in crayon is laughing.
  8. I can definitely believe it by TheTranceFan · · Score: 5, Interesting
    I personally ported Macintosh Adobe Premiere 4.0 from 68000 to PowerPC. This was right when the PowerPC-based Macs were introduced (before, actually, since Apple was providing us with prerelease product). At that time, Apple's internal C compiler (then MrC) wasn't ready for primetime, nor was ThinkC. We'd been using MPW for the development, but the only good compiler for PowerPC was IBM's compiler. So I edited/built/linked the whole thing over the network on an RS/6000(?) somewhere at Adobe. I remember when I turned the optimizer on, Premiere got twice as fast, just like that.

    The IBM compiler dis some wild instruction reordering which made the optimized compiled code really hard to understand, but somehow better fitted to the processor's pipeline structure. Fortunately the only thing that broke when I turned on the optimizer was the "marching ants" used for selection, and that was the result of some way-too-fancy-casting of Pattern pointers that fooled the optimizer. I suspect the IBM compilers will continue to reign if performance is the goal.