¡@

Home 

c++ Programming Glossary: rdx

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

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

initialize 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.. ff ff mov rax 0xfffffffffffffffc 400602 48 01 d0 add rax rdx 400605 5d pop rbp 400606 c3 ret Compare it with the __thread..

Why does changing `const ull` to `const ull&` in function parameter result in performance gain?

http://stackoverflow.com/questions/14805641/why-does-changing-const-ull-to-const-ull-in-function-parameter-result-in-pe

4c 89 c9 mov r9 rcx 0.00 400b43 48 89 fa mov rdi rdx 0.01 400b46 48 03 14 c6 add rsi rax 8 rdx 11.65.. mov rdi rdx 0.01 400b46 48 03 14 c6 add rsi rax 8 rdx 11.65 400b4a 48 0f af 0c c3 imul rbx rax 8 rcx .. c3 imul rbx rax 8 rcx 0.99 400b4f 48 01 ca add rcx rdx if tmp imax carry tmp numbits 2.25..

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

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 01 d7 add rdi rdx.. e 74 10 je 20 _Z3fooP3FooMS_FvvE 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.. jmp rsi 1d 0f 1f 00 nop DWORD PTR rax 20 48 01 d7 add rdi rdx 23 ff e6 jmp rsi I don't fully understand what's going on here..

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

93 movq ___dso_handle@GOTPCREL rip rdx 94 xorl esi esi 95 leaq ___tcf_0 rip rdi 96 leave 97 jmp ___cxa_atexit..