Skip to content

Instantly share code, notes, and snippets.

@stepancheg
Created February 6, 2013 07:59
Show Gist options
  • Save stepancheg/4721070 to your computer and use it in GitHub Desktop.
Save stepancheg/4721070 to your computer and use it in GitHub Desktop.
.file "qw.c"
.text
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
movq $17, (%rdi)
mfence
movq $19, (%rsi)
mfence
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.p2align 4,,15
.globl bar
.type bar, @function
bar:
.LFB1:
.cfi_startproc
movq $21, (%rdi)
movq $23, (%rsi)
ret
.cfi_endproc
.LFE1:
.size bar, .-bar
.ident "GCC: (FreeBSD Ports Collection) 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