¡@

Home 

c++ Programming Glossary: xorl

what's the mechanism of sizeof() in C/C++?

http://stackoverflow.com/questions/1581839/whats-the-mechanism-of-sizeof-in-c-c

code you'll find sth like this movl 4 esi leaq LC0 rip rdi xorl eax eax call _printf So the compiler put directly the constant..

What is the fastest integer division supporting division by zero no matter what the result is?

http://stackoverflow.com/questions/16777456/what-is-the-fastest-integer-division-supporting-division-by-zero-no-matter-what

the assembly .globl f .type f @function f pushl ebp xorl eax eax movl esp ebp movl 12 ebp edx testl edx edx sete al addl..

Variance in RDTSC overhead

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

rdtsc64 unsigned int hi lo __asm__ __volatile__ xorl eax eax n t cpuid n t rdtsc a lo d hi no inputs rbx rcx return.. generates for the core loop is .L105 #APP # 27 test.cpp 1 xorl eax eax cpuid rdtsc # 0 2 #NO_APP movl edx ebp movl eax edi.. 0 2 #NO_APP movl edx ebp movl eax edi #APP # 27 test.cpp 1 xorl eax eax cpuid rdtsc # 0 2 #NO_APP salq 32 rdx salq 32 rbp mov..

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

LFB1477 11 pushq rbp 12 LCFI0 13 movq rsp rbp 14 LCFI1 15 xorl eax eax 16 leave 17 ret 18 LFE1477 19 .align 1 20 .align 4 21.. 48 pushq rbx 49 LCFI9 50 movq rdi r12 51 movl esi r13d 52 xorl r14d r14d 53 testl esi esi 54 je L8 55 xorl ebx ebx 56 .align.. esi r13d 52 xorl r14d r14d 53 testl esi esi 54 je L8 55 xorl ebx ebx 56 .align 4 0x90 57 L9 58 movq r12 rax 59 movq r12 rdi..