¡@

Home 

c++ Programming Glossary: e8

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

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

4005b0 55 push rbp 4005b1 48 89 e5 mov rbp rsp 4005b4 e8 26 00 00 00 call 4005df _ZTW3tls line 6 4005b9 8b 10 mov edx.. add edx 0x25 4005be 89 10 mov DWORD PTR rax edx 4005c0 e8 1a 00 00 00 call 4005df _ZTW3tls line 7 4005c5 8b 10 mov edx.. 0b and edx 0xb 4005ca 89 10 mov DWORD PTR rax edx 4005cc e8 0e 00 00 00 call 4005df _ZTW3tls line 8 4005d1 8b 10 mov edx..

Why does gcc generate 15-20% faster code if I optimize for SIZE instead of speed?

http://stackoverflow.com/questions/19470873/why-does-gcc-generate-15-20-faster-code-if-i-optimize-for-size-instead-of-speed

rbx 1 4004ed 41 8d 7c 1d 00 lea edi r13 rbx 1 0x0 4004f2 e8 db ff ff ff call 4004d2 _ZL3addRKiS0_.isra.0 4004f7 01 c3 add.. r13 rbx 1 0x0 400516 41 8d 3c 1c lea edi r12 rbx 1 40051a e8 db ff ff ff call 4004fa _ZL3addRKiS0_.isra.0 40051f 01 c3 add.. r13 rbx 1 0x0 400519 41 8d 3c 1c lea edi r12 rbx 1 40051d e8 db ff ff ff call 4004fd _ZL3addRKiS0_.isra.0 400522 01 c3 add..

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..

Speed of accessing local vs. global variables in gcc/g++ at different optimization levels

http://stackoverflow.com/questions/7241035/speed-of-accessing-local-vs-global-variables-in-gcc-g-at-different-optimizati

mov 0x3b9ac9ff eax 80483e2 89 f6 mov esi esi 80483e4 83 e8 19 sub 0x19 eax 80483e7 79 fb jns 80483e4 global1 0x14 80483e9..

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

rbp 1 48 89 e5 mov rbp rsp 4 bf 01 00 00 00 mov edi 0x1 9 e8 00 00 00 00 call e _Z1av 0xe e 5d pop rbp f c3 ret 0000000000000010.. 11 48 89 e5 mov rbp rsp 14 bf 02 00 00 00 mov edi 0x2 19 e8 00 00 00 00 call 1e _Z1bv 0xe 1e 5d pop rbp 1f c3 ret 0000000000000020.. 48 89 e5 mov rbp rsp 24 41 54 push r12 26 53 push rbx 27 e8 00 00 00 00 call 2c _Z1fv 0xc 2c b8 00 00 00 00 mov eax 0x0..