Arithmetic/Logic Unit

Bioinformatics, Computational Chemistry, Computational Neuroscience, Computational Physics, Numerical Algorithms, Symbolic Mathematics, Cognitive Science on My Computer Forum

Moderators: shynthriir, johnny, SidT

Arithmetic/Logic Unit

Postby johnny » Thu Dec 06, 2007 6:48 pm

In an average computer, where is the arithmetic/logic unit located at? Isn't it part of CPU? Also, doesn't the programming software uses this arithmetic/logic unit to calculate most of the mathematical calculations?
johnny
 
Posts: 184
Joined: Sun Dec 02, 2007 3:56 pm

Re: Arithmetic/Logic Unit

Postby cknapp » Thu Dec 06, 2007 10:19 pm

johnny wrote:In an average computer, where is the arithmetic/logic unit located at? Isn't it part of CPU? Also, doesn't the programming software uses this arithmetic/logic unit to calculate most of the mathematical calculations?


ALUs are integral to just about everything in computing, so there will typically be many, many, many simple ALUs in any chip in your system. The CPU and GPU, which require a lot of mathematical calculation will have very large and complicated ones. A CPU is theoretically supposed to be able to compute anything, all the other bits are there to help it out, and to pass it inputs, etc...

You may want to check the wikipedia article... Wikipedia is a nerd's best friend.
<Aoi-chan> everyone's first vi session. ^C^C^X^X^X^XquitqQ!qdammit[esc]qwertyuiopasdfghjkl;:xwhat
cknapp
 
Posts: 138
Joined: Sun Dec 02, 2007 9:44 am

Re: Arithmetic/Logic Unit

Postby CRGreathouse » Fri Dec 07, 2007 9:02 am

They used to be completely separate from the CPU proper (the 80286 and 80287 were that way, I think) but on the same die. But as you can imagine, the speed of light coupled with modern clock speeds essentially requires that the CPU be touching.
CRGreathouse
 
Posts: 232
Joined: Thu Dec 06, 2007 9:49 am

Re: Arithmetic/Logic Unit

Postby XTTX » Sun Dec 16, 2007 1:19 am

Hmmm, if I remember my history correctly (which I probably don't,) the Pentium was the first cpu to incorporate an on-die ALU... or maybe it was the first to incorporate two ALU's. It was probably the latter.
XTTX
 
Posts: 2
Joined: Sun Dec 16, 2007 1:07 am

Re: Arithmetic/Logic Unit

Postby CRGreathouse » Wed Dec 19, 2007 2:26 pm

Who knows, I don't remember all that well either. Maybe the Pentium was the first that shipped standard with that feature -- the 80287 was optional, I believe.
CRGreathouse
 
Posts: 232
Joined: Thu Dec 06, 2007 9:49 am

Postby Imanuel4u » Wed Feb 04, 2009 8:48 am

Yes it is a part of CPU. Yes, programming software uses this arithmetic/logic unit to calculate most of the mathematical calculations.
Imanuel4u
 
Posts: 32
Joined: Tue Dec 02, 2008 4:45 am

Re: Arithmetic/Logic Unit

Postby asbo » Fri Apr 30, 2010 5:08 pm

Microcontrollers contain an ALU and a CPU
the CPU deals with shifting of data while the ALU does all the math, logic and comparissons...the cpu merely moves the data into the registers allowing the ALU access....if you wish to learn more perhaps you should read my thread on the fetch-execute cycle and if you would like a thread dedicated to how the CPU is set out, the architecture of it internally then pm me and when I have time I would be much obliged.
asbo
 
Posts: 96
Joined: Fri Apr 30, 2010 6:44 am

Re: Arithmetic/Logic Unit

Postby RSW001 » Tue Aug 17, 2010 10:16 pm

Hmm, old topic, but I'll toss in my 2 cents worth anyway.

I think there is some confusion between ALU (arithmetic logic unit) and FPP (floating point processor). The 80287 was an FPP, not an ALU. Back when dinosaurs roamed the earth, and I took my first computer class, The ALU was considered to be part of the CPU, not separate from it. It was the part that did low level things like integer add, subtract, shift, rotate, AND, OR, Complement, etc. The other primary part of the CPU was the program control which handled the program counter, fetching instructions and reading/writing data to/from memory. Of course, over the years, definitions tend to shift a bit.
RSW001
 
Posts: 1
Joined: Tue Aug 17, 2010 10:07 pm


Return to Scientific Computing

Who is online

Registered users: Ask Jeeves [Bot]

cron