Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jthemphill
Created July 29, 2017 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jthemphill/af89f9448f702885c7980d000c7410d5 to your computer and use it in GitHub Desktop.
Save jthemphill/af89f9448f702885c7980d000c7410d5 to your computer and use it in GitHub Desktop.
.section __TEXT,__text,regular,pure_instructions
.globl __ZN10slow_iters5tests8iter_any17h9958878595c8e553E
.p2align 4, 0x90
__ZN10slow_iters5tests8iter_any17h9958878595c8e553E:
.cfi_startproc
pushq %rbp
Lcfi0:
.cfi_def_cfa_offset 16
Lcfi1:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Lcfi2:
.cfi_def_cfa_register %rbp
xorl %eax, %eax
leaq _ref.5(%rip), %rcx
leaq -1(%rbp), %rdx
leaq -2(%rbp), %rsi
.p2align 4, 0x90
LBB0_1:
cmpq $4, %rax
je LBB0_2
cmpl $1, (%rax,%rcx)
movq %rdx, %rdi
jne LBB0_5
movb $1, -1(%rbp)
movq %rsi, %rdi
LBB0_5:
movb $0, (%rdi)
addq $4, %rax
cmpb $0, -1(%rbp)
je LBB0_1
testb $1, -2(%rbp)
sete %al
jmp LBB0_7
LBB0_2:
xorl %eax, %eax
LBB0_7:
popq %rbp
retq
.cfi_endproc
.globl __ZN10slow_iters5tests8for_loop17hf41fef8312c32c27E
.p2align 4, 0x90
__ZN10slow_iters5tests8for_loop17hf41fef8312c32c27E:
.cfi_startproc
pushq %rbp
Lcfi3:
.cfi_def_cfa_offset 16
Lcfi4:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Lcfi5:
.cfi_def_cfa_register %rbp
movb $1, %al
popq %rbp
retq
.cfi_endproc
.section __TEXT,__const
.p2align 2
_ref.5:
.long 1
.subsections_via_symbols
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment