 |
|
 |
|
Next: Good 250Gb drive recommendation please
|
| Author |
Message |
External

Since: Mar 12, 2004 Posts: 48
|
(Msg. 1) Posted: Wed Mar 02, 2005 5:35 pm
Post subject: ALU/FPU register width performance impact on big number computing? Archived from groups: comp>sys>ibm>pc>hardware>chips (more info?)
|
|
|
Greetings to everyone,
If we take a processor with 16bit precise ALU and try to compute a
factorial (n!) form 2^80, what happens with ALU then? To be more precise,
does ALU width (precision) limits it from computing numbers higher than it
can allocate and how (if?) does it impacts performance of integer
computing? In other words, how come it is possible to compute very large
number if ALU is not precise enough for them (or my calculator is being
dishonest).
I hope I made my point clearly enough. Thanks in advance.
--
Kupio sam pistolj od svercera na crno,
Na tebe cu rado da potrosim zrno... >> Stay informed about: ALU/FPU register width performance impact on big number co.. |
|
| Back to top |
|
 |  |
External

Since: Aug 25, 2004 Posts: 200
|
(Msg. 2) Posted: Wed Mar 02, 2005 7:35 pm
Post subject: Re: ALU/FPU register width performance impact on big number computing? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bitstring <Xns960DE2CE896C7bubbachipsetone.DeleteThis@130.133.1.4>, from the
wonderful person Bubba <nickname.DeleteThis@hcp.hr> said
>Greetings to everyone,
>
>If we take a processor with 16bit precise ALU and try to compute a
>factorial (n!) form 2^80, what happens with ALU then? To be more precise,
>does ALU width (precision) limits it from computing numbers higher than it
>can allocate and how (if?) does it impacts performance of integer
>computing? In other words, how come it is possible to compute very large
>number if ALU is not precise enough for them (or my calculator is being
>dishonest).
All sensible math packages (for big numbers) break the calculation up
into smaller sized (i.e. 16 bit, 32 bit, whatever) pieces. Some simple
ones designed for very long numbers actually work in binary coded
decimal, and do long multiplication the 'very hard' way.
BTW, even 16 bit ALUs generally have a 16bit*16bit multiply, which will
give a 32 bit answer (in two registers).
Google is your friend (and yep, this sounds suspiciously like a homework
assignment, so hints is all you get).
--
GSV Three Minds in a Can
SC recommends the use of Firefox; Get smart, or get assimilated.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ALU/FPU register width performance impact on big number co.. |
|
| Back to top |
|
 |  |
External

Since: Nov 02, 2004 Posts: 276
|
(Msg. 3) Posted: Wed Mar 02, 2005 10:46 pm
Post subject: Re: ALU/FPU register width performance impact on big number computing? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bubba wrote:
> Greetings to everyone,
>
> If we take a processor with 16bit precise ALU and try to compute a
> factorial (n!) form 2^80, what happens with ALU then? To be more precise,
> does ALU width (precision) limits it from computing numbers higher than it
> can allocate and how (if?) does it impacts performance of integer
> computing? In other words, how come it is possible to compute very large
> number if ALU is not precise enough for them (or my calculator is being
> dishonest).
>
> I hope I made my point clearly enough. Thanks in advance.
The really large numbers (or the really small ones too) are worked on
inside the FPU rather than the ALU. The floating point unit gives up
some level of precision for some flexibility in estimation.
Yousuf Khan<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ALU/FPU register width performance impact on big number co.. |
|
| Back to top |
|
 |  |
External

Since: Jun 29, 2004 Posts: 72
|
(Msg. 4) Posted: Thu Mar 03, 2005 8:47 am
Post subject: Re: ALU/FPU register width performance impact on big number computing? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <Xns960DE2CE896C7bubbachipsetone DeleteThis @130.133.1.4>,
nickname DeleteThis @hcp.hr says...
> Greetings to everyone,
>
> If we take a processor with 16bit precise ALU and try to compute a
> factorial (n!) form 2^80, what happens with ALU then? To be more precise,
> does ALU width (precision) limits it from computing numbers higher than it
> can allocate and how (if?) does it impacts performance of integer
> computing? In other words, how come it is possible to compute very large
> number if ALU is not precise enough for them (or my calculator is being
> dishonest).
The same way you do arithmetic only knowing the 9x9 tables.
--
Keith<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ALU/FPU register width performance impact on big number co.. |
|
| Back to top |
|
 |  |
External

Since: May 10, 2004 Posts: 106
|
(Msg. 5) Posted: Thu Mar 10, 2005 6:58 pm
Post subject: Re: ALU/FPU register width performance impact on big number computing? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Wed, 02 Mar 2005 22:46:18 -0500, Yousuf Khan <bbbl67.DeleteThis@ezrs.com>
wrote:
>Bubba wrote:
>> Greetings to everyone,
>>
>> If we take a processor with 16bit precise ALU and try to compute a
>> factorial (n!) form 2^80, what happens with ALU then? To be more precise,
>> does ALU width (precision) limits it from computing numbers higher than it
>> can allocate and how (if?) does it impacts performance of integer
>> computing? In other words, how come it is possible to compute very large
>> number if ALU is not precise enough for them (or my calculator is being
>> dishonest).
>>
>> I hope I made my point clearly enough. Thanks in advance.
>
>The really large numbers (or the really small ones too) are worked on
>inside the FPU rather than the ALU. The floating point unit gives up
>some level of precision for some flexibility in estimation.
>
Stirling's approximation.
<a style='text-decoration: underline;' href="http://mathworld.wolfram.com/StirlingsApproximation.html" target="_blank">http://mathworld.wolfram.com/StirlingsApproximation.html</a>
RM<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ALU/FPU register width performance impact on big number co.. |
|
| Back to top |
|
 |  |
| Related Topics: | Clear register - Why is it advised to used XOR operator to clear the register contents? Why is load reg,0 not preferred.
someone, who has had an important impact on your life - someone, who has had an important impact on your life WWW.MILLIONFORTUNES.COM
Large Number of SiS965L Motherboards with PCI-Express in J.. - Taipei -- Silicon Integrated Systems Corp (SiS), a leading supplier of core logic chipsets, today announced the market leading position of its latest southbridge supporting the new PCI-E standard, the SiS965L. Motherboards incorporated with SiS PCI-E..
WANTED: Embedded software developers - Wanted software developers with 3+ years experience in developing embedded systems using C++, vxWorks, and Object oriented eesign and development. Please email full resumes and contact info to kayd@4cs.com
Is T-Bred B faster and cooler than T-Bred A? - This page http://www.motherboardfaqs.com/article.php?17.255 says: "The Thoroughbred "B" is simply a revised version of the A core, with one major kick - speed! These chips feature the usual optimizations on an instruction level... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|