Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "logflt.cxx"
- .text
- .p2align 4,,15
- .globl _Z4diff8timespecS_
- .type _Z4diff8timespecS_, @function
- _Z4diff8timespecS_:
- .LFB1013:
- .cfi_startproc
- movq %rdx, %rax
- movq %rcx, %rdx
- subq %rdi, %rax
- subq %rsi, %rdx
- js .L5
- rep
- ret
- .p2align 4,,10
- .p2align 3
- .L5:
- leaq 1000000000(%rcx), %rdx
- subq $1, %rax
- subq %rsi, %rdx
- ret
- .cfi_endproc
- .LFE1013:
- .size _Z4diff8timespecS_, .-_Z4diff8timespecS_
- .section .rodata.str1.1,"aMS",@progbits,1
- .LC2:
- .string "ln="
- .LC3:
- .string ":"
- .LC4:
- .string "lb="
- .LC5:
- .string "lg="
- .section .text.startup,"ax",@progbits
- .p2align 4,,15
- .globl main
- .type main, @function
- main:
- .LFB1014:
- .cfi_startproc
- pushq %rbx
- .cfi_def_cfa_offset 16
- .cfi_offset 3, -16
- movl $2, %edi
- movl $1, %ebx
- subq $32, %rsp
- .cfi_def_cfa_offset 48
- movq %rsp, %rsi
- call clock_gettime
- jmp .L28
- .p2align 4,,10
- .p2align 3
- .L10:
- cvtsi2sd %ebx, %xmm0
- xorpd %xmm1, %xmm1
- mulsd .LC0(%rip), %xmm0
- ucomisd %xmm0, %xmm1
- jae .L31
- .L28:
- addl $1, %ebx
- cmpl $2147483647, %ebx
- jne .L10
- leaq 16(%rsp), %rsi
- movl $2, %edi
- call clock_gettime
- movl $.LC2, %esi
- movl $_ZSt4cout, %edi
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movq 24(%rsp), %rdx
- movq 8(%rsp), %rax
- movq %rdx, %rbx
- subq %rax, %rbx
- js .L32
- movq 16(%rsp), %rsi
- subq (%rsp), %rsi
- .L22:
- movl $_ZSt4cout, %edi
- call _ZNSo9_M_insertIlEERSoT_
- movl $.LC3, %esi
- movq %rax, %rdi
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movq %rbx, %rsi
- movq %rax, %rdi
- movl $1, %ebx
- call _ZNSo9_M_insertIlEERSoT_
- movq %rax, %rdi
- call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
- movq %rsp, %rsi
- movl $2, %edi
- call clock_gettime
- jmp .L29
- .p2align 4,,10
- .p2align 3
- .L15:
- cvtsi2sd %ebx, %xmm0
- xorpd %xmm1, %xmm1
- mulsd .LC0(%rip), %xmm0
- ucomisd %xmm0, %xmm1
- jae .L33
- .L29:
- addl $1, %ebx
- cmpl $2147483647, %ebx
- jne .L15
- leaq 16(%rsp), %rsi
- movl $2, %edi
- call clock_gettime
- movl $.LC4, %esi
- movl $_ZSt4cout, %edi
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movq 24(%rsp), %rdx
- movq 8(%rsp), %rax
- movq %rdx, %rbx
- subq %rax, %rbx
- js .L34
- movq 16(%rsp), %rsi
- subq (%rsp), %rsi
- .L23:
- movl $_ZSt4cout, %edi
- call _ZNSo9_M_insertIlEERSoT_
- movl $.LC3, %esi
- movq %rax, %rdi
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movq %rbx, %rsi
- movq %rax, %rdi
- movl $1, %ebx
- call _ZNSo9_M_insertIlEERSoT_
- movq %rax, %rdi
- call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
- movq %rsp, %rsi
- movl $2, %edi
- call clock_gettime
- jmp .L30
- .p2align 4,,10
- .p2align 3
- .L20:
- cvtsi2sd %ebx, %xmm0
- xorpd %xmm1, %xmm1
- ucomisd %xmm0, %xmm1
- jae .L35
- .L30:
- addl $1, %ebx
- cmpl $2147483647, %ebx
- jne .L20
- leaq 16(%rsp), %rsi
- movl $2, %edi
- call clock_gettime
- movl $.LC5, %esi
- movl $_ZSt4cout, %edi
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movq 24(%rsp), %rdx
- movq 8(%rsp), %rax
- movq %rdx, %rbx
- subq %rax, %rbx
- js .L36
- movq 16(%rsp), %rsi
- subq (%rsp), %rsi
- .L24:
- movl $_ZSt4cout, %edi
- call _ZNSo9_M_insertIlEERSoT_
- movl $.LC3, %esi
- movq %rax, %rdi
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movq %rbx, %rsi
- movq %rax, %rdi
- call _ZNSo9_M_insertIlEERSoT_
- movq %rax, %rdi
- call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
- addq $32, %rsp
- .cfi_remember_state
- .cfi_def_cfa_offset 16
- xorl %eax, %eax
- popq %rbx
- .cfi_def_cfa_offset 8
- ret
- .L35:
- .cfi_restore_state
- call log10
- .p2align 4,,2
- jmp .L30
- .L31:
- .p2align 4,,8
- call log
- .p2align 4,,8
- jmp .L28
- .L33:
- .p2align 4,,8
- call log2
- .p2align 4,,8
- jmp .L29
- .L32:
- movq 16(%rsp), %rsi
- subq (%rsp), %rsi
- leaq 1000000000(%rdx), %rbx
- subq %rax, %rbx
- subq $1, %rsi
- jmp .L22
- .L36:
- movq 16(%rsp), %rsi
- subq (%rsp), %rsi
- leaq 1000000000(%rdx), %rbx
- subq %rax, %rbx
- subq $1, %rsi
- jmp .L24
- .L34:
- movq 16(%rsp), %rsi
- subq (%rsp), %rsi
- leaq 1000000000(%rdx), %rbx
- subq %rax, %rbx
- subq $1, %rsi
- jmp .L23
- .cfi_endproc
- .LFE1014:
- .size main, .-main
- .p2align 4,,15
- .type _GLOBAL__sub_I__Z4diff8timespecS_, @function
- _GLOBAL__sub_I__Z4diff8timespecS_:
- .LFB1025:
- .cfi_startproc
- subq $8, %rsp
- .cfi_def_cfa_offset 16
- movl $_ZStL8__ioinit, %edi
- call _ZNSt8ios_base4InitC1Ev
- movl $__dso_handle, %edx
- movl $_ZStL8__ioinit, %esi
- movl $_ZNSt8ios_base4InitD1Ev, %edi
- addq $8, %rsp
- .cfi_def_cfa_offset 8
- jmp __cxa_atexit
- .cfi_endproc
- .LFE1025:
- .size _GLOBAL__sub_I__Z4diff8timespecS_, .-_GLOBAL__sub_I__Z4diff8timespecS_
- .section .ctors,"aw",@progbits
- .align 8
- .quad _GLOBAL__sub_I__Z4diff8timespecS_
- .local _ZStL8__ioinit
- .comm _ZStL8__ioinit,1,1
- .weakref _ZL20__gthrw_pthread_oncePiPFvvE,pthread_once
- .weakref _ZL27__gthrw_pthread_getspecificj,pthread_getspecific
- .weakref _ZL27__gthrw_pthread_setspecificjPKv,pthread_setspecific
- .weakref _ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_,pthread_create
- .weakref _ZL20__gthrw_pthread_joinmPPv,pthread_join
- .weakref _ZL21__gthrw_pthread_equalmm,pthread_equal
- .weakref _ZL20__gthrw_pthread_selfv,pthread_self
- .weakref _ZL22__gthrw_pthread_detachm,pthread_detach
- .weakref _ZL22__gthrw_pthread_cancelm,pthread_cancel
- .weakref _ZL19__gthrw_sched_yieldv,sched_yield
- .weakref _ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t,pthread_mutex_lock
- .weakref _ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t,pthread_mutex_trylock
- .weakref _ZL31__gthrw_pthread_mutex_timedlockP15pthread_mutex_tPK8timespec,pthread_mutex_timedlock
- .weakref _ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t,pthread_mutex_unlock
- .weakref _ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t,pthread_mutex_init
- .weakref _ZL29__gthrw_pthread_mutex_destroyP15pthread_mutex_t,pthread_mutex_destroy
- .weakref _ZL30__gthrw_pthread_cond_broadcastP14pthread_cond_t,pthread_cond_broadcast
- .weakref _ZL27__gthrw_pthread_cond_signalP14pthread_cond_t,pthread_cond_signal
- .weakref _ZL25__gthrw_pthread_cond_waitP14pthread_cond_tP15pthread_mutex_t,pthread_cond_wait
- .weakref _ZL30__gthrw_pthread_cond_timedwaitP14pthread_cond_tP15pthread_mutex_tPK8timespec,pthread_cond_timedwait
- .weakref _ZL28__gthrw_pthread_cond_destroyP14pthread_cond_t,pthread_cond_destroy
- .weakref _ZL26__gthrw_pthread_key_createPjPFvPvE,pthread_key_create
- .weakref _ZL26__gthrw_pthread_key_deletej,pthread_key_delete
- .weakref _ZL30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t,pthread_mutexattr_init
- .weakref _ZL33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti,pthread_mutexattr_settype
- .weakref _ZL33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t,pthread_mutexattr_destroy
- .section .rodata.cst8,"aM",@progbits,8
- .align 8
- .LC0:
- .long 858993459
- .long 1076114227
- .ident "GCC: (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement