Related articles |
---|
Sun compilers: acc vs. gcc? cooper@holly.imsi.com (1994-10-01) |
Re: Sun compilers: acc vs. gcc? harold@forsythe.stanford.edu (1994-10-03) |
Re: Sun compilers: acc vs. gcc? rfg@netcom.com (1994-10-05) |
Re: Sun compilers: acc vs. gcc? J.C.Highfield@loughborough.ac.uk (1994-10-06) |
Re: Sun compilers: acc vs. gcc? khb@Eng.Sun.COM (1994-10-07) |
Re: Sun compilers: acc vs. gcc? cord2403@cslabs2c4.engr.ccny.cuny.edu (1994-10-20) |
Newsgroups: | comp.compilers |
From: | J.C.Highfield@loughborough.ac.uk |
Originator: | cojch@hpd.lut.ac.uk |
Keywords: | sparc, C |
Organization: | Loughborough University, UK. |
References: | 94-10-009 |
Date: | Thu, 6 Oct 1994 09:54:36 GMT |
cooper@imsi.com writes:
>Can anyone offer a comparison of Gcc vs. Acc, sun's ansi compiler? I'd
>like to know if there is any reason to buy Acc, if I'm happy with Gcc.
I tried these when compiling my transputer emulator, (a simple instruction
interpreting one). I played around with the optimisation options quite
a bit but never got acc to perform significantly better than gcc.
[acc reports "SC1.0 1Mar1991" and gcc was probably 2.4.5 then]
Neither seemed to do at all well at inlining my big switch statement
procedure into my main loop - turning on inlining gained a couple of
percent, even with adding several "inline" keywords. Hand inlining two
procedures gained me 10% over that.
Hopefully both compilers have improved.
Julian
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.