Mail Archives: djgpp/1997/09/15/22:29:32
On 15 Sep 1997, Serge Pachkovsky wrote:
> : 4.x. And GCC produces faster code than the IRIX 5.3 IDO C compiler (I've
> : personally used both setups).
>
> This statement contradicts my own experience with IRIX compilers (on 5.2 IDO,
> which is fairly old by happens to be my favorite. It is not really different
> from 5.3 IDO as far as C and Fortran are concerned, which is all I need) and
> gcc.
>
> The IDO compilers would usually produce faster code (not dramatically faster,
> though - may be 20% or so) for *me*. However, if you just slam -O2 on the
> IDO compiler, you won't get the fastest possible code...
>
> In all respect, may be you are just not quite as experienced with SGI IRIX
> compilers as you are with gcc?
I agree with your last statement. I can't get -O3 to work with the IRIX
compiler (it says you have to do certain linker thingies which I don't
know how to do). However, I didn't just ``slam -O2 on the IDO compiler.''
Anyway, for reference, the GCC switches I used were -O2 -Wall -mcpu=r4000
-mips2 and for the IDO CC I used -O2 -mips2 (-O3 wouldn't work because of
the ucode thingie).
-------------------------------------------------------------------
Orlando Alcantara Andico
WWW: http://www2.mozcom.com/~orly/ Email: orly AT mozcom DOT com
ICBM: 14 30 00 N 120 59 00 E POTS: (+632) 932-2385
- Raw text -