gcc vs HP C ?



hello group,

I have a C360 running UX 11.0.
I happen to have the native HP ansi cc
(swinstall says version 11.11.06)
as well as gcc 4.0.2.
I compile with -O for both compilers.
When I run number crunching, however,
gcc code runs faster by 10 to 40 percent than
the native cc. Using +O3 and +DA2.0 doesn't change a bit.
HP beaten at the home front ?

.



Relevant Pages

  • Re: How do I install this missing library?
    ... you really should be carefully following LSTC's installation ... libg2c is part of gcc. ... to tell a newcomer to compile. ... like the source code to GNU tar, and make sure you understand what's ...
    (comp.os.linux.misc)
  • Re: Bonic seti@home client for HPUX
    ... HP uses HP ANSI C and not gcc for SPECint:) I would strongly ... suspect that code generation for PA-RISC is better in the HP compilers ... They way to see of course is to compile with the HP ANSI C compiler ...
    (comp.sys.hp.hpux)
  • Re: HPGCC Questions ladies and gentlemen!!!
    ... No matter how you slice it in order to compile a C program you need to know ... it took a few hours just to get gcc running in my computer ... of the students that used an ide in the c++ class I took a few years ago. ... so why not use a data inspector if it's available? ...
    (comp.sys.hp48)
  • Re: Aquarius prolog so fast?
    ... Mercury cannot do all this because Mercury cannot keep track of the fact ... you need this capability quite rarely, ... Why not the alternative GCC back-end, ... While Mercury can compile to the internal data structures of the gcc backend, ...
    (comp.lang.prolog)
  • Re: Question about gcc on OS X 10.0.4.11 Tiger
    ... running Linux and gcc 4.0.2. ... How do I switch to a different version of gcc to compile with on OS X ... fgetsis a libc function and is not really part of the compiler. ... int main(int argc, char* argv){ ...
    (comp.sys.mac.programmer.help)