Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "test-777.c"
- .text
- .globl f2
- .type f2, @function
- f2:
- .LFB0:
- .cfi_startproc
- movl %edx, %eax
- andl $1, %eax
- je .L2
- movsbl (%rsi), %ecx
- leaq 1(%rsi), %rsi
- .L2:
- testb $2, %dl
- je .L3
- movzwl (%rsi), %edx
- testl %eax, %eax
- jne .L4
- movq %rdi, %rax
- .L7:
- movw %dx, (%rax)
- ret
- .L3:
- testl %eax, %eax
- je .L1
- jmp .L5
- .L4:
- leaq 1(%rdi), %rax
- movb %cl, (%rdi)
- jmp .L7
- .L5:
- movb %cl, (%rdi)
- .L1:
- rep ret
- .cfi_endproc
- .LFE0:
- .size f2, .-f2
- .ident "GCC: (GNU) 6.0.0 20150627 (experimental)"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement