¡@

Home 

c++ Programming Glossary: qword

Is < faster than <=? [closed]

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

same code as above but with double instead of int . fld QWORD PTR esp 32 fld QWORD PTR esp 40 fucomip st st 1 Compare ST.. but with double instead of int . fld QWORD PTR esp 32 fld QWORD PTR esp 40 fucomip st st 1 Compare ST 0 and ST 1 and set CF.. CF 0 and ZF 0 . test al al je .L2 Do something 1 .L2 fld QWORD PTR esp 32 fld QWORD PTR esp 40 fucomip st st 1 same thing..

C++11: GCC 4.8 `thread_local` Performance Penalty?

http://stackoverflow.com/questions/13106049/c11-gcc-4-8-thread-local-performance-penalty

the TLS 4005f2 64 48 8b 14 25 00 00 00 00 mov rdx QWORD PTR fs 0x0 4005fb 48 c7 c0 fc ff ff ff mov rax 0xfffffffffffffffc..

Whats the cost of calling a virtual function in a non-polymorphic way?

http://stackoverflow.com/questions/14922890/whats-the-cost-of-calling-a-virtual-function-in-a-non-polymorphic-way

rdi rbp call D2 foo And for the polymorphic calls mov rdi QWORD PTR rbx mov rax QWORD PTR rdi call QWORD PTR rax mov rdi QWORD.. for the polymorphic calls mov rdi QWORD PTR rbx mov rax QWORD PTR rdi call QWORD PTR rax mov rdi QWORD PTR rbx 8 mov rax QWORD.. calls mov rdi QWORD PTR rbx mov rax QWORD PTR rdi call QWORD PTR rax mov rdi QWORD PTR rbx 8 mov rax QWORD PTR rdi call QWORD..

How to obtain a pointer out of a C++ vtable?

http://stackoverflow.com/questions/5099967/how-to-obtain-a-pointer-out-of-a-c-vtable

0 40 f6 c6 01 test sil 0x1 4 48 89 74 24 e8 mov QWORD PTR rsp 0x18 rsi 9 48 89 54 24 f0 mov QWORD PTR rsp 0x10 rdx.. 74 24 e8 mov QWORD PTR rsp 0x18 rsi 9 48 89 54 24 f0 mov QWORD PTR rsp 0x10 rdx e 74 10 je 20 _Z3fooP3FooMS_FvvE 0x20 10 48.. 0x20 10 48 01 d7 add rdi rdx 13 48 8b 07 mov rax QWORD PTR rdi 16 48 8b 74 30 ff mov rsi QWORD PTR rax rsi 1 0x1 1b..

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

PTR esi fmul DWORD PTR __real@4@400b8000000000000000 fstp QWORD PTR T5011 ebp 170 int i 171 int iScaled 172 unsigned int iSRGB.. ebp 170 int i 171 int iScaled 172 unsigned int iSRGB fld QWORD PTR T5011 ebp 173 for i 0 i iCount i fistp DWORD PTR _i 5009.. PTR esi fmul DWORD PTR __real@4@400b8000000000000000 fstp QWORD PTR T4865 ebp 195 int i 196 int iScaled 197 unsigned int iSRGB..

G++ 4.6 -std=gnu++0x: Static Local Variable Constructor Call Timing and Thread Safety

http://stackoverflow.com/questions/9533649/g-4-6-std-gnu0x-static-local-variable-constructor-call-timing-and-thread-s

mov rbp rsp 4 48 83 ec 10 sub rsp 0x10 8 48 89 7d f8 mov QWORD PTR rbp 0x8 rdi c e8 00 00 00 00 call 11 _ZN1XC1Ev 0x11 11 c9..

Getting desired binary data ranges from std::istreambuf_iterator and std::ifstream

http://stackoverflow.com/questions/13665534/getting-desired-binary-data-ranges-from-stdistreambuf-iterator-and-stdifstre

qi parse f l qi word buffer Of course there is qi dword qi qword big endian little endian variatations etc. http www.boost.org..

Convert inline assembly code to C++

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

__asm call functionAddress mov ebx resultBuffer fstp qword ptr ebx break I used stack array to migrate this asm push val..

Coroutine demo source

http://stackoverflow.com/questions/3330838/coroutine-demo-source

typedef unsigned char byte typedef unsigned long long int qword enum STKPAD 1 16 struct coroutine volatile int state volatile.. uint range Cache FFNum union struct uint low uint Carry qword lowc uint code uint rc_BProcess uint freq uint bit uint rnew.. uint Mode FILE f FILE g volatile uint r volatile qword g_len 0 uint f_len 0 DECODE Mode f_quit 0 if DECODE addout byte..

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

seconds... with 1 100th of the iterations inner loop fld qword ptr esp eax 8 38h inc eax fmul st st 1 fstp qword ptr esp eax.. 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 500..

C++ Buffer Overflow

http://stackoverflow.com/questions/8782852/c-buffer-overflow

sub rsp 68h 00000001`3f1f1714 488b0515db0300 mov rax qword ptr Prototype_Console __security_cookie 00000001`3f22f230 00000001`3f1f171b.. 4833c4 xor rax rsp 00000001`3f1f171e 4889442450 mov qword ptr rsp 50h rax 00000001`3f1f1723 c744243800000000 mov dword.. 33c0 xor eax eax 00000001`3f1f17e7 488b4c2450 mov rcx qword ptr rsp 50h 00000001`3f1f17ec 4833cc xor rcx rsp 00000001`3f1f17ef..