Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* What's the deal with the new Compaq C for Linux/AXP ..
  1999-09-06 18:42 SCSI recommendations Jeff DeMaagd
@ 1999-09-06 18:49 ` Thomas Leitner
       [not found]   ` <tom@radar.tu-graz.ac.at>
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Leitner @ 1999-09-06 18:49 UTC (permalink / raw)
  To: axp-list


I just wonder why it's so quiet after the Q finally released the
long awaited C compiler for Linux/AXP on the weekend. Any success
stories? How does the stream benchmark benefit from it, for example?

Tom
-- 
--------------------------------------------------------------------------
T o m   L e i t n e r                       Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
@ 1999-09-07  1:31 Designer Seven
  0 siblings, 0 replies; 12+ messages in thread
From: Designer Seven @ 1999-09-07  1:31 UTC (permalink / raw)
  To: axp-list

I have no clue how it benefits the stream benchmark...
but a simple compile of mpg123 with the Q C compiler
resulted in a mp3 player that utilizes 4% rather than
5% cpu. The switches are all different (although some
gcc options are mapped)... so rewriting of some
makefiles may be necessary to use 'ccc' on GNU source
code.

D.

p.s. - if anyone can figure out how to get XFree86 to
compile with 'ccc' please advise.. as I can't seem to
get it to work.

--- Thomas Leitner <tom@radar.tu-graz.ac.at> wrote:
> 
> I just wonder why it's so quiet after the Q finally
> released the
> long awaited C compiler for Linux/AXP on the
> weekend. Any success
> stories? How does the stream benchmark benefit from
> it, for example?
> 
> Tom
> -- 
>
--------------------------------------------------------------------------
> T o m   L e i t n e r                       Dept. of
> Communications
>                                             Graz
> University of Technology, 
> e-mail    : tom@radar.tu-graz.ac.at        
> Inffeldgasse 12
> Phone     : +43-316-873-7455                A-8010
> Graz / Austria / Europe
> Fax       : +43-316-463-697
> Home page :
> http://wiis.tu-graz.ac.at/people/tom.html
> PGP public key on :
> ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
> mail with subject "get Thomas Leitner" to
> pgp-public-keys@keys.pgp.net
>
--------------------------------------------------------------------------
>     Before we have the paperless office, we have the
> paperless toilet!
> 
> -- 
> To unsubscribe: send e-mail to
> axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to
> axp-list@redhat.com
> 
> 

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
       [not found]   ` <tom@radar.tu-graz.ac.at>
@ 1999-09-07  4:03     ` Christoph Dworzak
  0 siblings, 0 replies; 12+ messages in thread
From: Christoph Dworzak @ 1999-09-07  4:03 UTC (permalink / raw)
  To: axp-list

Hi Tom

On Sep 6 Thomas Leitner (tom@radar.tu-graz.ac.at) wrote:
> I just wonder why it's so quiet after the Q finally released the
> long awaited C compiler for Linux/AXP on the weekend. Any success
> stories? How does the stream benchmark benefit from it, for example?

I immediately downloaded and installed it (the dl didn't work from
netscape on windows. the server sends it as text/plain and so ns
converts cr to cr/lf? (at least that's what i think what happend.
the rpms got bigger and couldn't be installed. i then downloaded it
with lynx)).

the first thing i tried after installation was ecdl (the elliptic
curve thingie from rob harley). it didn't improve performance,
but maybe i have to find good compiler options to get better speed.
i just used "-O4 -arch host"

then i tried one of my rc5-implementations and that on improved
by 10% (which isn't bad, as i tweaked the code and compiler-switches
for egcs during hours and hours to get the best possible result).

i had less succes with other things. ccc is really picky. it doesn't
like dos-style line terminations (crlf), but that's the least of the
problems. i have no clue about other things it doesn't like...

in code similar to this:

int foo(int bar){
 return bar;
}

it says something like:

line 1, missing semicolon...
int foo(int bar){
________________^


what's wrong with that?


anyway, i'll play more with it tommorrow :)

Bye
 dworz


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
@ 1999-09-07  5:32 Designer Seven
  1999-09-07  5:55 ` Linux Questions Stephen Hitchner
  1999-09-07  7:38 ` ccc some results Jaap Schellekens
  0 siblings, 2 replies; 12+ messages in thread
From: Designer Seven @ 1999-09-07  5:32 UTC (permalink / raw)
  To: axp-list


> the first thing i tried after installation was ecdl
> (the elliptic
> curve thingie from rob harley). it didn't improve
> performance,
> but maybe i have to find good compiler options to
> get better speed.
> i just used "-O4 -arch host"

According to the man pages, -O3 and -O4 can result in
code with poor performance.. depending on the code.
I've had stuff compiled with -O4 that was about 40%
slower than with -O2. I haven't seen -O3 resulting in
stuff slower than -O2.... so I guess the optimizations
done in -O3 and -O4 need to be chosen with caution.

D.
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Linux Questions
  1999-09-07  5:32 What's the deal with the new Compaq C for Linux/AXP Designer Seven
@ 1999-09-07  5:55 ` Stephen Hitchner
  1999-09-07 15:52   ` Michal Jaegermann
  1999-09-23 19:35   ` Rob Weirick
  1999-09-07  7:38 ` ccc some results Jaap Schellekens
  1 sibling, 2 replies; 12+ messages in thread
From: Stephen Hitchner @ 1999-09-07  5:55 UTC (permalink / raw)
  To: axp-list

I have a couple of questions.

On a windows box the delete key is like a reverse backspace, is there
anyway to configure it in linux???  I was reading an old Unix book and it
mentioned the stty command but the linux man file talks about printing???

Also someone mentioned you could configure your kernel to run 386
binaries??? Would it be possible to get some more info on that, I'd like
to get netscape running.  My Alpha RedHat 5.2 dist came with 
netscape.src.rpm on the second CD, I would really like to have a graphical
www browser. 

thanks again

cheers
steve

sjhitchn@ucalgary.ca     http://www.algae.dhs.org


=================================================
All spelling/grammer mistakes have been added to 
this document intentionally for your enjoyment. 
=================================================



^ permalink raw reply	[flat|nested] 12+ messages in thread

* 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  5:55 ` Linux Questions Stephen Hitchner
@ 1999-09-07  7:38 ` Jaap Schellekens
  1 sibling, 0 replies; 12+ 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] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
@ 1999-09-07 10:50 Christian Groessler
  1999-09-07 16:07 ` Michal Jaegermann
  1999-09-08  9:11 ` Thomas Leitner
  0 siblings, 2 replies; 12+ messages in thread
From: Christian Groessler @ 1999-09-07 10:50 UTC (permalink / raw)
  To: axp-list



Hi,

>
>in code similar to this:
>
>int foo(int bar){
> return bar;
>}
>
>it says something like:
>
>line 1, missing semicolon...
>int foo(int bar){
>________________^
>
>
>what's wrong with that?

I think the preprocesor is somehow broken.

I've got this program:

-------------
#define XXX(xxx) void bla##xxx(void)

XXX(08a) { return; }
XXX(0ea) { return; }
-------------

If I try to compile it I get:

--------------
[chris@alpha:~]$ ccc -c ccc-bug.c
cc: Error: ccc-bug.c, line 4: Missing ";". (nosemi)
XXX(0ea) { return; }
^
cc: Error: ccc-bug.c, line 4: The type of the tentatively-defined variable
"bla0e" is incomplete at the end of the compilation unit.
(incomptent)XXX(0ea) { return; }
^
[chris@alpha:~]$
--------------

Looking at the preprocessed source (ccc -E ccc-bug.c);

--------------
[chris@alpha:~]$ ccc -E ccc-bug.c
# 1 "ccc-bug.c"


 void bla08a ( void )  { return; }
 void bla0e a ( void )  { return; }


[chris@alpha:~]$
--------------

The preprocessor inserts a space in the second XXX() line. This space
depends
on the parameter to XXX().

Where can I place a bug report?

regards,
chris



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux Questions
  1999-09-07  5:55 ` Linux Questions Stephen Hitchner
@ 1999-09-07 15:52   ` Michal Jaegermann
  1999-09-23 19:35   ` Rob Weirick
  1 sibling, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 1999-09-07 15:52 UTC (permalink / raw)
  To: axp-list

Stephen Hitchner wrote:
> 
> On a windows box the delete key is like a reverse backspace, is there
> anyway to configure it in linux???

That and any other one. :-)

/usr/doc/HOWTO/Keyboard-and-Console-HOWTO

> I was reading an old Unix book and it
> mentioned the stty command but the linux man file talks about printing???

You mean this:

          stty - change and print terminal line setting

This "print" means "print on your stdout" (which is usually somehow 
connected to your display - but not always).

> Also someone mentioned you could configure your kernel to run 386
> binaries???

Probably it is already configured.  Try to run this netscape.
If failed check complaints in /var/log/messages.  You need the following
packages installed:

em86
em86-x86
em86-baselibs
em86-X11libs

Otherwise you need EM86 support (a module is fine) in your kernel
and www.alphalinux.org likely has some writeups on the topic.

  Michal


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
  1999-09-07 10:50 Christian Groessler
@ 1999-09-07 16:07 ` Michal Jaegermann
  1999-09-08  9:11 ` Thomas Leitner
  1 sibling, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 1999-09-07 16:07 UTC (permalink / raw)
  To: axp-list

Christian Groessler wrote:
> 
> I've got this program:
> 
> -------------
> #define XXX(xxx) void bla##xxx(void)
> 
> XXX(08a) { return; }
> XXX(0ea) { return; }
> -------------
.....
> 
> Looking at the preprocessed source (ccc -E ccc-bug.c);
> 
> --------------
> [chris@alpha:~]$ ccc -E ccc-bug.c
> # 1 "ccc-bug.c"
> 
> 
>  void bla08a ( void )  { return; }
>  void bla0e a ( void )  { return; }
> 
> 
> [chris@alpha:~]$
> --------------
> 
> The preprocessor inserts a space in the second XXX() line. This space
> depends
> on the parameter to XXX().

Is it possible that this is not an ANSI preprocessor but some
ancient one?  What happens if you try this old, preprocessor dependent,
hack:

#define XXX(xxx) void bla/**/xxx(void)

  --mj


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
  1999-09-07 10:50 Christian Groessler
  1999-09-07 16:07 ` Michal Jaegermann
@ 1999-09-08  9:11 ` Thomas Leitner
  1 sibling, 0 replies; 12+ messages in thread
From: Thomas Leitner @ 1999-09-08  9:11 UTC (permalink / raw)
  To: Christian Groessler; +Cc: axp-list


On Tue, 7 Sep 1999, Christian Groessler wrote:

> I've got this program:

[...]

> If I try to compile it I get:
> 
> --------------
> [chris@alpha:~]$ ccc -c ccc-bug.c
> cc: Error: ccc-bug.c, line 4: Missing ";". (nosemi)
> XXX(0ea) { return; }
> ^
> cc: Error: ccc-bug.c, line 4: The type of the tentatively-defined variable
> "bla0e" is incomplete at the end of the compilation unit.
> (incomptent)XXX(0ea) { return; }
> ^
> [chris@alpha:~]$
> --------------

This does not happen under Digital Unix (Tru64) 4.0E: 

csh> cat l.c
#define XXX(xxx) void bla##xxx(void)

XXX(08a) { return; }
XXX(0ea) { return; }
csh> cc -c l.c
csh> cc -V | head -1
DEC C V5.8-011 on Digital UNIX V4.0 (Rev. 1091)
csh> cc -E l.c
# 1 "l.c"


void bla08a(void) { return; }
void bla0ea(void) { return; }

So I think you should file a bug report.

Tom
-- 
--------------------------------------------------------------------------
T o m   L e i t n e r                       Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What's the deal with the new Compaq C for Linux/AXP ..
@ 1999-09-08  9:26 Christian Groessler
  0 siblings, 0 replies; 12+ messages in thread
From: Christian Groessler @ 1999-09-08  9:26 UTC (permalink / raw)
  To: axp-list



On 7/9/99 17:07:10 Michal Jaegermann  wrote:
>
>Is it possible that this is not an ANSI preprocessor but some
>ancient one?  What happens if you try this old, preprocessor dependent,
>hack:
>
>#define XXX(xxx) void bla/**/xxx(void)

Nope, same result.

regards,
chris



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux Questions
  1999-09-07  5:55 ` Linux Questions Stephen Hitchner
  1999-09-07 15:52   ` Michal Jaegermann
@ 1999-09-23 19:35   ` Rob Weirick
  1 sibling, 0 replies; 12+ messages in thread
From: Rob Weirick @ 1999-09-23 19:35 UTC (permalink / raw)
  To: axp-list

Stephen Hitchner wrote:
> 
> I have a couple of questions.
> 
> On a windows box the delete key is like a reverse backspace, is there
> anyway to configure it in linux???  I was reading an old Unix book and it
> mentioned the stty command but the linux man file talks about printing???
> 
> Also someone mentioned you could configure your kernel to run 386
> binaries??? Would it be possible to get some more info on that, I'd like
> to get netscape running.  My Alpha RedHat 5.2 dist came with
> netscape.src.rpm on the second CD, I would really like to have a graphical
> www browser.
> 
Actually, if you've much patience, you can test drive one
of the Mozilla snapshots frequently available on 
ftp.alphalinux.org.
Also, if you're a little less adventurous, you
can always run the KDE desktop, which has a built in
browser/web-enabled desktop...
Of course YMMV

-- Rob

> thanks again
> 
> cheers
> steve
> 
> sjhitchn@ucalgary.ca     http://www.algae.dhs.org
> 
> =================================================
> All spelling/grammer mistakes have been added to
> this document intentionally for your enjoyment.
> =================================================
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1999-09-24 18:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-07  5:32 What's the deal with the new Compaq C for Linux/AXP Designer Seven
1999-09-07  5:55 ` Linux Questions Stephen Hitchner
1999-09-07 15:52   ` Michal Jaegermann
1999-09-23 19:35   ` Rob Weirick
1999-09-07  7:38 ` ccc some results Jaap Schellekens
  -- strict thread matches above, loose matches on Subject: below --
1999-09-08  9:26 What's the deal with the new Compaq C for Linux/AXP Christian Groessler
1999-09-07 10:50 Christian Groessler
1999-09-07 16:07 ` Michal Jaegermann
1999-09-08  9:11 ` Thomas Leitner
1999-09-07  1:31 Designer Seven
1999-09-06 18:42 SCSI recommendations Jeff DeMaagd
1999-09-06 18:49 ` What's the deal with the new Compaq C for Linux/AXP Thomas Leitner
     [not found]   ` <tom@radar.tu-graz.ac.at>
1999-09-07  4:03     ` Christoph Dworzak

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