Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "vectorArrayOp.cpp"
- .section .text._Z7runTestIPiiE11ReturnValueRT_T0_,"axG",@progbits,_Z7runTestIPiiE11ReturnValueRT_T0_,comdat
- .p2align 4,,15
- .weak _Z7runTestIPiiE11ReturnValueRT_T0_
- .type _Z7runTestIPiiE11ReturnValueRT_T0_, @function
- _Z7runTestIPiiE11ReturnValueRT_T0_:
- .LFB1273:
- .cfi_startproc
- pushq %rbp
- .cfi_def_cfa_offset 16
- .cfi_offset 6, -16
- movl %esi, %ebp
- xorl %esi, %esi
- pushq %rbx
- .cfi_def_cfa_offset 24
- .cfi_offset 3, -24
- movq %rdi, %rbx
- subq $56, %rsp
- .cfi_def_cfa_offset 80
- leaq 16(%rsp), %rdi
- call gettimeofday
- movq (%rbx), %rdx
- movl $65536, %ecx
- xorl %ebx, %ebx
- .p2align 4,,10
- .p2align 3
- .L2:
- xorl %eax, %eax
- .p2align 4,,10
- .p2align 3
- .L3:
- #APP
- # 23 "vectorArrayOp.cpp" 1
- preassign
- # 0 "" 2
- #NO_APP
- movl %ebp, (%rdx,%rax)
- #APP
- # 25 "vectorArrayOp.cpp" 1
- postassign
- # 0 "" 2
- #NO_APP
- addq $4, %rax
- cmpq $4096, %rax
- jne .L3
- xorw %ax, %ax
- .p2align 4,,10
- .p2align 3
- .L4:
- #APP
- # 29 "vectorArrayOp.cpp" 1
- preadd
- # 0 "" 2
- #NO_APP
- addl (%rdx,%rax), %ebx
- #APP
- # 31 "vectorArrayOp.cpp" 1
- postadd
- # 0 "" 2
- #NO_APP
- addq $4, %rax
- cmpq $4096, %rax
- jne .L4
- subl $1, %ecx
- jne .L2
- leaq 32(%rsp), %rdi
- xorl %esi, %esi
- salq $32, %rbx
- call gettimeofday
- movq 32(%rsp), %rax
- subq 16(%rsp), %rax
- cvtsi2sdq %rax, %xmm0
- movq 40(%rsp), %rax
- subq 24(%rsp), %rax
- cvtsi2sdq %rax, %xmm1
- divsd .LC0(%rip), %xmm1
- addsd %xmm1, %xmm0
- unpcklpd %xmm0, %xmm0
- cvtpd2ps %xmm0, %xmm0
- movss %xmm0, 12(%rsp)
- movl 12(%rsp), %eax
- addq $56, %rsp
- .cfi_def_cfa_offset 24
- orq %rbx, %rax
- popq %rbx
- .cfi_def_cfa_offset 16
- popq %rbp
- .cfi_def_cfa_offset 8
- ret
- .cfi_endproc
- .LFE1273:
- .size _Z7runTestIPiiE11ReturnValueRT_T0_, .-_Z7runTestIPiiE11ReturnValueRT_T0_
- .section .text._Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_,"axG",@progbits,_Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_,comdat
- .p2align 4,,15
- .weak _Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_
- .type _Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_, @function
- _Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_:
- .LFB1274:
- .cfi_startproc
- pushq %rbp
- .cfi_def_cfa_offset 16
- .cfi_offset 6, -16
- movl %esi, %ebp
- xorl %esi, %esi
- pushq %rbx
- .cfi_def_cfa_offset 24
- .cfi_offset 3, -24
- movq %rdi, %rbx
- subq $56, %rsp
- .cfi_def_cfa_offset 80
- leaq 16(%rsp), %rdi
- call gettimeofday
- movq (%rbx), %rdx
- movl $65536, %ecx
- xorl %ebx, %ebx
- .p2align 4,,10
- .p2align 3
- .L10:
- xorl %eax, %eax
- .p2align 4,,10
- .p2align 3
- .L11:
- #APP
- # 23 "vectorArrayOp.cpp" 1
- preassign
- # 0 "" 2
- #NO_APP
- movl %ebp, (%rdx,%rax)
- #APP
- # 25 "vectorArrayOp.cpp" 1
- postassign
- # 0 "" 2
- #NO_APP
- addq $4, %rax
- cmpq $4096, %rax
- jne .L11
- xorw %ax, %ax
- .p2align 4,,10
- .p2align 3
- .L12:
- #APP
- # 29 "vectorArrayOp.cpp" 1
- preadd
- # 0 "" 2
- #NO_APP
- addl (%rdx,%rax), %ebx
- #APP
- # 31 "vectorArrayOp.cpp" 1
- postadd
- # 0 "" 2
- #NO_APP
- addq $4, %rax
- cmpq $4096, %rax
- jne .L12
- subl $1, %ecx
- jne .L10
- leaq 32(%rsp), %rdi
- xorl %esi, %esi
- salq $32, %rbx
- call gettimeofday
- movq 32(%rsp), %rax
- subq 16(%rsp), %rax
- cvtsi2sdq %rax, %xmm0
- movq 40(%rsp), %rax
- subq 24(%rsp), %rax
- cvtsi2sdq %rax, %xmm1
- divsd .LC0(%rip), %xmm1
- addsd %xmm1, %xmm0
- unpcklpd %xmm0, %xmm0
- cvtpd2ps %xmm0, %xmm0
- movss %xmm0, 12(%rsp)
- movl 12(%rsp), %eax
- addq $56, %rsp
- .cfi_def_cfa_offset 24
- orq %rbx, %rax
- popq %rbx
- .cfi_def_cfa_offset 16
- popq %rbp
- .cfi_def_cfa_offset 8
- ret
- .cfi_endproc
- .LFE1274:
- .size _Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_, .-_Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_
- .section .rodata.str1.1,"aMS",@progbits,1
- .LC1:
- .string "Duration "
- .section .text.startup,"ax",@progbits
- .p2align 4,,15
- .globl main
- .type main, @function
- main:
- .LFB1259:
- .cfi_startproc
- .cfi_personality 0x3,__gxx_personality_v0
- .cfi_lsda 0x3,.LLSDA1259
- pushq %rbp
- .cfi_def_cfa_offset 16
- .cfi_offset 6, -16
- movl $4096, %edi
- pushq %rbx
- .cfi_def_cfa_offset 24
- .cfi_offset 3, -24
- subq $72, %rsp
- .cfi_def_cfa_offset 96
- .LEHB0:
- call _Znam
- movl $4096, %edi
- movq %rax, 48(%rsp)
- movq $0, 16(%rsp)
- movq $0, 24(%rsp)
- movq $0, 32(%rsp)
- call _Znwm
- .LEHE0:
- movq %rax, %rdi
- leaq 4096(%rax), %r11
- movq %rax, 16(%rsp)
- andl $15, %edi
- movq %rax, %rdx
- shrq $2, %rdi
- movq %r11, 32(%rsp)
- negq %rdi
- andl $3, %edi
- je .L37
- movl $1024, %esi
- movl $1025, %r8d
- jmp .L18
- .p2align 4,,10
- .p2align 3
- .L38:
- movq %rcx, %rsi
- .L18:
- movq %r8, %r9
- movl $0, (%rdx)
- addq $4, %rdx
- subq %rsi, %r9
- leaq -1(%rsi), %rcx
- cmpq %r9, %rdi
- ja .L38
- .L17:
- movl $1024, %r10d
- subq %rdi, %r10
- movq %r10, %r8
- shrq $2, %r8
- leaq 0(,%r8,4), %r9
- testq %r9, %r9
- je .L40
- pxor %xmm0, %xmm0
- leaq (%rax,%rdi,4), %rsi
- xorl %eax, %eax
- .p2align 4,,10
- .p2align 3
- .L20:
- addq $1, %rax
- movdqa %xmm0, (%rsi)
- addq $16, %rsi
- cmpq %r8, %rax
- jb .L20
- subq %r9, %rcx
- cmpq %r9, %r10
- leaq (%rdx,%r9,4), %rdx
- je .L21
- .p2align 4,,10
- .p2align 3
- .L40:
- movl $0, (%rdx)
- addq $4, %rdx
- subq $1, %rcx
- jne .L40
- .L21:
- leaq 48(%rsp), %rdi
- movl $1, %esi
- movq %r11, 24(%rsp)
- call _Z7runTestIPiiE11ReturnValueRT_T0_
- leaq 16(%rsp), %rdi
- movl $1, %esi
- movq %rax, %rbp
- call _Z7runTestISt6vectorIiSaIiEEiE11ReturnValueRT_T0_
- movl $.LC1, %esi
- movl $_ZSt4cout, %edi
- movq %rax, %rbx
- movl %ebp, 12(%rsp)
- .LEHB1:
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movss 12(%rsp), %xmm0
- movq %rax, %rdi
- cvtps2pd %xmm0, %xmm0
- call _ZNSo9_M_insertIdEERSoT_
- movq %rax, %rdi
- call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
- movl $.LC1, %esi
- movl $_ZSt4cout, %edi
- movl %ebx, 12(%rsp)
- call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- movss 12(%rsp), %xmm0
- movq %rax, %rdi
- cvtps2pd %xmm0, %xmm0
- call _ZNSo9_M_insertIdEERSoT_
- movq %rax, %rdi
- call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
- .LEHE1:
- movq 48(%rsp), %rdi
- testq %rdi, %rdi
- je .L25
- call _ZdaPv
- .L25:
- movq 16(%rsp), %rdi
- testq %rdi, %rdi
- je .L30
- call _ZdlPv
- .L30:
- addq $72, %rsp
- .cfi_remember_state
- .cfi_def_cfa_offset 24
- xorl %eax, %eax
- popq %rbx
- .cfi_def_cfa_offset 16
- popq %rbp
- .cfi_def_cfa_offset 8
- ret
- .L37:
- .cfi_restore_state
- movl $1024, %ecx
- jmp .L17
- .L39:
- movq 16(%rsp), %rdi
- movq %rax, %rbx
- testq %rdi, %rdi
- je .L36
- call _ZdlPv
- .L36:
- movq %rbx, %rdi
- .LEHB2:
- call _Unwind_Resume
- .LEHE2:
- .cfi_endproc
- .LFE1259:
- .globl __gxx_personality_v0
- .section .gcc_except_table,"a",@progbits
- .LLSDA1259:
- .byte 0xff
- .byte 0xff
- .byte 0x1
- .uleb128 .LLSDACSE1259-.LLSDACSB1259
- .LLSDACSB1259:
- .uleb128 .LEHB0-.LFB1259
- .uleb128 .LEHE0-.LEHB0
- .uleb128 0
- .uleb128 0
- .uleb128 .LEHB1-.LFB1259
- .uleb128 .LEHE1-.LEHB1
- .uleb128 .L39-.LFB1259
- .uleb128 0
- .uleb128 .LEHB2-.LFB1259
- .uleb128 .LEHE2-.LEHB2
- .uleb128 0
- .uleb128 0
- .LLSDACSE1259:
- .section .text.startup
- .size main, .-main
- .p2align 4,,15
- .type _GLOBAL__sub_I_main, @function
- _GLOBAL__sub_I_main:
- .LFB1330:
- .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
- .LFE1330:
- .size _GLOBAL__sub_I_main, .-_GLOBAL__sub_I_main
- .section .ctors,"aw",@progbits
- .align 8
- .quad _GLOBAL__sub_I_main
- .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 0
- .long 1093567616
- .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