¡@

Home 

c++ Programming Glossary: addq

Smart pointer wrapping penalty. Memoization with std::map

http://stackoverflow.com/questions/15963563/smart-pointer-wrapping-penalty-memoization-with-stdmap

eax 12 rsp call _Z10ASM_MARKERILi1001EEvv movl 12 rsp eax addq 16 rsp .cfi_def_cfa_offset 16 popq rbx .cfi_def_cfa_offset 8.. eax 12 rsp call _Z10ASM_MARKERILi2001EEvv movl 12 rsp eax addq 16 rsp .cfi_def_cfa_offset 16 popq rbx .cfi_def_cfa_offset 8..

Using arrays or std::vectors in C++, what's the performance gap?

http://stackoverflow.com/questions/381621/using-arrays-or-stdvectors-in-c-whats-the-performance-gap

as dereferencing a pointer. void pointer_increment S s s.p addq 4 32 rdi ret void iterator_increment S s s.i addq 4 40 rdi ret.. S s s.p addq 4 32 rdi ret void iterator_increment S s s.i addq 4 40 rdi ret Conclusion Incrementing a vector iterator is the..

Variance in RDTSC overhead

http://stackoverflow.com/questions/6432669/variance-in-rdtsc-overhead

edi orq rax rdx orq rdi rbp subq rbp rdx movq rdx r8 rsi addq 8 rsi cmpq 8000000 rsi jne .L105 c performance assembly intel..

Hoisting the dynamic type out of a loop (a.k.a. doing Java the C++ way)

http://stackoverflow.com/questions/7451442/hoisting-the-dynamic-type-out-of-a-loop-a-k-a-doing-java-the-c-way

32 rsp 144 LCFI22 145 movq __ZTV1A@GOTPCREL rip rax 146 addq 16 rax 147 movq rax 48 rbp 148 movq __ZTV1B@GOTPCREL rip rax.. 147 movq rax 48 rbp 148 movq __ZTV1B@GOTPCREL rip rax 149 addq 16 rax 150 movq rax 64 rbp 151 leaq 48 rbp r13 152 movq r13.. 194 xorl eax eax 195 addq 32 rsp 196 popq rbx 197 popq r12 198 popq r13 199 popq r14 200..