comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: Ada vs. C: performance, size
Date: 1997/01/10
Date: 1997-01-10T00:00:00+00:00	[thread overview]
Message-ID: <32D646A7.1AEF@gsfc.nasa.gov> (raw)
In-Reply-To: dewar.852893008@merv


Just an anecdote: for a UT69R00 target, I have some C code that aborts
the gcc compiler when using -O0, but not with -O2. The problem is that
the register allocator runs out of registers! This is a VERY simple
chip, without even indexed addressing, so gcc gives up. But with -O2, it
does a much better job of figuring out how to use the registers
efficiently, and can compile successfully.

If anyone has had a similar experience with a gcc port, I'd like to hear
about it, particularly if you have any advice on how to make it better!
-- 
- Stephe




  reply	other threads:[~1997-01-10  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-09  0:00 Ada vs. C: performance, size W. Wesley Groleau (Wes)
1997-01-10  0:00 ` Robert Dewar
1997-01-10  0:00   ` Stephen Leake [this message]
1997-01-13  0:00 ` Richard A. O'Keefe
  -- strict thread matches above, loose matches on Subject: below --
1997-01-09  0:00 W. Wesley Groleau (Wes)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox