¡@

Home 

c++ Programming Glossary: r12

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

push r13 4004d8 41 89 fd mov r13d edi 4004db 41 54 push r12 4004dd 41 89 f4 mov r12d esi 4004e0 55 push rbp 4004e1 bd 00.. fd mov r13d edi 4004db 41 54 push r12 4004dd 41 89 f4 mov r12d esi 4004e0 55 push rbp 4004e1 bd 00 c2 eb 0b mov ebp 0xbebc200.. rbx 4004e7 31 db xor ebx ebx 4004e9 41 8d 34 1c lea esi r12 rbx 1 4004ed 41 8d 7c 1d 00 lea edi r13 rbx 1 0x0 4004f2 e8..

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

a register that already has vtable set up. 57 L9 58 movq r12 rax Get the location of f method address via the r12 register.. movq r12 rax Get the location of f method address via the r12 register 59 movq r12 rdi Set up rdi register as `this` for after.. location of f method address via the r12 register 59 movq r12 rdi Set up rdi register as `this` for after call 60 call rax..

get 3d coord from 2d image pixel if we know extrinsic and intrinsic parameters

http://stackoverflow.com/questions/7836134/get-3d-coord-from-2d-image-pixel-if-we-know-extrinsic-and-intrinsic-parameters

r11 r21 r31 of Pose. Column 2 of Homography is column r12 r22 r32 of Pose. Column 3 of Homography is column t1 t2 t3 of..