Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .LHOTB1:
- .p2align 4,,15
- .section .text.unlikely
- .Ltext_cold0:
- .text
- .globl mul
- .type mul, @function
- mul:
- .LFB33:
- .file 1 "long_mul_div.c"
- .loc 1 25 0
- .cfi_startproc
- .LVL0:
- pushl %ebp
- .cfi_def_cfa_offset 8
- .cfi_offset 5, -8
- pushl %edi
- .cfi_def_cfa_offset 12
- .cfi_offset 7, -12
- pushl %esi
- .cfi_def_cfa_offset 16
- .cfi_offset 6, -16
- pushl %ebx
- .cfi_def_cfa_offset 20
- .cfi_offset 3, -20
- subl $44, %esp
- .cfi_def_cfa_offset 64
- .loc 1 32 0
- movl 76(%esp), %edx
- testl %edx, %edx
- je .L1
- movl 80(%esp), %eax
- movl $0, 20(%esp)
- movl %eax, 24(%esp)
- movl 68(%esp), %eax
- sall $2, %eax
- movl %eax, 28(%esp)
- .LVL1:
- .p2align 4,,10
- .p2align 3
- .L3:
- .loc 1 34 0 discriminator 1
- movl 68(%esp), %eax
- xorl %ebp, %ebp
- movl 24(%esp), %edi
- movl $0, 8(%esp)
- testl %eax, %eax
- je .L9
- movl %ebp, 12(%esp)
- jmp .L15
- .LVL2:
- .p2align 4,,10
- .p2align 3
- .L4:
- .loc 1 55 0
- movl 16(%esp), %ebx
- addl %ebx, %eax
- .loc 1 56 0
- cmpl %eax, %ebx
- .loc 1 55 0
- movl %eax, (%edi)
- .loc 1 56 0
- ja .L22
- .LVL3:
- .L5:
- .loc 1 59 0 discriminator 2
- leal (%esi,%edx), %eax
- .loc 1 34 0 discriminator 2
- addl $1, 8(%esp)
- .LVL4:
- addl $4, %edi
- .loc 1 59 0 discriminator 2
- movl %eax, 12(%esp)
- .LVL5:
- .loc 1 34 0 discriminator 2
- movl 8(%esp), %eax
- .LVL6:
- cmpl 68(%esp), %eax
- je .L23
- .LVL7:
- .L15:
- .loc 1 37 0
- movl 64(%esp), %eax
- movl 8(%esp), %esi
- movl (%eax,%esi,4), %ebx
- movl 20(%esp), %esi
- movl 72(%esp), %eax
- movl %ebx, %edx
- .loc 1 40 0
- movzwl %bx, %ebp
- .loc 1 41 0
- shrl $16, %ebx
- .loc 1 37 0
- movl (%eax,%esi,4), %eax
- .loc 1 43 0
- movl %ebp, %esi
- .loc 1 37 0
- imull %eax, %edx
- .loc 1 40 0
- movzwl %ax, %ecx
- .loc 1 43 0
- shrl $16, %eax
- imull %eax, %esi
- .loc 1 37 0
- movl %edx, 16(%esp)
- .LVL8:
- .loc 1 41 0
- movl %ebx, %edx
- .LVL9:
- imull %ecx, %edx
- .LVL10:
- .loc 1 44 0
- imull %ebx, %eax
- .LVL11:
- .loc 1 47 0
- movl %edx, %ebx
- .loc 1 46 0
- movzwl %dx, %edx
- .LVL12:
- .loc 1 40 0
- imull %ebp, %ecx
- .LVL13:
- .loc 1 47 0
- shrl $16, %ebx
- .LVL14:
- .loc 1 46 0
- movzwl %si, %ebp
- .loc 1 47 0
- shrl $16, %esi
- .LVL15:
- addl %ebx, %esi
- movzwl %ax, %ebx
- .loc 1 49 0
- xorw %ax, %ax
- .LVL16:
- .loc 1 46 0
- shrl $16, %ecx
- .LVL17:
- .loc 1 47 0
- addl %ebx, %esi
- .loc 1 46 0
- addl %ebp, %ecx
- .LVL18:
- .loc 1 49 0
- leal (%esi,%eax), %ebx
- .loc 1 52 0
- movl (%edi), %eax
- .loc 1 46 0
- addl %edx, %ecx
- .loc 1 53 0
- xorl %edx, %edx
- .loc 1 49 0
- shrl $16, %ecx
- leal (%ebx,%ecx), %esi
- .LVL19:
- .loc 1 52 0
- movl 12(%esp), %ecx
- addl %ecx, %eax
- .loc 1 53 0
- cmpl %ecx, %eax
- .loc 1 52 0
- movl %eax, (%edi)
- .loc 1 53 0
- jnb .L4
- .LVL20:
- .LBB12:
- .LBB13:
- .file 2 "/usr/include/i386-linux-gnu/bits/stdio2.h"
- .loc 2 104 0 discriminator 1
- subl $8, %esp
- .cfi_def_cfa_offset 72
- pushl $.LC0
- .cfi_def_cfa_offset 76
- pushl $1
- .cfi_def_cfa_offset 80
- .LVL21:
- call __printf_chk
- .LVL22:
- addl $16, %esp
- .cfi_def_cfa_offset 64
- movl (%edi), %eax
- .LBE13:
- .LBE12:
- .loc 1 55 0 discriminator 1
- movl 16(%esp), %ebx
- .loc 1 53 0 discriminator 1
- movl $1, %edx
- .LVL23:
- .loc 1 55 0 discriminator 1
- addl %ebx, %eax
- .loc 1 56 0 discriminator 1
- cmpl %eax, %ebx
- .loc 1 55 0 discriminator 1
- movl %eax, (%edi)
- .loc 1 56 0 discriminator 1
- jbe .L5
- .LVL24:
- .L22:
- .LBB14:
- .LBB15:
- .loc 2 104 0 discriminator 1
- subl $8, %esp
- .cfi_def_cfa_offset 72
- pushl $.LC0
- .cfi_def_cfa_offset 76
- pushl $1
- .cfi_def_cfa_offset 80
- call __printf_chk
- .LVL25:
- addl $16, %esp
- .cfi_def_cfa_offset 64
- .LBE15:
- .LBE14:
- .loc 1 56 0 discriminator 1
- movl $1, %edx
- jmp .L5
- .LVL26:
- .p2align 4,,10
- .p2align 3
- .L23:
- movl 12(%esp), %ebp
- .LVL27:
- .loc 1 62 0
- testl %ebp, %ebp
- je .L9
- movl 24(%esp), %eax
- addl 28(%esp), %eax
- jmp .L8
- .LVL28:
- .p2align 4,,10
- .p2align 3
- .L11:
- movl $1, %ebp
- .LVL29:
- .L8:
- .loc 1 64 0
- movl (%eax), %edx
- addl $4, %eax
- addl %ebp, %edx
- movl %edx, -4(%eax)
- .LVL30:
- .loc 1 62 0
- cmpl %ebp, %edx
- jb .L11
- .LVL31:
- .L9:
- .loc 1 32 0
- addl $1, 20(%esp)
- .LVL32:
- addl $4, 24(%esp)
- movl 20(%esp), %eax
- .LVL33:
- cmpl 76(%esp), %eax
- jne .L3
- .LVL34:
- .L1:
- .loc 1 71 0
- addl $44, %esp
- .cfi_def_cfa_offset 20
- popl %ebx
- .cfi_restore 3
- .cfi_def_cfa_offset 16
- popl %esi
- .cfi_restore 6
- .cfi_def_cfa_offset 12
- popl %edi
- .cfi_restore 7
- .cfi_def_cfa_offset 8
- popl %ebp
- .cfi_restore 5
- .cfi_def_cfa_offset 4
- ret
- .cfi_endproc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement