Difference between revisions of "Floating point processor"

From Computer History Wiki
Jump to: navigation, search
(copyedit)
Line 1: Line 1:
A '''floating point processor''' or '''floating point unit''' was, until recently, an optional processor which allowed a computer to handle [[floating point]] numbers in [[hardware]]. (Now that [[Central Processing Unit|CPU]] [[integrated circuit|chips]] typically contain extremely large numbers of [[transistor]]s, floating point is usually supported in them by default.). For a normal integer based CPU with a ALU ( Arithmetic Logic Unit ), Multiply instructions took many CPU cycles, because they had to be handled by repeated adds, ( similar to divides being handled by repeated subtractions ), FPUs could perform these operations in a few CPU cycles.
+
A '''floating point processor''' (often, technically, a '''floating point unit''') was, until recently, an option which allowed a computer to handle [[floating point]] numbers in [[hardware]]. In [[architecture|architectural]] terms, it might be a [[co-processor]], or on [[microcode]]d machines, it might be extra microcode, sometimes along with some additional hardware to speed up some aspects of the computation.
  
In early machines, the hardware involved was a complete extra set of [[printed circuit board]]s; later on, with the rise of [[microprocessor]]s, it became an optional chip.
+
In early machines, the hardware involved was a complete extra set of [[printed circuit board]]s; later on, with the rise of [[microprocessor]]s, it became an optional chip. Now that [[Central Processing Unit|CPU]] [[integrated circuit|chips]] typically contain extremely large numbers of [[transistor]]s, floating point is usually supported in them by default.
  
In [[architecture|architectural]] terms, it might be a [[co-processor]], or on [[microcode]]d machines, it might be extra microcode, sometimes along with some additional hardware to speed up some aspects of the computation.
+
Originally, in most CPUs with a only an integer [[Arithmetic logic unit|ALU]], integer multiply instructions took many CPU [[cycle]]s, because they were handled by repeated shifts and adds; similarly, divides were handled by repeated subtractions. In modern CPUs where the FPU is integrated into the CPU, there is usually a multiply network which can also be used to perform these integer operations in a few CPU cycles.
  
Very recently, GPU ( Graphic Processing Units) have been able to handle floating point operations needed for AI, games, rendering and other math intensive tasks.  
+
Very recently, [[Graphic Processing Unit]]s have been able to handle floating point operations needed for math intensive tasks such as image rendering, etc.
  
 
[[Category: CPU Basics]]
 
[[Category: CPU Basics]]

Revision as of 23:40, 10 April 2019

A floating point processor (often, technically, a floating point unit) was, until recently, an option which allowed a computer to handle floating point numbers in hardware. In architectural terms, it might be a co-processor, or on microcoded machines, it might be extra microcode, sometimes along with some additional hardware to speed up some aspects of the computation.

In early machines, the hardware involved was a complete extra set of printed circuit boards; later on, with the rise of microprocessors, it became an optional chip. Now that CPU chips typically contain extremely large numbers of transistors, floating point is usually supported in them by default.

Originally, in most CPUs with a only an integer ALU, integer multiply instructions took many CPU cycles, because they were handled by repeated shifts and adds; similarly, divides were handled by repeated subtractions. In modern CPUs where the FPU is integrated into the CPU, there is usually a multiply network which can also be used to perform these integer operations in a few CPU cycles.

Very recently, Graphic Processing Units have been able to handle floating point operations needed for math intensive tasks such as image rendering, etc.