From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,4c00dd277c88c561 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,4c00dd277c88c561 X-Google-Attributes: gid1164f8,public From: Terje Mathisen Subject: Re: When is 21264 "iron" to be available? How about IBM's Power3? Date: 1998/02/04 Message-ID: <34D85BF5.EC762CFE@hda.hydro.com>#1/1 X-Deja-AN: 321970612 Content-Transfer-Encoding: 7bit References: <6b9kh7$re9@news-rocq.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Hydro Newsgroups: comp.arch,comp.sys.dec Robert Harley wrote: > Anyhow, crackpot advocacy time: for the recent calculation of an > elliptic curve discrete logarithm to solve Certicom's ECCp-89 problem > I wrote a little program (in C plus one macro for double-width > multiplication on each architecture). It does big integer arithmetic, > everything in cache, so no memory or f.p. > > My 500 MHz 21164 beat a 200 MHz PPro by 8 to 1 using Linux and gcc on > both. With Linux and Digital's cc, a 400 MHz 21264 prototype, missing > a new instruction which would be very useful, beat the PPro by 11 to 1. > OK, so Intel chips are not much of a reference, but we are talking > about an obscenely fast chip here. As you said, the '264 definitely looks like a very fast chip. In your particular example, I believe that the 'real' difference is somewhat less that the factor of 8 (or 11) that you got. Having seen some of the code you've written previously, I'm guessing that you use a fairly large amount of register variables, which then causes a lot of spill/fill code on x86 machines? gcc is definitely not the best optimizing x86 compiler either. :-( OTOH, having more & wider registers does make the compilers task much simpler, reducing or removing the need for hand-written platform-specific optimizations. This is a "Good Thing" (tm) :-) Terje -- - Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching"