From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: fast array calculation in C
Date: 1999/10/18 [thread overview]
Message-ID: <380B4825.3F457FD8@ife.ee.ethz.ch> (raw)
In-Reply-To: 7ufdn0$14m9@news2.newsguy.com
Greg Lindahl wrote:
>
> Alex Rhomberg <rhomberg@ife.ee.ethz.ch> writes:
>
> > I didn't say "proof". But I can show you an example (which you can test
> > yourself):
>
> That's an amazing proof. I've never seen a compiler that did that before.
> I don't believe gcc does this.
It's pretty cool...
some comparisons:
for o in dies.o*; do wc -c $o;
objdump -d $o|~/perl/ugly | grep UGLY | wc -l;
objdump -d $o|grep jsr; done
1376 dies.o.ccc
0
2320 dies.o.gcc
20
23c: 00 40 5b 6b jsr ra,(t12),240 <subroutine+0x240>
gcc code is
- bigger
- uglier
- slower
- doesn't inline memcpy
ccc code is
- cool
- fast
- cool
- small
- Alex
next prev parent reply other threads:[~1999-10-18 4:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3809E64D.85BDCAFC@ife.ee.ethz.ch>
[not found] ` <7ud6gc$2o94@news2.newsguy.com>
1999-10-18 4:00 ` fast array calculation in C Alex Rhomberg
1999-10-18 4:00 ` Greg Lindahl
1999-10-18 4:00 ` Alex Rhomberg [this message]
1999-10-18 4:00 ` Emil Briggs
1999-10-18 4:00 ` Greg Lindahl
1999-10-07 4:00 Alex Rhomberg
1999-10-09 4:00 ` Greg Lindahl
1999-10-11 4:00 ` Alex Rhomberg
1999-10-11 4:00 ` Greg Lindahl
1999-10-11 4:00 ` memore0
1999-10-11 4:00 ` Greg Lindahl
1999-10-12 4:00 ` Alex Rhomberg
1999-10-12 4:00 ` Eberhard Burr
1999-10-13 4:00 ` Alex Rhomberg
1999-10-13 4:00 ` Robert Harley
1999-10-12 4:00 ` memore0
1999-10-12 4:00 ` Alex Rhomberg
1999-10-12 4:00 ` Alex Rhomberg
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox