Advertisement
Guest User

Untitled

a guest
Jun 28th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. .file "test-777.c"
  2. .text
  3. .globl f2
  4. .type f2, @function
  5. f2:
  6. .LFB0:
  7. .cfi_startproc
  8. movl %edx, %eax
  9. andl $1, %eax
  10. je .L2
  11. movsbl (%rsi), %ecx
  12. leaq 1(%rsi), %rsi
  13. .L2:
  14. testb $2, %dl
  15. je .L3
  16. movzwl (%rsi), %edx
  17. testl %eax, %eax
  18. jne .L4
  19. movq %rdi, %rax
  20. .L7:
  21. movw %dx, (%rax)
  22. ret
  23. .L3:
  24. testl %eax, %eax
  25. je .L1
  26. jmp .L5
  27. .L4:
  28. leaq 1(%rdi), %rax
  29. movb %cl, (%rdi)
  30. jmp .L7
  31. .L5:
  32. movb %cl, (%rdi)
  33. .L1:
  34. rep ret
  35. .cfi_endproc
  36. .LFE0:
  37. .size f2, .-f2
  38. .ident "GCC: (GNU) 6.0.0 20150627 (experimental)"
  39. .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement