answersLogoWhite

0


Best Answer

Since 1985, most processors are "pipelined." What these means is that instead of having the entire processing pathway executing one instruction, the pathway is divided into multiple units. The units pass their intermediate results through the use of registers, saving their results at the end of a cycle to a "pipeline register." At the beginning of the next cycle, the next unit in the datapath will read the result from the pipeline register as its input.

Think of pipelines as an assembly line production system. Originally you employ 5 mechanics to work on a car. While the 1st one works on the chassis, the other four sit and watch. The chassis is then passed onto the 2nd mechanic, who builds the engine while the other four have a rest. This way, you are only having 1 person work at a time while the others wait.

Now you decide to have them all work in parallel. The 1st mechanic produces a chassis, and passes it on to the 2nd mechanic. While the 2nd mechanic works on the works on the engine, the 1st mechanic goes back to building a new chassis, and so on. This way you have effectively increased your output to 5 times within the same period of time, while keeping your resources same and without changing the total time required for a single car to be built.

Processors work the same way. Only in the computing world, this assembly line work is called pipelining. For instance, in the early MIPS microprocessors, there were 8 pipleine stages. The 1st and the 2nd were instruction fetch (get instruction from memory) and instruction decode (decode instruction and get required input values). The 3rd stage was the execution stage, where the results to the computation are actually computed.

Generally, the execution stage is further pipelined to keep clock frequencies high. Now, integers and floating point numbers are stored differently. While an integer if just stored as its binary representation, FP numbers are stored as an integer number with another number that marks where the decimal point is located.

For instance, the number 20 is stored (in binary) as 0001 0100. Whereas, 20.2 might be stored as 202 x 10^(-1). While the 10 part is not stored, the numbers 2021 may be stored, the 1st three for the number, and the last for the exponent.

In order to do arithmetic operations on FP numbers, the first step is to bring them to a common exponent number. This requires an additional step in processing, translating to an additional pipeline stage. Also, integer operations are much more simplified in terms of binary and logic processing, requiring less pipeline stages.

Generally this results in a different number of pipeline stages. In the Pentium 4 processor, integer operations required 11 pipeline stages, while floating point operations required 17 operations. This makes integer operations execute faster and FP operations execute slower.

Hence the difference in the 2 for processor related operations.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why integer and floating point are separated in terms of processor?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between floating point and fixed point processor?

in fixed point processor there is no separate mantissa and exponent part usually the nuumber can be represented from -1.000000to 1.0000000 wheras in floating point processor mantissa and exponent are separated so you can increase the range of values by compromising accuracy


What is the largest integer and the largest floating-point number?

In real-world math, there is no "largest" integer or floating point number. This is covered by the concepts known as "infinity" and "irrationality." Depending on the processor and/or application, a number with significant digits into the thousands can be operated upon.


What is another term for the CPU?

Central Processing Unit, processor, microprocessor, computer brain, floating-point-calculator, integer calculator, core, etc They can be called a lot of things, but CPU, processor and microprocessor are the big three.


What is the floating point unit used for on the processor system?

"Floating Point" refers to the decimal point. Since there can be any number of digits before and after the decimal, the point "floats". The floating point unit performs arithmetic operations on decimal numbers.


Is 9.6 and integer?

No, 9.6 is a floating-point number. Integers are whole numbers without fractional parts.


What are advantages and disadvantages of Integer programming?

The advantages of integer arithmetic over floating point arithmetic is the absence of rounding errors. Rounding errors are an intrinsic aspect of floating point arithmetic, with the result that two or more floating point values cannot be compared for equality or inequality (or with other relational operators), as the exact same original value may be presented slightly differently by two or more floating point variables. Integer arithmetic does not show this symptom, and allows for simple and reliable comparison of numbers. However, the disadvantage of integer arithmetic is the limited value range. While scaled arithmetic (also known as fixed point arithmetic) allows for integer-based computation with a finite number of decimals, the total value range of a floating point variable is much larger. For example, a signed 32-bit integer variable can take values in the range -231..+231-1 (-2147483648..+2147483647), an IEEE 754 single precision floating point variable covers a value range of +/- 3.4028234 * 1038 in the same 32 bits.


What is the unit for measuring processor speeds?

Processor speeds are usually measured in hertz (cycles per second) And then there are FLOPS ... Floating point operations per second.


What is floating point error?

A method for storing and calculating numbers in which the decimal points do not line up as in fixed point numbers. The significant digits are stored as a unit called the "mantissa," and the location of the radix point (decimal point in base 10) is stored in a separate unit called the "exponent." Floating point methods are used for calculating a large range of numbers quickly. Floating point operations can be implemented in hardware (math coprocessor), or they can be done in software. In large systems, they can also be performed in a separate floating point processor that is connected to the main processor via a channel.


What is a floating number?

A floating point number is one that contains an integer as well as a fractional part, for example 101.3625. These are often represented by their scientific notations as well, such as 1.013625E2


What does a processor do well?

A processor processes well! Its greatest talent is its ability to complete floating-point calculations, with the ability to complete millions upon millions of them EVERY SECOND.


How can the decimal real number 175.23 be represented as a 6 digit integer in floating point notation?

175.23*10^-2


What is the unit of measuring used to describe the power of the processor?

The basic unit is FLOPS, which stands for FLoating-point Operations Per Second.