comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de>
Subject: Re: sub-optimal code for packed boolean arrays -- bug or inherent limitation
Date: Tue, 03 Jul 2007 10:37:10 +0200
Date: 2007-07-03T10:36:39+02:00	[thread overview]
Message-ID: <1183451830.7103.3.camel@kartoffel> (raw)
In-Reply-To: <1183447376.437590.168620@o61g2000hsh.googlegroups.com>

On Tue, 2007-07-03 at 00:22 -0700, Harald Korneliussen wrote:
> On Jul 3, 3:01 am, "Jeffrey R. Carter"
> <spam.jrcarter....@acm.nospam.org> wrote:
> > I doubt the compiler's code will make your chess
> > program fail to meet its timing requirements; I doubt if you'll notice
> > the difference at all, so I don't see why you care. If you must have a
> > specific sequence of machine code operations, you should use a
> > machine-code insertion.
> >
> Now now, chess programs written to compete with other chess programs
> need all the performance they can get. You could argue that he should
> be using C with inline assembly (and probably another compiler than
> GCC), but wouldn't it be kind of neat if a competitive and readable
> chess program was written in Ada?

Clear Ada is the point of this Ada program as the OP has explained
on the GCC mailing list.


> I would ask the GCC team, after looking at the intermediate code. I'm
> sure they're not content with merely having the compiler generate
> correct code.

The suggestion was different. Still, the problem is identified
as non-optimal code.





  reply	other threads:[~2007-07-03  8:37 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02 19:34 sub-optimal code for packed boolean arrays -- bug or inherent limitation Alinabi
2007-07-02 20:08 ` Ludovic Brenta
2007-07-03  1:01 ` Jeffrey R. Carter
2007-07-03  7:22   ` Harald Korneliussen
2007-07-03  8:37     ` Georg Bauhaus [this message]
2007-07-03  7:59 ` gautier_niouzes
2007-07-03  9:25 ` Stefan Lucks
2007-07-03 12:40   ` Stefan Lucks
2007-07-03 15:42 ` Adam Beneschan
2007-07-03 18:04 ` Alinabi
2007-07-03 18:09   ` Alinabi
2007-07-03 18:17     ` Alinabi
2007-07-10  2:06       ` Randy Brukardt
2007-07-03 18:36   ` Jeffrey R. Carter
2007-07-03 19:42     ` Alinabi
2007-07-04  1:12       ` Jeffrey R. Carter
2007-07-04 10:15         ` Jeffrey Creem
2007-07-04 18:28           ` Jeffrey R. Carter
2007-07-04  3:22       ` Steve
2007-07-04  6:31         ` Harald Korneliussen
2007-07-08 22:53     ` Robert A Duff
2007-07-09  6:09       ` tmoran
2007-07-04  9:00   ` Jean-Pierre Rosen
2007-07-04 18:27     ` tmoran
2007-07-04 19:16       ` Pascal Obry
2007-07-05  1:45         ` tmoran
2007-07-05  4:53       ` Jeffrey R. Carter
2007-07-04 18:51     ` tmoran
2007-07-08 22:58 ` Robert A Duff
replies disabled

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