From: Gautier <Gautier.deMontmollin@Maths.UniNe.CH>
Subject: Re: C like op= proposal
Date: 1999/08/18
Date: 1999-08-18T00:00:00+00:00 [thread overview]
Message-ID: <37BA9AFB.257BB730@Maths.UniNe.CH> (raw)
In-Reply-To: 87emh2l218.fsf@antinea.enst.fr
> Gautier> a(b(c,d+e(f,g)).h(i,j)) := a(b(c,d+e(f,g)).h(i,j)) + 1;
> Gautier> which can be horribily long and unlikely to be catched by the
> Gautier> optimizer -> 2x too slow (at least: the extra code makes a
> Gautier> penalty for processor cache).
> Where did you get the impression that the optimizer would miss this?
> [ the proof that GNAT with -O3 (in fact even -O2) does see it and puts
an "intrinsic" Inc( a(b(c,d+e(f,g)).h(i,j)) ); ]
NB: tested with the generic, inlined Inc procedure the assembler output
is exaclty the same :-)
Subsidiary question: are other optimizers so good (ObjectAda,
Janus,...) ?
[Did I ask the same question 1 year ago ? I'll check in DN...]
--
Gautier
--------
http://members.xoom.com/gdemont/
next prev parent reply other threads:[~1999-08-18 0:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-15 0:00 C like op= proposal Brian Rogoff
1999-08-15 0:00 ` Ray Blaak
1999-08-15 0:00 ` Brian Rogoff
1999-08-16 0:00 ` Gautier
1999-08-17 0:00 ` Samuel Tardieu
1999-08-17 0:00 ` Andi Kleen
1999-08-18 0:00 ` Robert Dewar
1999-08-17 0:00 ` Brian Rogoff
1999-08-18 0:00 ` Gautier
1999-08-18 0:00 ` Ted Dennison
1999-08-18 0:00 ` Robert I. Eachus
1999-08-18 0:00 ` Jeff Carter
1999-08-18 0:00 ` Keith Thompson
1999-08-19 0:00 ` Michael F. Yoder
1999-08-21 0:00 ` Keith Thompson
1999-08-19 0:00 ` Tarjei T. Jensen
1999-08-19 0:00 ` Lance Kibblewhite
1999-08-19 0:00 ` Robert Dewar
1999-08-20 0:00 ` P.S. Norby
1999-08-21 0:00 ` Robert Dewar
1999-08-19 0:00 ` tmoran
1999-08-19 0:00 ` Ted Dennison
1999-08-18 0:00 ` Robert Dewar
1999-08-18 0:00 ` Brian Rogoff
1999-08-19 0:00 ` Robert Dewar
1999-08-21 0:00 ` Brian Rogoff
1999-08-23 0:00 ` Robert A Duff
1999-08-18 0:00 ` Andi Kleen
1999-08-17 0:00 ` Gautier
1999-08-18 0:00 ` Gautier [this message]
1999-08-17 0:00 ` John Duncan
1999-08-17 0:00 ` Gautier
1999-08-16 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox