Oracle Floating Point Instructions X86 Assembly Language Reference Manual
User Manual: Pdf
Open the PDF directly: View PDF .
Page Count: 4
Download | ![]() |
Open PDF In Browser | View PDF |
12/14/2017 Floating-Point Instructions - x86 Assembly Language Reference Manual Exit Print View x86 Assembly Language Reference Manual Floating-Point Instructions The floating point instructions operate on floating-point, integer, and binary coded decimal (BCD) operands. Data Transfer Instructions (Floating Point) The data transfer instructions move floating-point, integer, and BCD values between memory and the floating point registers. Table 3-13 Data Transfer Instructions (Floating-Point) Solaris Mnemonic Intel/AMD Mnemonic fbld FBLD fbstp FBSTP fcmovb FCMOVB fcmovbe FCMOVBE fcmove FCMOVE fcmovnb FCMOVNB fcmovnbe FCMOVNBE fcmovne FCMOVNE fcmovnu FCMOVNU fcmovu FCMOVU fild FILD fist FIST fistp FISTP fld FLD fst FST fstp FSTP fxch FXCH Description Notes load BCD store BCD and pop floating-point conditional move if below floating-point conditional move if below or equal floating-point conditional move if equal floating-point conditional move if not below floating-point conditional move if not below or equal floating-point conditional move if not equal floating-point conditional move if unordered floating-point conditional move if unordered load integer store integer store integer and pop load floating-point value store floating-point value store floating-point value and pop exchange registers Basic Arithmetic Instructions (Floating-Point) The basic arithmetic instructions perform basic arithmetic operations on floating-point and integer operands. Table 3-14 Basic Arithmetic Instructions (Floating-Point) Solaris Mnemonic Intel/AMD Mnemonic fabs FABS fadd FADD faddp FADDP fchs FCHS https://docs.oracle.com/cd/E18752_01/html/817-5477/eoizy.html# Description Notes absolute value add floating-point add floating-point and pop 1/4 12/14/2017 Floating-Point Instructions - x86 Assembly Language Reference Manual fdiv FDIV fdivp FDIVP fdivr FDIVR fdivrp FDIVRP fiadd FIADD fidiv FIDIV fidivr FIDIVR fimul FIMUL fisub FISUB fisubr FISUBR fmul FMUL fmulp FMULP fprem FPREM fprem1 FPREM1 frndint FRNDINT fscale FSCALE fsqrt FSQRT fsub FSUB fsubp FSUBP fsubr FSUBR fsubrp FSUBRP fxtract FXTRACT change sign divide floating-point divide floating-point and pop divide floating-point reverse divide floating-point reverse and pop add integer divide integer divide integer reverse multiply integer subtract integer subtract integer reverse multiply floating-point multiply floating-point and pop partial remainder IEEE partial remainder round to integer scale by power of two square root subtract floating-point subtract floating-point and pop subtract floating-point reverse subtract floating-point reverse and pop extract exponent and significand Comparison Instructions (Floating-Point) The floating-point comparison instructions operate on floating-point or integer operands. Table 3-15 Comparison Instructions (Floating-Point) Solaris Mnemonic Intel/AMD Mnemonic fcom FCOM fcomi FCOMI fcomip FCOMIP fcomp FCOMP fcompp FCOMPP ficom FICOM ficomp FICOMP ftst FTST fucom FUCOM https://docs.oracle.com/cd/E18752_01/html/817-5477/eoizy.html# Description Notes compare floating-point compare floating-point and set %eflags compare floating-point, set %eflags, and pop compare floating-point and pop compare floating-point and pop twice compare integer compare integer and pop test floating-point (compare with 0.0) unordered compare floating-point 2/4 12/14/2017 Floating-Point Instructions - x86 Assembly Language Reference Manual fucomi FUCOMI fucomip FUCOMIP fucomp FUCOMP fucompp FUCOMPP fxam FXAM unordered compare floating-point and set %eflags unordered compare floating-point, set %eflags, and pop unordered compare floating-point and pop compare floating-point and pop twice examine floating-point Transcendental Instructions (Floating-Point) The transcendental instructions perform trigonometric and logarithmic operations on floating-point operands. Table 3-16 Transcendental Instructions (Floating-Point) Solaris Mnemonic Intel/AMD Mnemonic f2xm1 F2XM1 fcos FCOS fpatan FPATAN fptan FPTAN fsin FSIN fsincos FSINCOS fyl2x FYL2X fyl2xp1 FYL2XP1 Description computes 2x-1 cosine partial arctangent partial tangent sine sine and cosine computes y * log2x computes y * log2(x+1) Notes Load Constants (Floating-Point) Instructions The load constants instructions load common constants, such as π, into the floating-point registers. Table 3-17 Load Constants Instructions (Floating-Point) Solaris Mnemonic Intel/AMD Mnemonic fld1 FLD1 fldl2e FLDL2E fldl2t FLDL2T fldlg2 FLDLG2 fldln2 FLDLN2 fldpi FLDPI fldz FLDZ Description load +1.0 load log2e Notes load log210 load log102 load loge2 load π load +0.0 Control Instructions (Floating-Point) The floating-point control instructions operate on the floating-point register stack and save and restore the floating-point state. Table 3-18 Control Instructions (Floating-Point) Solaris Mnemonic Intel/AMD Mnemonic fclex FCLEX https://docs.oracle.com/cd/E18752_01/html/817-5477/eoizy.html# Description clear floating-point exception flags after Notes 3/4 12/14/2017 Floating-Point Instructions - x86 Assembly Language Reference Manual fdecstp FDECSTP ffree FFREE fincstp FINCSTP finit FINIT fldcw FLDCW fldenv FLDENV fnclex FNCLEX fninit FNINIT fnop FNOP fnsave FNSAVE fnstcw FNSTCW fnstenv FNSTENV fnstsw FNSTSW frstor FRSTOR fsave FSAVE fstcw FSTCW fstenv FSTENV fstsw FSTSW fwait FWAIT wait WAIT https://docs.oracle.com/cd/E18752_01/html/817-5477/eoizy.html# checking for error conditions decrement floating-point register stack pointer free floating-point register increment floating-point register stack pointer initialize floating-point unit after checking error conditions load floating-point unit control word load floating-point unit environment clear floating-point exception flags without checking for error conditions initialize floating-point unit without checking error conditions floating-point no operation save floating-point unit state without checking error conditions store floating-point unit control word without checking error conditions store floating-point unit environment without checking error conditions store floating-point unit status word without checking error conditions restore floating-point unit state save floating-point unit state after checking error conditions store floating-point unit control word after checking error conditions store floating-point unit environment after checking error conditions store floating-point unit status word after checking error conditions wait for floating-point unit wait for floating-point unit 4/4
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.4 Linearized : No Page Count : 4 Creator : Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 Producer : Skia/PDF m63 Create Date : 2017:12:14 13:33:54+00:00 Modify Date : 2017:12:14 13:33:54+00:00EXIF Metadata provided by EXIF.tools