Skip to content

Instantly share code, notes, and snippets.

@stepancheg
Created February 6, 2013 07:59
Show Gist options
  • Save stepancheg/4721075 to your computer and use it in GitHub Desktop.
Save stepancheg/4721075 to your computer and use it in GitHub Desktop.
.file "./qw.c"
.text
.globl foo
.align 16, 0x90
.type foo,@function
foo: # @foo
.cfi_startproc
# BB#0: # %entry
movl $17, %eax
xchgq %rax, (%rdi)
movl $19, %eax
xchgq %rax, (%rsi)
ret
.Ltmp0:
.size foo, .Ltmp0-foo
.cfi_endproc
.globl bar
.align 16, 0x90
.type bar,@function
bar: # @bar
.cfi_startproc
# BB#0: # %entry
movq $21, (%rdi)
movq $23, (%rsi)
ret
.Ltmp1:
.size bar, .Ltmp1-bar
.cfi_endproc
.section ".note.GNU-stack","",@progbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment