-
Тур Тимофей Владимирович authorede4506e83
.file "TestSiX_MPI.c"
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "Starting writing to file \"result11.txt\""
.section .rodata.str1.1,"aMS",@progbits,1
.LC2:
.string "./result11.txt"
.LC3:
.string "Beginning test.\n"
.section .rodata.str1.8
.align 8
.LC4:
.string "Testing Si(x) with MPI optimizations with preferred parameters\n"
.align 8
.LC7:
.string "Start = %.5f, Stop = %.5f, Step = %.5f\n"
.align 8
.LC8:
.string "i, res, error, mid, mid_error, time, mid_time\n"
.section .rodata.str1.1
.LC9:
.string "iterating"
.LC10:
.string "%i\n"
.section .rodata.str1.8
.align 8
.LC14:
.string "%i, %.10f, %.10f, %.10f, %.10f, %.5f, %.5f\n"
.section .rodata.str1.1
.LC15:
.string "\nComplete"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB1629:
.cfi_startproc
endbr64
pushq %r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xorl %esi, %esi
xorl %edi, %edi
pushq %r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
pushq %r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
pushq %r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
pushq %rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
pushq %rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
subq $104, %rsp
.cfi_def_cfa_offset 160
movq %fs:40, %rax
movq %rax, 88(%rsp)
xorl %eax, %eax
call MPI_Init@PLT
leaq 64(%rsp), %rsi
movl $1140850688, %edi
call MPI_Comm_size@PLT
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
leaq 68(%rsp), %rsi
movl $1140850688, %edi
call MPI_Comm_rank@PLT
movl 68(%rsp), %eax
testl %eax, %eax
je .L20
.L2:
xorl %r12d, %r12d
leaq 72(%rsp), %r14
leaq 80(%rsp), %r13
movq $0x000000000, 40(%rsp)
movq $0x000000000, 32(%rsp)
movl $3999999997, %ebp
testl %eax, %eax
je .L21
.p2align 4,,10
.p2align 3
.L3:
movslq 64(%rsp), %rbx
vxorpd %xmm7, %xmm7, %xmm7
movq $0x000000000, 72(%rsp)
movq $0x000000000, 80(%rsp)
vcvtsi2sdl %eax, %xmm7, %xmm1
vaddsd .LC11(%rip), %xmm1, %xmm1
vmulsd .LC5(%rip), %xmm1, %xmm1
cmpq %rbp, %rbx
ja .L4
vcvtsi2sdl %ebx, %xmm7, %xmm0
vmulsd .LC5(%rip), %xmm0, %xmm4
vxorpd %xmm2, %xmm2, %xmm2
movq %rbx, %r15
vmovsd %xmm4, 24(%rsp)
.p2align 4,,10
.p2align 3
.L5:
vmovsd %xmm1, %xmm1, %xmm0
vmovsd %xmm2, 16(%rsp)
addq %rbx, %r15
vmovsd %xmm1, 8(%rsp)
call sin@PLT
vmovsd 8(%rsp), %xmm1
vmovsd 16(%rsp), %xmm2
vdivsd %xmm1, %xmm0, %xmm0
vaddsd 24(%rsp), %xmm1, %xmm1
vmulsd .LC5(%rip), %xmm0, %xmm0
vaddsd %xmm0, %xmm2, %xmm2
cmpq %rbp, %r15
jbe .L5
vmovsd %xmm2, 80(%rsp)
.L4:
movl $1140850688, %edi
leal 1(%r12), %ebx
call MPI_Barrier@PLT
subq $8, %rsp
.cfi_def_cfa_offset 168
xorl %r9d, %r9d
movq %r14, %rsi
pushq $1140850688
.cfi_def_cfa_offset 176
movl $1275070475, %ecx
movl $1, %edx
movq %r13, %rdi
movl $1476395011, %r8d
call MPI_Reduce@PLT
movl 84(%rsp), %eax
popq %rdx
.cfi_def_cfa_offset 168
popq %rcx
.cfi_def_cfa_offset 160
testl %eax, %eax
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
je .L22
cmpl $10, %ebx
je .L9
.L7:
movl %ebx, %r12d
testl %eax, %eax
jne .L3
.L21:
movl %r12d, %edx
leaq .LC10(%rip), %rsi
movl $1, %edi
call __printf_chk@PLT
call MPI_Wtime@PLT
movl 68(%rsp), %eax
vmovsd %xmm0, 48(%rsp)
jmp .L3
.p2align 4,,10
.p2align 3
.L22:
call MPI_Wtime@PLT
vxorpd %xmm5, %xmm5, %xmm5
movl 60(%rsp), %edi
movl %r12d, %ecx
vcvtsi2sdl %ebx, %xmm5, %xmm5
vsubsd 48(%rsp), %xmm0, %xmm4
vmovsd 72(%rsp), %xmm0
movl $1, %esi
vaddsd 40(%rsp), %xmm0, %xmm3
vaddsd 32(%rsp), %xmm4, %xmm7
movl $6, %eax
vsubsd .LC12(%rip), %xmm0, %xmm1
vandpd .LC13(%rip), %xmm1, %xmm1
leaq .LC14(%rip), %rdx
vdivsd %xmm5, %xmm3, %xmm2
vmovsd %xmm3, 40(%rsp)
vmovsd %xmm7, 32(%rsp)
vdivsd %xmm5, %xmm7, %xmm5
vsubsd .LC12(%rip), %xmm2, %xmm3
vandpd .LC13(%rip), %xmm3, %xmm3
call __dprintf_chk@PLT
movl 68(%rsp), %eax
cmpl $10, %ebx
jne .L7
testl %eax, %eax
jne .L9
movl 60(%rsp), %edi
call close@PLT
leaq .LC15(%rip), %rdi
call puts@PLT
.L9:
call MPI_Finalize@PLT
xorl %edi, %edi
call exit@PLT
.L20:
leaq .LC1(%rip), %rdi
call puts@PLT
movl $511, %esi
leaq .LC2(%rip), %rdi
call creat@PLT
leaq .LC3(%rip), %rdx
movl $1, %esi
movl %eax, %ebx
movl %eax, %edi
movl %eax, 60(%rsp)
xorl %eax, %eax
call __dprintf_chk@PLT
leaq .LC4(%rip), %rdx
movl %ebx, %edi
xorl %eax, %eax
movl $1, %esi
211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
call __dprintf_chk@PLT
movq .LC5(%rip), %rax
movl $1, %esi
movl %ebx, %edi
vmovsd .LC6(%rip), %xmm1
leaq .LC7(%rip), %rdx
vmovq %rax, %xmm2
vmovq %rax, %xmm0
movl $3, %eax
call __dprintf_chk@PLT
leaq .LC8(%rip), %rdx
movl %ebx, %edi
xorl %eax, %eax
movl $1, %esi
call __dprintf_chk@PLT
leaq .LC9(%rip), %rdi
call puts@PLT
movl 68(%rsp), %eax
jmp .L2
.cfi_endproc
.LFE1629:
.size main, .-main
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC5:
.long -350469331
.long 1057634018
.align 8
.LC6:
.long 0
.long 1091070464
.align 8
.LC11:
.long 0
.long 1072693248
.align 8
.LC12:
.long 1413754136
.long 1073291771
.section .rodata.cst16,"aM",@progbits,16
.align 16
.LC13:
.long -1
.long 2147483647
.long 0
.long 0
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4: