Skip to content

Instantly share code, notes, and snippets.

Created Oct 20, 2013
What would you like to do?
.file "main.cpp"
.type _ZL3addRKiS0_.isra.0, @function
leal (%rdi,%rsi), %eax
.size _ZL3addRKiS0_.isra.0, .-_ZL3addRKiS0_.isra.0
.type _ZL4workii, @function
pushq %r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
movl %esi, %r13d
pushq %r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
movl %edi, %r12d
pushq %rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
movl $200000000, %ebp
pushq %rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
xorl %ebx, %ebx
leal 0(%r13,%rbx), %esi
leal (%r12,%rbx), %edi
call _ZL3addRKiS0_.isra.0
addl %eax, %ebx
decl %ebp
jne .L3
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 32
popq %rbp
.cfi_def_cfa_offset 24
popq %r12
.cfi_def_cfa_offset 16
popq %r13
.cfi_def_cfa_offset 8
.size _ZL4workii, .-_ZL4workii
.section .text.startup,"ax",@progbits
.globl main
.type main, @function
movq %rsi, %rax
movq 16(%rsi), %rdx
movq 8(%rax), %rax
movsbl (%rdx), %esi
movsbl (%rax), %edi
jmp _ZL4workii
.size main, .-main
.ident "GCC: (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2"
.section .note.GNU-stack,"",@progbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment