Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Paul Bunn" <paul@no-spam-thanx.ultrabac.com>
Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?)
Date: 1997/12/05	[thread overview]
Message-ID: <34886b04.0@news3.ixa.net> (raw)
In-Reply-To: 6698hl$704@dfw-ixnews12.ix.netcom.com


Actually, you will find that the ALPHA C compiler developed by Digital and
Microsoft, does  a much better job at translating C code than the identical
equivalent available on Intel.  It has to -- the whole RISC design forces
this paradigm.  The ALPHA compiler when generating optimized (release) code
does an incredible job.  We took a small C routine for CRC calculation, and
hand-coded some x86 assembler, and immediately reaped a 500% performance
boost for doing so (this was after 1-2 hrs to do the hand coding) when
compared to the "optimized" assembler generated by the C compiler.  We took
the same code and attempted to write a faster ALPHA assembler version.  Our
first attempt ran at half the speed of the C version.  After about a week of
hand-coding this routine we had achieved a 5-10% performance advantage.  We
ditched it -- rather than maintain some ALPHA assembler that yields such a
weak performance boost.  Take a look someday at ALPHA assembler generated by
the compiler -- it is guaranteed to generate comments such as "oooh" "aaah",
and "wow, that's really clever!".

Regards

--
Paul Bunn, BEI, 425-644-6000
Microsoft MVP - WindowsNT
http://www.ultrabac.com

James Van Buskirk wrote in message
<6698hl$704@dfw-ixnews12.ix.netcom.com>...
>In article <3486D29A.6D30E3FE@dfw.net>, spam_me_not_pdoherty@dfw.net
says...
>
>>I would like to hear some discussion on this supposed "power" advantage of
an Alpha chip over
>>an Intel one...  Everyone I think assumes it is faster because it runs at
a higher clock
>>rate.  But this is a RISC chip, and thus since all instructions are
smaller (less 'complex')
>>more need to be run for each function to be completed.  So what are the
actual throughtput
>>numbers for each type of chip (say PII 300 vs Alpha 533)?
>
>CISC doesn't always mean fewer instructions.  One of the
>advantages seen with the alpha architecture is that you
>need not overwrite one of the source registers with each
>instruction.  Also it should be noted that 21164s have
>two floating point pipelines and can issue a floating
>multiply every clock cycle whereas a Pentium II only
>has a single floating pipeline and can only issue a
>floating multiply every other clock cycle.  With really
>tight code on both processors, an alpha can often get
>more work done in fewer clock cycles.  The bad news is
>that it's quite difficult to write the really tight
>code on alpha: compilers certainly don't do it, and not
>all that many people are familiar with alpha assembly
>language compared to x86 assembly language.
>





  reply	other threads:[~1997-12-05  5:00 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-03  5:00 Is there a list of Alpha NT applications anywhere? Scott
1997-12-03  5:00 ` Terry Shannon
1997-12-04  5:00   ` Daniel Doguet
1997-12-03  5:00 ` Tim Mallery
1997-12-03  5:00   ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Terry Shannon
1997-12-04  5:00     ` Rob Young
1997-12-04  5:00       ` CoffeeBean
1997-12-04  5:00         ` Paul Doherty
1997-12-05  5:00           ` James Van Buskirk
1997-12-05  5:00             ` Paul Bunn [this message]
1997-12-06  5:00             ` Paul DeMone
1997-12-06  5:00               ` John Wilson
1997-12-06  5:00                 ` jf mezei
1997-12-07  5:00             ` Ron Freimuth
     [not found]             ` <3488E394.4C6A@EasyInternet.ne <34891ECB.222E@videotron.ca>
1997-12-12  5:00               ` Nigel Arnot
1997-12-12  5:00                 ` Jeffrey Potoff
1997-12-12  5:00                   ` jf mezei
1997-12-12  5:00                     ` Marc Lepage
1997-12-12  5:00                       ` Arun Sharma
1997-12-13  5:00                       ` Gregg E Economou
1997-12-13  5:00                         ` Marc Lepage
1997-12-14  5:00                           ` Dirk Grunwald
1997-12-15  5:00                             ` Marc Lepage
1997-12-17  5:00                               ` Joe Mario
1997-12-19  5:00                                 ` Marc Lepage
1997-12-15  5:00                           ` Jeffrey Potoff
1997-12-16  5:00                             ` Ant Moore
1997-12-16  5:00                               ` Dirk Grunwald
1997-12-16  5:00                                 ` Ketil Z Malde
1997-12-16  5:00                                   ` John Hascall
1997-12-17  5:00                                   ` Dirk Grunwald
1997-12-17  5:00                                 ` Ant Moore
1997-12-20  5:00                                 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT Roger Ivie
1997-12-17  5:00                               ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Joshua Cope
1997-12-18  5:00                                 ` Ant Moore
1997-12-19  5:00                                   ` Marc Lepage
1997-12-13  5:00                         ` jf mezei
1997-12-13  5:00                       ` Like a tea tray in the sky...
1997-12-14  5:00                         ` Agtabby
1997-12-15  5:00                       ` Alpha Dead? Naaahhhh Michael Moroney
1997-12-15  5:00                       ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Jeffrey Potoff
1997-12-13  5:00                     ` Alpha Dead? Naaahhhh Mark E. Levy
1997-12-13  5:00                     ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Larry Kilgallen
     [not found]                     ` <3491FFE2.E1D71B82 <KETIL-87yb1l2g14.fsf@jenufa.infotek.no>
1997-12-19  5:00                       ` Nigel Arnot
1997-12-19  5:00                         ` Marc Lepage
1998-01-03  5:00                         ` Yasha
1997-12-05  5:00           ` Robin Garner
1997-12-05  5:00           ` Joshua Cope
1997-12-05  5:00           ` Douglas H. Borsom
1997-12-06  5:00           ` Jeffrey Potoff
1997-12-07  5:00             ` John Welter
1997-12-04  5:00         ` Rob Young
1997-12-04  5:00           ` CoffeeBean
1997-12-04  5:00             ` Terry Shannon
1997-12-05  5:00             ` Rob Young
1997-12-04  5:00               ` Arun Sharma
1997-12-05  5:00             ` Alpha Dead? Naaahhhh Robin Garner
1997-12-05  5:00               ` Ketil Z Malde
1997-12-06  5:00           ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) jf mezei
     [not found]       ` <666au <66721l$olt$1@netnews.upenn.edu>
1997-12-05  5:00         ` Nigel Arnot
1997-12-07  5:00           ` Paul Doherty
1997-12-03  5:00   ` Is there a list of Alpha NT applications anywhere? The One
1997-12-04  5:00   ` Anders Blicher Petersen
1997-12-04  5:00   ` Chris Morgan
1997-12-08  5:00   ` Joshua Cope
1997-12-12  5:00     ` Bruce Harris
1997-12-04  5:00 ` Joshua Cope
1997-12-04  5:00 ` Bill Merriam
1997-12-05  5:00 ` Justin Young
1997-12-06  5:00   ` Agtabby
1997-12-12  5:00   ` Bruce Harris
1997-12-12  5:00     ` Arun Sharma
1997-12-13  5:00       ` Douglas H. Borsom
1997-12-13  5:00         ` Arun Sharma
1997-12-19  5:00           ` mleune
1997-12-16  5:00     ` Ketil Z Malde
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