Skip to content

Instantly share code, notes, and snippets.

@brycelelbach
Created October 19, 2010 20:46
Show Gist options
  • Select an option

  • Save brycelelbach/635077 to your computer and use it in GitHub Desktop.

Select an option

Save brycelelbach/635077 to your computer and use it in GitHub Desktop.
.file "unroll_for.cpp"
.text
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB12:
.cfi_startproc
subq $56, %rsp
.cfi_def_cfa_offset 64
movdqa .LC0(%rip), %xmm0
movq %rsp, %rdi
movb $102, 32(%rsp)
movb $102, 33(%rsp)
movdqa %xmm0, (%rsp)
movb $0, 34(%rsp)
movdqa %xmm0, 16(%rsp)
call puts
xorl %eax, %eax
addq $56, %rsp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE12:
.size main, .-main
.section .rodata.cst16,"aM",@progbits,16
.align 16
.LC0:
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.byte 102
.ident "GCC: (Debian 4.5.0-6) 4.5.1 20100617 (prerelease)"
.section .note.GNU-stack,"",@progbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment