¡@

Home 

c++ Programming Glossary: fstp

Is < faster than <=? [closed]

http://stackoverflow.com/questions/12135518/is-faster-than

st st 1 Compare ST 0 and ST 1 and set CF PF ZF in EFLAGS fstp st 0 seta al Set al if above CF 0 and ZF 0 . test al al je.. fld QWORD PTR esp 40 fucomip st st 1 same thing as above fstp st 0 setae al Set al if above or equal CF 0 . test al al je..

Convert inline assembly code to C++

http://stackoverflow.com/questions/16142284/convert-inline-assembly-code-to-c

floatType __asm call functionAddress mov ebx resultBuffer fstp dword ptr ebx break case doubleType __asm call functionAddress.. doubleType __asm call functionAddress mov ebx resultBuffer fstp qword ptr ebx break I used stack array to migrate this asm..

How can adding code to a loop make it faster?

http://stackoverflow.com/questions/688325/how-can-adding-code-to-a-loop-make-it-faster

DWORD PTR esi fmul DWORD PTR __real@4@400b8000000000000000 fstp QWORD PTR T5011 ebp 170 int i 171 int iScaled 172 unsigned int.. DWORD PTR esi fmul DWORD PTR __real@4@400b8000000000000000 fstp QWORD PTR T4865 ebp 195 int i 196 int iScaled 197 unsigned int.. DWORD PTR edi fmul DWORD PTR __real@4@400b8000000000000000 fstp QWORD PTR T5014 ebp 170 int i 171 int iScaled 172 int one 1..

Fast multiplication/division by 2 for floats and doubles (C/C++)

http://stackoverflow.com/questions/7720668/fast-multiplication-division-by-2-for-floats-and-doubles-c-c

loop fld qword ptr esp eax 8 38h inc eax fmul st st 1 fstp qword ptr esp eax 8 30h I knew the x87 FP stack was aweful but..