6.10 Intel CPU Level Float Functions (Instructions)
Table Transcendental or related functions
Instruction | Description |
---|---|
FCOS | Cosine of ST(0) |
FLDL2E | Load log2(ε) into ST(0) |
FLDL2T | Load log2(10) into ST(0) |
FLDLG2 | Load log10(2) into ST(0) |
FLDLN2 | Load logε(2) into ST(0) |
FLDPI | Load π into ST(0) |
FPATAN | Partial Arctangent |
FPTAN | Partial Tangent |
FSIN | Sine |
FSINCOS | Sine and Cosine |
FSQRT | Square Root |
FYL2X | ST(1) × log2(ST(0)) |
FYL2XP1 | ST(1) × log2(ST(0) + 1.0) |
Table All Intel Floating Point Instruction Set
Instruction | Description |
---|---|
F2XM1 | Compute 2ST(0) - 1 |
FABS | Absolute Value |
FADD | Add |
FADDP | Add and Pop |
FBLD | Load Binary Coded Decimal |
FBSTP | Store Binary Coded Decimal and Pop |
FCHS | Change Sign |
FCLEX | Clear Exceptions |
FCOM | Compare Real |
FCOMP | Compare Real and Pop |
FCOMPP | Compare Real and Pop Twice |
FCOMIP | Compare Real, Set EFLAGS, and Pop |
FCOS | Cosine of ST(0) |
FDECSTP | Decrement Stack-Top Pointer |
FDIV | Divide |
FDIVP | Divide and Pop |
FDIVR | Reverse Divide |
FDIVRP | Reverse Divide and Pop |
FFREE | Free ST(i) Register |
FIADD | Add Integer |
FICOM | Compare Integer |
FICOMP | Compare Integer and Pop |
FIDIV | Divide |
FIDIVR | Reverse Divide |
FILD | Load Integer |
FIMUL | Multiply |
FINCSTP | Increment Stack Pointer |
FINIT | Initialize Floating-Point Unit |
FIST | Store Integer |
FISTP | Store Integer and Pop |
FISUB | Subtract |
FISUBR | Reverse Subtract |
FLD | Load Real |
FLD1 | Load +1.0 into ST(0) |
FLDCW | Load Control Word |
FLDENV | Load FPU Environment |
FLDL2E | Load log2(ε) into ST(0) |
FLDL2T | Load log2(10) into ST(0) |
FLDLG2 | Load log10(2) into ST(0) |
FLDLN2 | Load logε(2) into ST(0) |
FLDPI | Load π into ST(0) |
FLDZ | Load +0.0 into ST(0) |
FMUL | Multiply |
FMULP | Multiply |
FNOP | No Operation |
FPATAN | Partial Arctangent |
FPREM | Partial Remainder |
FPREM1 | Partial Remainder (IEEE) |
FPTAN | Partial Tangent |
FRNDINT | Round to Integer |
FRSTOR | Restore FPU State |
FSAVE | Store FPU State |
FSCALE | Scale |
FSIN | Sine |
FSINCOS | Sine and Cosine |
FSQRT | Square Root |
FST | Store Real |
FSTCW | Store Control Word |
FSTENV | Store FPU Environment |
FSTP | Store Real and Pop |
FSTSW | Store Status Word into AX |
FSTSW | Store Status Word into Memory |
FSUB | Subtract |
FSUBP | Subtract and Pop |
FSUBR | Reverse Subtract |
FSUBRP | Reverse Subtract and Pop |
FTST | Test |
FUCOM | Unordered Compare Real |
FUCOMP | Unordered Compare Real and Pop |
FUCOMPP | Unordered Compare Real and Pop Twice |
FUCOMI | Unorderd Compare Real and Set EFLAGS |
FUCOMIP | Unorderd Compare Real, Set EFLAGS, and Pop |
FXAM | Examine |
FXCH | Exchange ST(0) and ST(i) |
FXTRACT | Extract Exponent and Significand |
FYL2X | ST(1) × log2(ST(0)) |
FYL2XP1 | ST(1) × log2(ST(0) + 1.0) |
FWAIT | Wait until FPU Ready |