answersLogoWhite

0


Best Answer

They simply make it easier to do floating point instructions.


Before the 486 computers, math processors (or floating point units) in IBM compatibles were optional. The 486DX was the first CPU to include a floating point set as standard equipment. Intel did release the 486SX which was much like the 386DX, which had no floating point set.

Most of the older programs that required floating point instructions were compiled with floating point libraries. These were instructions that used the CPU to emulate a math coprocessor. The software would call the floating point command just like the coprocessor was there. The CPU would throw an exception that it didn't understand the command, then the exception handler would send the command to the floating point library which would then execute it.


But these routines were slow and the CPU had to be tied up to run them. A lot of the floating point libraries also had floating point processor detection routines. So if a math coprocessor was detected, then all the software interrupts used by the emulator sets would be routed to the math coprocessor. So when the CPU refuses to execute an instruction, the coprocessor takes over.


In certain cases, the CPU can continue with the next instructions while the FPU is busy if there is no risk of a race condition. A race condition is when there is a chance that the result might not be there when it is needed. For instance, you don't want the CPU to process the results of the FPU before the results arrive, or the CPU will get random garbage from memory and act the next instruction upon the garbage. Then the FPU puts its result in that area of memory too late. So one way around that is the FWAIT instruction. That pauses the CPU while the FPU finishes to prevent a race condition.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do math coprocessors enhance the capabilities of an ordinary CPU?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does how mean in math?

It has the same meaning as it does in ordinary English: "in what way?"


What does causation mean in math terms?

It means the same as in ordinary English.


Math words that start with o?

Math words that start with o are operation, order, octagon,ordinary,and more to come!


What does a common mean in math?

The ordinary meaning of "common" is used in math too. It means "same for both" or "same for all".


What is the first CPU to include an internal math co processor?

Not sure if it's the first but:"Intel processors later than the 80486 integrated floating-point hardware on the main processor chip" source: http://en.wikipedia.org/wiki/Coprocessor#Modern_PC_coprocessorsCouldn't find anything about Motorola processors with math coprocessors built-in.I believe AMD was just behind Intel with the processor design.


How do you write the math term pie in letters?

In ordinary everyday letters . . . pi In Greek letters . . . Π


What does either mean in math?

It has the same meaning as in ordinary usage: look it up in a dictionary.It has the same meaning as in ordinary usage: look it up in a dictionary.It has the same meaning as in ordinary usage: look it up in a dictionary.It has the same meaning as in ordinary usage: look it up in a dictionary.


What is tropical math?

Tropical math is a kind of arithmetic and algebra in which addition of two number is their minimum and multiplication is their sum. This has some properties similar to ordinary arithmetic and algebra but other properties are different.


Are calculators allowed in GRE test?

No. You aren't allowed to carry a calculator when taking your test. The test software has an on-screen calculator with basic math operation capabilities.


What is the only thing good about maths?

math is a language in number form, which describes worldly phenomenon in number forms as opposed to ordinary descriptive language.


What key skills does Kidspiration offer?

The three main categories provided by Kidspiration are reading comprehension, writing and math. These skills enhance and clarify understanding and communication for the student.


How do police officers use math in their job?

Math is used by narcotic officers to determine the possible production capabilities of a methamphetamine or crack cocaine lab. The capabilities of the lab can determine the sentence of a narcotic trafficker. Math is used by narcotic officers to determine the possible production capabilities of a methamphetamine or crack cocaine lab. The capabilities of the lab can determine the sentence of a narcotic trafficker.