bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLN, GMP inputs


From: Hans Aberg
Subject: Re: CLN, GMP inputs
Date: Fri, 11 May 2001 11:02:15 +0200

At 08:24 +1000 2001/05/11, Kevin Ryde wrote:
>> If a CPU would support instructions for
>>   +, -, *: 1-register x 1-register -> 2-register
>> then the small number representations could be made very fast. (But I am
>> told that many CPU's do not support that.)
>
>Overflow detection is always possible, whether it's particularly
>convenient or not is another question.

If only overflow detection is available, I think that will help a lot,
because it can help making the small nums fast. Once one gets an overflow,
one knocks on a lot of cycles because of the memory allocation, so then it
does not matter much about inconvenience (from the point of view of speed).

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]