Floating Point Unit
These are some suggested instructions for the FPU
FPU instructions
Basic Operation:
- Addition
- Subtraction
- Multiplication
- Division
Memory transfer:
Extra operations:
- Square root
- Scale
- Fractional remainder
- 1/x
- Absolute value
- ChangeSign
- getExponent
- getMagnitude
Conversion:
Comparison:
- compare float
- maximum
- minimum
- absolute maximum
- absolute minimum
- test & examin
Trigonometric
- Sin
- Cos
- SinCos
- Tan
- Arcsin
- arccos
- arctan
Load Constants:
- zero
- one
- PI
- e
- log2(10)
- log2(e)
- log10(2)
- log10(e)
- loge(10)
- loge(2)
Log and Exp
- 2^x
- 10^x
- e^x
- Y^x
- log2(x)
- log10(x)
- Loge(x)
- Sinh
- cosh
- tanh
- arccosh
- arcsinh
- arctanh
FPU Control instructions:
- Reset core
- Clear exceptions
Exceptions:
- Divide by zero
- Overflow
- Underflow
- Invalid instruction
- Inexact result
Please send your comments to khatib@ieee.org_NOSPAM
Last update 28 September 2000