Last active
December 11, 2015 22:28
-
-
Save iskandr/4669647 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| count_thresh: | |
| ;; %entry | |
| movq 8(%rdi), %rax | |
| movq (%rax), %r8 | |
| xorl %eax, %eax | |
| testq %r8, %r8 | |
| jle .LBB0_3 | |
| ;; %loop_body.preheader | |
| movq 24(%rdi), %rax | |
| movq (%rdi), %rdx | |
| leaq (%rdx,%rax,8), %rdx | |
| xorl %eax, %eax | |
| .align 16, 0x90 | |
| ;; %loop_body | |
| .LBB0_2: | |
| ucomisd (%rdx), %xmm0 | |
| seta %cl | |
| movzbl %cl, %esi | |
| addq %rsi, %rax | |
| addq $8, %rdx | |
| decq %r8 | |
| jne .LBB0_2 | |
| .LBB0_3: | |
| ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment