From: Simon Wright <simon@pushface.org>
Subject: Re: avr-ada ubuntu cross-compiler build failed
Date: Sat, 12 Feb 2011 21:45:14 +0000
Date: 2011-02-12T21:45:14+00:00 [thread overview]
Message-ID: <m2hbc9j5at.fsf@pushface.org> (raw)
In-Reply-To: bphdl6lebvfedhs750hb05oapoqq1u0gf4@4ax.com
Brian Drummond <brian_drummond@btconnect.com> writes:
> However some of the example code uses renaming, and I can see
> why. Naming a register or bit according to it's intent, rather than
> its address, does add a lot to readability, essentially "for free" in
> terms of code generation.
Good point.
It would be a lot of work, but inlined subprograms might do the job?
With GNAT, you can use high optimisation levels and -gnatn (-gnatN?) but
I've found you need to be more selective (increases code size, often
slows the executable). Use pragma Inline_Always (a GNAT special), not
just Inline.
next prev parent reply other threads:[~2011-02-12 21:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-05 17:30 avr-ada ubuntu cross-compiler build failed Adrianr
2011-02-06 20:28 ` Yannick Duchêne (Hibou57)
2011-02-08 9:24 ` Yannick Duchêne (Hibou57)
2011-02-10 12:18 ` GCC and cross compiling Ada, was: " Simon Clubley
2011-02-10 12:53 ` Simon Clubley
2011-02-10 17:10 ` Yannick Duchêne (Hibou57)
2011-02-10 19:46 ` Simon Clubley
2011-02-11 12:51 ` Adrianr
2011-02-11 15:13 ` Brian Drummond
2011-02-11 18:16 ` Simon Wright
2011-02-11 18:44 ` Brian Drummond
2011-02-12 13:27 ` Simon Wright
2011-02-12 17:49 ` Brian Drummond
2011-02-12 21:45 ` Simon Wright [this message]
2011-02-12 6:46 ` Jacob Sparre Andersen
2011-02-12 17:03 ` Adrianr
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox