From: pmontgom@cwi.nl (Peter L. Montgomery)
Subject: Re: Steal their thunder (was Re: Alpha window of opportunity?)
Date: 1998/06/10 [thread overview]
Message-ID: <EuBy1z.9L3@cwi.nl> (raw)
In-Reply-To: 357E265D.D42F5D98@shore.net
In article <357E265D.D42F5D98@shore.net>
Russell Sasamori <puzzle@shore.net> asks:
>> the conclusion seems to be that 128-bits are useful for
>> some multimedia stuff (AltiVec should demonstrate that),
>> and some crypto work seems to be a lot faster with them.
>George:
>How would cryptography benefit from wider registers and ALU's?
>I thought the most frequently performed operations were emulating LFSR's so I
>cannot imagine how having a 128-bit ALU can present such a big benefit over a
>64-bit ALU, for example. (Unless the the ALU was custom-designed to do
>cryptography work).
Some cryptographic algorithms, such as RSA,
require exponentiation modulo big numbers (about 1024 bits).
Using a 64-bit ALU with unsigned 64 x 64 -> 128 multiplication
(which the Alpha has via its MULQ and UMULH instructions),
we need 256 64 x 64 multiplications to do a 1024 x 1024
multiplication via the grade-school algorithm.
With a 128-bit ALU, the cost becomes 64 128 x 128 multiplications.
The number of operations has dropped by a factor about 4.
Even if each 128-bit operation takes twice as long
as the corresponding 64-bit operation, we gain considerably.
For these applications, a pipelined integer multiplier
is important. The inner loop of a 1024 x 1024
multiplication might fetch a 128-bit word from
one operand and multiply it by all eight 128-bit words
from the other operand, getting eight 256-bit products.
We can afford to wait several cycles for each multiplication
to complete if several 128 x 128 multiplications are executing
concurrently. If instead we must wait for the multiplier
to complete one operation before starting a second multiplication,
we undergo this delay 16 times (once per low product
and once per high product). I have heard rumors that
the 21264 will have a pipelined integer multiplier,
but have not seen such an announcement from DEC.
--
Peter-Lawrence.Montgomery@cwi.nl San Rafael, California
next prev parent reply other threads:[~1998-06-10 4:00 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-04 4:00 Alpha window of opportunity? (was Re: Intel announces six month Merced delay.) Anil T Maliyekke
1998-06-05 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Alan Chee
1998-06-05 4:00 ` Ketil Z Malde
1998-06-05 4:00 ` Doug Siebert
1998-06-05 4:00 ` Anil T Maliyekke
1998-06-06 4:00 ` Andy Glew
1998-06-05 4:00 ` Brian Hurt
1998-06-09 4:00 ` M Sweger
1998-06-10 4:00 ` 128-bit CPUs (was: Re: Steal their thunder ) Gary Heston
1998-06-12 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Gregg E Economou
1998-06-12 4:00 ` Silliness (was Re: Steal their thunder) Bill Moyer
1998-06-13 4:00 ` Jamie Lokier
1998-06-17 4:00 ` Gregg E Economou
1998-06-18 4:00 ` Bernd Paysan
1998-06-18 4:00 ` James Cownie
1998-06-18 4:00 ` Stanley Chow
1998-06-13 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Jamie Lokier
1998-06-15 4:00 ` M Sweger
1998-06-17 4:00 ` Gregg E Economou
1998-06-05 4:00 ` Stefan Monnier
1998-06-06 4:00 ` Ketil Z Malde
1998-06-06 4:00 ` Gregg E Economou
1998-06-09 4:00 ` M Sweger
1998-06-14 4:00 ` Heikki Kultala
1998-06-05 4:00 ` Kai Harrekilde-Petersen
1998-06-05 4:00 ` Bernd Paysan
1998-06-05 4:00 ` Craig Burley
1998-06-08 4:00 ` Bernd Paysan
1998-06-09 4:00 ` Maynard Handley
1998-06-06 4:00 ` Gregg E Economou
1998-06-06 4:00 ` Thomas Womack
1998-06-08 4:00 ` Gregg E Economou
1998-06-08 4:00 ` Alan Chee
1998-06-07 4:00 ` Pierre Asselin
1998-06-05 4:00 ` JF Mezei
1998-06-05 4:00 ` George Herbert
1998-06-09 4:00 ` M Sweger
1998-06-10 4:00 ` Russell Sasamori
1998-06-10 4:00 ` Peter L. Montgomery [this message]
1998-06-11 4:00 ` Russell Sasamori
1998-06-10 4:00 ` [++] " Terje Mathisen
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Terje Mathisen
1998-06-11 4:00 ` Kai Harrekilde-Petersen
1998-06-10 4:00 ` Bill Moyer
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Bill Moyer
1998-06-06 4:00 ` Ketil Z Malde
1998-06-06 4:00 ` Gregg E Economou
1998-06-08 4:00 ` Bill Broadley
1998-06-08 4:00 ` Peter da Silva
1998-06-08 4:00 ` stev knowles
[not found] ` <6lhc0e$bak@web.nmti.com>
1998-06-08 4:00 ` stev knowles
1998-06-08 4:00 ` Gregg E Economou
1998-06-08 4:00 ` Terry Shannon
1998-06-09 4:00 ` Donald G. Marchlenski
1998-06-09 4:00 ` Peter da Silva
1998-06-10 4:00 ` Special VMS Sauce on WNT from McDEC: see http://www.acersoft.com Terry Shannon
[not found] ` <6lmt5s$oaa@web.nmti.com>
1998-06-10 4:00 ` Graham Allan
1998-06-10 4:00 ` Peter da Silva
1998-06-11 4:00 ` Graham Allan
1998-06-11 4:00 ` Quentin Fennessy
1998-06-11 4:00 ` Peter da Silva
1998-06-12 4:00 ` Quentin Fennessy
1998-06-18 4:00 ` Fred Kleinsorge
1998-06-18 4:00 ` quodling
1998-06-12 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Gregg E Economou
1998-06-09 4:00 ` JF Mezei
1998-06-09 4:00 ` [++] " Terje Mathisen
1998-06-09 4:00 ` stev knowles
1998-06-13 4:00 ` Andrew C. Stoffel
1998-06-08 4:00 ` Terry Shannon
1998-06-08 4:00 ` Miro Jurcevic
1998-06-09 4:00 ` Russell Sasamori
1998-06-09 4:00 ` Ketil Z Malde
1998-06-09 4:00 ` Bernd Paysan
1998-06-09 4:00 ` Petter Gustad
1998-06-09 4:00 ` Joachim Strombergson
1998-06-10 4:00 ` What is bitness? Russell Sasamori
1998-06-10 4:00 ` Peter da Silva
1998-06-11 4:00 ` Gary Heston
1998-06-11 4:00 ` Peter da Silva
1998-06-12 4:00 ` Mike McCarty
1998-06-10 4:00 ` Zalman Stern
1998-06-10 4:00 ` Ketil Z Malde
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Ketil Z Malde
1998-06-10 4:00 ` Jan Vorbrueggen
1998-06-10 4:00 ` Alex Colvin
1998-06-10 4:00 ` Jeffrey S. Dutky
1998-06-11 4:00 ` Ketil Z Malde
1998-06-11 4:00 ` Jeffrey S. Dutky
1998-06-12 4:00 ` Ketil Z Malde
1998-06-14 4:00 ` msimon
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Russell Sasamori
1998-06-10 4:00 ` Bernd Paysan
1998-06-11 4:00 ` Russell Sasamori
1998-06-06 4:00 ` Alpha window of opportunity? (was Re: Intel announces six month Merced delay.) Matthias Dolder
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