Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Period | Source code & Disassembly of spmv_deep_analysis_manual for cycles:P (158889 samples, percent: local period)
- -------------------------------------------------------------------------------------------------------------------------------
- :
- :
- :
- : 3 Disassembly of section .text:
- :
- : 5 0000000000403fa0 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]>:
- 0 : 403fa0: push %r14
- 0 : 403fa2: mov %rdi,%r14
- 0 : 403fa5: push %r13
- 0 : 403fa7: push %r12
- 0 : 403fa9: push %rbp
- 0 : 403faa: push %rbx
- 0 : 403fab: mov 0x10(%rdi),%rbx
- 0 : 403faf: mov 0x8(%rdi),%rbp
- 0 : 403fb3: mov (%rdi),%r12
- 0 : 403fb6: callq 402450 <omp_get_num_threads@plt>
- 0 : 403fbb: mov %eax,%r13d
- 0 : 403fbe: callq 402380 <omp_get_thread_num@plt>
- 0 : 403fc3: mov %eax,%r8d
- 0 : 403fc6: mov 0x28(%r14),%eax
- 0 : 403fca: cltd
- 0 : 403fcb: idiv %r13d
- 0 : 403fce: cmp %edx,%r8d
- 0 : 403fd1: jl 404060 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0xc0>
- 0 : 403fd7: imul %eax,%r8d
- 0 : 403fdb: add %edx,%r8d
- 0 : 403fde: add %r8d,%eax
- 0 : 403fe1: cmp %eax,%r8d
- 0 : 403fe4: jge 404057 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0xb7>
- 0 : 403fe6: mov 0x18(%r14),%rsi
- 0 : 403fea: mov 0x20(%r14),%r10
- 0 : 403fee: movslq %r8d,%r8
- 0 : 403ff1: pxor %xmm2,%xmm2
- 0 : 403ff5: nopl (%rax)
- 440956294 : 403ff8: movslq (%r12,%r8,4),%rdx
- 110461570 : 403ffc: mov 0x4(%r12,%r8,4),%r9d
- 107569204 : 404001: movapd %xmm2,%xmm1
- 115664854 : 404005: cmp %r9d,%edx
- 0 : 404008: jge 40403a <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0x9a>
- 114022936 : 40400a: nopw 0x0(%rax,%rax,1)
- 9883191161 : 404010: movslq 0x0(%rbp,%rdx,4),%rcx
- 5398538458 : 404015: movsd (%rbx,%rdx,8),%xmm0
- 5185731425 : 40401a: test %rcx,%rcx
- 32185490 : 40401d: js 40406a <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0xca>
- 11104206370 : 40401f: cmp 0x8(%rsi),%rcx
- 557508 : 404023: jge 40406a <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0xca>
- 9069184720 : 404025: mov (%rsi),%rdi
- 9201292041 : 404028: add $0x1,%rdx
- 9004649539 : 40402c: mulsd (%rdi,%rcx,8),%xmm0
- 16666235726 : 404031: addsd %xmm0,%xmm1
- 8676824812 : 404035: cmp %edx,%r9d
- 23998830 : 404038: jg 404010 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0x70>
- 629389335 : 40403a: test %r8,%r8
- 0 : 40403d: js 404083 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0xe3>
- 376557095 : 40403f: cmp %r8,0x8(%r10)
- 542342 : 404043: jle 404083 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0xe3>
- 204627618 : 404045: mov (%r10),%rdx
- 158080938 : 404048: movsd %xmm1,(%rdx,%r8,8)
- 98039579 : 40404e: add $0x1,%r8
- 86929972 : 404052: cmp %r8d,%eax
- 0 : 404055: jg 403ff8 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0x58>
- 0 : 404057: pop %rbx
- 0 : 404058: pop %rbp
- 0 : 404059: pop %r12
- 543678 : 40405b: pop %r13
- 0 : 40405d: pop %r14
- 0 : 40405f: retq
- 0 : 404060: add $0x1,%eax
- 0 : 404063: xor %edx,%edx
- 0 : 404065: jmpq 403fd7 <spmv_csr(int, int const*, int const*, double const*, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&) [clone ._omp_fn.0]+0x37>
- 0 : 40406a: mov $0x407158,%ecx
- 0 : 40406f: mov $0x9f,%edx
- 0 : 404074: mov $0x407100,%esi
- 0 : 404079: mov $0x4075b5,%edi
- 0 : 40407e: callq 402190 <__assert_fail@plt>
- 0 : 404083: mov $0x407010,%ecx
- 0 : 404088: mov $0x178,%edx
- 0 : 40408d: mov $0x407100,%esi
- 0 : 404092: mov $0x4075b5,%edi
- 0 : 404097: callq 402190 <__assert_fail@plt>
Advertisement
Add Comment
Please, Sign In to add comment