www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/15/22:29:32

Date: Tue, 16 Sep 1997 10:27:54 +0800 (GMT)
From: Orlando Andico <orly AT dilnet DOT upd DOT edu DOT ph>
To: Serge Pachkovsky <ps AT ocisgi7 DOT unizh DOT ch>
cc: djgpp AT delorie DOT com
Subject: Re: The numer 1 compiler, DJGPP or MSVC Here's a good rating comparision
In-Reply-To: <5viu2c$10v@rzunews.unizh.ch>
Message-ID: <Pine.SGI.3.93.970916102408.4902B-100000@gibson.eee.upd.edu.ph>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019