Skip to content

Instantly share code, notes, and snippets.

@ridiculousfish
Created November 24, 2014 08:29
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 ridiculousfish/0afc79d458ae30dc6327 to your computer and use it in GitHub Desktop.
Save ridiculousfish/0afc79d458ae30dc6327 to your computer and use it in GitHub Desktop.
.LBB0_10: # Parent Loop BB0_9 Depth=1
# => This Inner Loop Header: Depth=2
leal (%rdi,%rdi), %ecx
movl %edi, %eax
movl $2290649225, %r9d # imm = 0x88888889
imulq %rax, %r9
movq %r9, %r8
shrq $38, %r8
imull $120, %r8d, %edx
movl %edi, %r8d
subl %edx, %r8d
leal (%r12,%rdi), %edx
movl $2155905153, %ebp # imm = 0x80808081
imulq %rax, %rbp
shrq $39, %rbp
imull $255, %ebp, %eax
movl %edi, %ebp
subl %eax, %ebp
shrq $35, %r9
imull $15, %r9d, %eax
movl %edi, %ebx
subl %eax, %ebx
andl $1022, %ecx # imm = 0x3FE
movl %edi, %eax
andl $1023, %eax # imm = 0x3FF
addl %ecx, %eax
leal (%r13,%rdx), %ecx
andl $1023, %edx # imm = 0x3FF
addl %edx, %eax
andl $1023, %ecx # imm = 0x3FF
addl %ecx, %eax
leal (%r15,%rdi,2), %ecx
andl $1023, %ecx # imm = 0x3FF
addl %ecx, %eax
addl %ebp, %eax
leal (%rbp,%rdi,4), %ecx
andl $1023, %ecx # imm = 0x3FF
addl %r10d, %eax
addl %ecx, %eax
leal (%rbx,%r8,2), %ecx
addl %ebx, %eax
leal (%r14,%rdi), %edx
andl $1023, %edx # imm = 0x3FF
addl %edx, %eax
andl $1023, %ecx # imm = 0x3FF
addl %r11d, %eax
addl %ecx, %eax
imulq $1374389535, %rax, %rcx # imm = 0x51EB851F
shrq $37, %rcx
imull $100, %ecx, %ecx
subl %ecx, %eax
addl %esi, %eax
movl $3435973837, %ecx # imm = 0xCCCCCCCD
imulq %rax, %rcx
shrq $45, %rcx
imull $10240, %ecx, %ecx # imm = 0x2800
movl %eax, %esi
subl %ecx, %esi
incl %edi
cmpl $50000, %edi # imm = 0xC350
jne .LBB0_10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment