* ccc some results
1999-09-07 5:32 What's the deal with the new Compaq C for Linux/AXP Designer Seven
@ 1999-09-07 7:38 ` Jaap Schellekens
0 siblings, 0 replies; 4+ messages in thread
From: Jaap Schellekens @ 1999-09-07 7:38 UTC (permalink / raw)
To: axp-list
For those that are interested here are some results which
i got from my first use of the Compaq c compiler (ccc)
on my XL300 (A 300Mhz 21164 with 2Mb level three cache).
The program is a model of unsaturated soil water flow, it
uses pow and sqrt a lot (80 % of the CPU time) in method 0.
With method 1 pre-gererated look-up tables (300 rows deep) are
used in stead.
Method time [sec] Description
1, 17.024368, egcs + cpml + lookup-tables
0, 29.208752, egcs + cpml
1, 13.000560, ccc + cpml + lookup tables
0, 19.815728, ccc + cpml
As you can see the speed-ups are between 30 and 50%. I have
not been able to use the -ifo option (part of the -fast option)
so that should give some extra speedup (i have to rearrange the code for
that). Without cpml (or ffm) run times for method 0 go
up to 90 seconds.
For comparinson two runs of Linux-BYTEmark. It clearly
shows the power of ccc in floating point operations
(the neural net and lu dec. tests):
egcs+cpml:
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 124.29 : 3.19 : 1.05
STRING SORT : 12.428 : 5.55 : 0.86
BITFIELD : 3.6243e+07 : 6.22 : 1.30
FP EMULATION : 7.4966 : 3.60 : 0.83
FOURIER : 7652.4 : 8.70 : 4.89
ASSIGNMENT : 1.4964 : 5.69 : 1.48
IDEA : 308.75 : 4.72 : 1.40
HUFFMAN : 135.3 : 3.75 : 1.20
NEURAL NET : 2.5357 : 4.07 : 1.71
LU DECOMPOSITION : 69.724 : 3.61 : 2.61
==========================ORIGINAL BYTEMARK
RESULTS==========================
INTEGER INDEX : 4.543
FLOATING-POINT INDEX: 5.040
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler
10.0
==============================LINUX DATA
BELOW===============================
C compiler : /usr/bin/egcs (unknown version)
libc : unknown version
MEMORY INDEX : 1.181
INTEGER INDEX : 1.099
FLOATING-POINT INDEX: 2.795
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3,
libc-5.4.38
* Trademarks are property of their respective holder.
ccc+cpml:
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 170.89 : 4.38 : 1.44
STRING SORT : 13.919 : 6.22 : 0.96
BITFIELD : 3.3466e+07 : 5.74 : 1.20
FP EMULATION : 7.3174 : 3.51 : 0.81
FOURIER : 7405.6 : 8.42 : 4.73
ASSIGNMENT : 1.1508 : 4.38 : 1.14
IDEA : 305.14 : 4.67 : 1.39
HUFFMAN : 195.17 : 5.41 : 1.73
NEURAL NET : 4.5798 : 7.36 : 3.09
LU DECOMPOSITION : 132.43 : 6.86 : 4.95
==========================ORIGINAL BYTEMARK
RESULTS==========================
INTEGER INDEX : 4.824
FLOATING-POINT INDEX: 7.519
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler
10.0
==============================LINUX DATA
BELOW===============================
C compiler : /usr/bin/ccc (unknown version)
libc : unknown version
MEMORY INDEX : 1.094
INTEGER INDEX : 1.293
FLOATING-POINT INDEX: 4.170
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3,
libc-5.4.38
* Trademarks are property of their respective holder.
BTW I still use 5.1. In order to get ccc running i had to
install the 5.2 egcs version. For the egcs timings i used
version 2.91.66 (this version also did not work with ccc).
Cheers -- Jaap
--
|Jaap Schellekens | E-mail: schj@geo.vu.nl|
|Hydro(geo)logy Dept. | Fax: +31 20 6462457|
|Inst. of Earth Sc. | Voice: +31 20 4447287|
|Vrije Universiteit, De Boelelaan 1085, 1081 HV Amsterdam NL|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ccc some results
@ 1999-09-07 8:39 Designer Seven
1999-09-07 9:15 ` Jaap Schellekens
0 siblings, 1 reply; 4+ messages in thread
From: Designer Seven @ 1999-09-07 8:39 UTC (permalink / raw)
To: axp-list
> BTW I still use 5.1. In order to get ccc running i
> had to
> install the 5.2 egcs version. For the egcs timings i
> used
> version 2.91.66 (this version also did not work with
> ccc).
Yes, ccc seems to want egcs-1.0.3a setup on your
system. But mainly it's just looking for things like
the ld and cpp in certain locations... so if you
provide the link, it should be ok...
for example, I use egcs-1.1.12 and I had to do the
following:
change:
/usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/ld
to point to /usr/lib/ld
create a link like:
/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.29
--> /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66
and that's about it.
D.
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ccc some results
1999-09-07 8:39 ccc some results Designer Seven
@ 1999-09-07 9:15 ` Jaap Schellekens
0 siblings, 0 replies; 4+ messages in thread
From: Jaap Schellekens @ 1999-09-07 9:15 UTC (permalink / raw)
To: axp-list
Designer Seven wrote:
[...]
> for example, I use egcs-1.1.12 and I had to do the
> following:
>
> change:
>
> /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/ld
>
> to point to /usr/lib/ld
>
> create a link like:
>
> /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.29
>
> --> /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66
>
> and that's about it.
I tried something similar but it did not work.......
Oops now i recall... i made the link to /usr/bin/ld that
must have been my problem. :-(
Jaap
--
|Jaap Schellekens | E-mail: schj@geo.vu.nl|
|Hydro(geo)logy Dept. | Fax: +31 20 6462457|
|Inst. of Earth Sc. | Voice: +31 20 4447287|
|Vrije Universiteit, De Boelelaan 1085, 1081 HV Amsterdam NL|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ccc some results
@ 1999-09-22 15:33 Christian Iseli
0 siblings, 0 replies; 4+ messages in thread
From: Christian Iseli @ 1999-09-22 15:33 UTC (permalink / raw)
To: axp-list
Hi folks,
While trying out the ccc:
/usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/lnxcc:
error in loading shared libraries:
/usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/lnxcc:
undefined symbol: __setjmp
Anyone seen this ? Does it need a LD_LIBRARY_PATH of some sort ?
uname -a: Linux l-alpha 2.2.3 #2 Thu May 20 16:13:54 CEST 1999 alpha unknown
Base : RH 5.2 + lots of updates
Machine : AlphaPC164LX
gcc : 2.95.1
glibc : 2.1.2pre3, compiled with gcc 2.95.1
TIA. Cheers,
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-09-22 15:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-07 8:39 ccc some results Designer Seven
1999-09-07 9:15 ` Jaap Schellekens
-- strict thread matches above, loose matches on Subject: below --
1999-09-22 15:33 Christian Iseli
1999-09-07 5:32 What's the deal with the new Compaq C for Linux/AXP Designer Seven
1999-09-07 7:38 ` ccc some results Jaap Schellekens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox