#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ omp_sched_t;

/* Variables and functions */
int atoi(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ malloc(int);
double omp_get_wtime();
int /*<<< orphan*/ printf(char *, double, ...);
int /*<<< orphan*/ stderr;
main(int argc, char **argv) {
  int N = atoi(argv[1]);
  int i, j, k;
  omp_sched_t kind;
  int modifier;
  double start = 0, end = 0, elapsed = 0;
  double **a;
  a = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    a[i] = (double *)malloc(N * sizeof(double));
  double **b;
  b = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    b[i] = (double *)malloc(N * sizeof(double));
  double **resultado;
  resultado = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    resultado[i] = (double *)malloc(N * sizeof(double));
  if (argc < 2) {
    fprintf(stderr, "Faltan argumentos\n");
    exit(-1);
  }
  for (i = 0; i < N; ++i)
    for (j = 0; j < N; ++j) {
      resultado[i][j] = 0;
      a[i][j] = j + 1;
      b[i][j] = j + 1;
    }
  start = omp_get_wtime();
  int aux1 = 0.0, aux2 = 0.0, aux3 = 0.0, aux4 = 0.0;
  for (i = 0; i < N; ++i) {
    for (j = 0; j < N; ++j) {
      for (k = 0; k < N; k += 4) {
        aux1 += a[i][k] * b[j][k];
        aux2 += a[i][k + 1] * b[k + 1][j];
        aux3 += a[i][k + 2] * b[k + 1][j];
        aux4 += a[i][k + 3] * b[k + 1][j];
      }
      resultado[i][j] += aux1 + aux2 + aux3 + aux4;
    }
  }
  end = omp_get_wtime();
  elapsed = end - start;
  printf("resultado[0][0] = %g\n", resultado[0][0]);
  printf("resultado[N-1][N-1] = %g\n", resultado[N - 1][N - 1]);
  printf("Tiempo(seg.):%11.9f\t / Tamaño Matrices:%u\n", elapsed, N);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x14(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11f0 <main+0x90>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,%rdx
mov    -0x48(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11b8 <main+0x58>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x50(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1242 <main+0xe2>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,%rdx
mov    -0x50(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    120a <main+0xaa>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x58(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1294 <main+0x134>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,%rdx
mov    -0x58(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    125c <main+0xfc>
cmpl   $0x2,-0x8(%rbp)
jge    12bd <main+0x15d>
mov    0x2d3b(%rip),%rax
mov    (%rax),%edi
lea    0xd52(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    135a <main+0x1fa>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1347 <main+0x1e7>
mov    -0x58(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x48(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x50(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12d7 <main+0x177>
jmp    134c <main+0x1ec>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12c4 <main+0x164>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x30(%rbp)
movl   $0x0,-0x5c(%rbp)
movl   $0x0,-0x60(%rbp)
movl   $0x0,-0x64(%rbp)
movl   $0x0,-0x68(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    152a <main+0x3ca>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1517 <main+0x3b7>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14df <main+0x37f>
mov    -0x48(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x20(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x20(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
cvtsi2sdl -0x5c(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x48(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
mov    -0x20(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
cvtsi2sdl -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x60(%rbp)
mov    -0x48(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
mov    -0x20(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
cvtsi2sdl -0x64(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x64(%rbp)
mov    -0x48(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
mov    -0x20(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
cvtsi2sdl -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x68(%rbp)
mov    -0x20(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x20(%rbp)
jmp    13af <main+0x24f>
mov    -0x5c(%rbp),%eax
add    -0x60(%rbp),%eax
add    -0x64(%rbp),%eax
add    -0x68(%rbp),%eax
cvtsi2sd %eax,%xmm0
mov    -0x58(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    139c <main+0x23c>
jmp    151c <main+0x3bc>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1389 <main+0x229>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x58(%rbp),%rax
mov    (%rax),%rax
movsd  (%rax),%xmm0
lea    0xabc(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xaa5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x40(%rbp),%xmm0
mov    -0x14(%rbp),%esi
lea    0xaa9(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %edi,%ebx
mov    0x8(%rsi),%rdi
call   1070 <atoi@plt>
mov    %eax,%r15d
lea    0x0(,%r15,8),%r14d
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,%rbp
mov    %r15d,%r13d
test   %r15d,%r15d
mov    %rax,0x10(%rsp)
mov    %ebx,0x8(%rsp)
jle    122c <main+0xcc>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,0x0(%rbp,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r13
jne    11b0 <main+0x50>
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,%r12
test   %r15d,%r15d
jle    1237 <main+0xd7>
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,(%r12,%rbp,8)
add    $0x1,%rbp
cmp    %rbp,%r13
jne    11e0 <main+0x80>
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
test   %r15d,%r15d
jle    1225 <main+0xc5>
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,(%rbx,%rbp,8)
add    $0x1,%rbp
cmp    %rbp,%r13
jne    1210 <main+0xb0>
mov    0x10(%rsp),%rbp
jmp    1242 <main+0xe2>
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,%r12
mov    %r14d,%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
cmpl   $0x2,0x8(%rsp)
jl     1670 <main+0x510>
test   %r15d,%r15d
mov    %rbx,0x8(%rsp)
jle    15f2 <main+0x492>
lea    -0x1(%r13),%r14
mov    %r13d,%eax
and    $0xfffffffc,%eax
mov    %rax,0x18(%rsp)
lea    0x0(,%r13,8),%r9
and    $0xffffffffffffffe0,%r9
xor    %edx,%edx
movdqa 0xd80(%rip),%xmm0
xorpd  %xmm1,%xmm1
pcmpeqd %xmm2,%xmm2
movdqa 0xd80(%rip),%xmm3
movdqa 0xd88(%rip),%xmm4
mov    %r15,0x20(%rsp)
jmp    12b2 <main+0x152>
nop
add    $0x1,%rdx
cmp    %r13,%rdx
mov    0x10(%rsp),%rbp
je     1429 <main+0x2c9>
mov    (%rbx,%rdx,8),%rsi
mov    0x0(%rbp,%rdx,8),%rdi
mov    (%r12,%rdx,8),%rax
cmp    $0x4,%r15d
jae    12d0 <main+0x170>
xor    %ecx,%ecx
jmp    13a0 <main+0x240>
nopl   0x0(%rax)
lea    (%rsi,%r13,8),%rbp
lea    (%rdi,%r13,8),%r11
lea    (%rax,%r13,8),%rcx
cmp    %r11,%rsi
setb   %bl
cmp    %rbp,%rdi
setb   %r15b
cmp    %rcx,%rsi
setb   %r8b
cmp    %rbp,%rax
setb   %bpl
cmp    %rcx,%rdi
setb   %r10b
cmp    %r11,%rax
setb   %r11b
test   %r15b,%bl
jne    1388 <main+0x228>
and    %bpl,%r8b
jne    1388 <main+0x228>
mov    $0x0,%ecx
and    %r11b,%r10b
mov    0x20(%rsp),%r15
mov    0x8(%rsp),%rbx
jne    13a0 <main+0x240>
xor    %ecx,%ecx
movdqa %xmm0,%xmm5
nopl   0x0(%rax)
movupd %xmm1,(%rsi,%rcx,1)
pshufd $0xe8,%xmm5,%xmm6
movdqa %xmm6,%xmm7
psubd  %xmm2,%xmm7
paddd  %xmm3,%xmm6
cvtdq2pd %xmm7,%xmm7
cvtdq2pd %xmm6,%xmm6
movupd %xmm1,0x10(%rsi,%rcx,1)
movups %xmm7,(%rdi,%rcx,1)
movupd %xmm6,0x10(%rdi,%rcx,1)
movups %xmm7,(%rax,%rcx,1)
movupd %xmm6,0x10(%rax,%rcx,1)
paddq  %xmm4,%xmm5
add    $0x20,%rcx
cmp    %rcx,%r9
jne    1330 <main+0x1d0>
mov    0x18(%rsp),%rbp
mov    %rbp,%rcx
cmp    %r13,%rbp
je     12a0 <main+0x140>
jmp    13a0 <main+0x240>
xor    %ecx,%ecx
mov    0x20(%rsp),%r15
mov    0x8(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %rcx,%rbp
test   $0x1,%r13b
je     13c9 <main+0x269>
movq   $0x0,(%rsi,%rcx,8)
mov    %rcx,%rbp
or     $0x1,%rbp
xorps  %xmm5,%xmm5
cvtsi2sd %ebp,%xmm5
movsd  %xmm5,(%rdi,%rcx,8)
movsd  %xmm5,(%rax,%rcx,8)
cmp    %rcx,%r14
je     12a0 <main+0x140>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movq   $0x0,(%rsi,%rbp,8)
lea    0x1(%rbp),%ecx
xorps  %xmm5,%xmm5
cvtsi2sd %ecx,%xmm5
movsd  %xmm5,(%rdi,%rbp,8)
movsd  %xmm5,(%rax,%rbp,8)
lea    0x2(%rbp),%rcx
xorps  %xmm5,%xmm5
cvtsi2sd %ecx,%xmm5
movq   $0x0,0x8(%rsi,%rbp,8)
movsd  %xmm5,0x8(%rdi,%rbp,8)
movsd  %xmm5,0x8(%rax,%rbp,8)
mov    %rcx,%rbp
cmp    %rcx,%r13
jne    13e0 <main+0x280>
jmp    12a0 <main+0x140>
xor    %eax,%eax
call   1030 <omp_get_wtime@plt>
test   %r15d,%r15d
movq   %xmm0,0x18(%rsp)
jle    15ff <main+0x49f>
mov    %r14,%r10
shr    $0x2,%r10
add    $0x1,%r10
mov    %r10,%r9
and    $0xfffffffffffffffe,%r9
pxor   %xmm4,%xmm4
xor    %r8d,%r8d
jmp    1472 <main+0x312>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r8
cmp    %r13,%r8
mov    0x10(%rsp),%rbp
je     15ff <main+0x49f>
mov    0x8(%rsp),%rax
mov    (%rax,%r8,8),%r11
mov    0x0(%rbp,%r8,8),%rdi
xor    %edx,%edx
jmp    14cb <main+0x36b>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
pshufd $0x55,%xmm4,%xmm1
paddd  %xmm4,%xmm1
pshufd $0xee,%xmm4,%xmm2
pshufd $0xff,%xmm4,%xmm3
paddd  %xmm2,%xmm3
paddd  %xmm1,%xmm3
movd   %xmm3,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
addsd  (%r11,%rdx,8),%xmm1
movsd  %xmm1,(%r11,%rdx,8)
add    $0x1,%rdx
cmp    %r13,%rdx
je     1460 <main+0x300>
mov    (%r12,%rdx,8),%rcx
cmp    $0x4,%r14
jae    14e0 <main+0x380>
xor    %ebp,%ebp
jmp    158d <main+0x42d>
nopl   0x0(%rax)
mov    %r9,%rax
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
cvtdq2pd %xmm4,%xmm1
pshufd $0xee,%xmm4,%xmm2
cvtdq2pd %xmm2,%xmm2
mov    0x8(%r12,%rbp,8),%rsi
mov    0x28(%r12,%rbp,8),%rbx
movsd  (%rsi,%rdx,8),%xmm3
movsd  (%rcx,%rbp,8),%xmm4
movsd  0x20(%rcx,%rbp,8),%xmm6
unpcklpd %xmm3,%xmm4
unpcklpd %xmm3,%xmm3
movupd (%rdi,%rbp,8),%xmm5
mulpd  %xmm4,%xmm5
addpd  %xmm1,%xmm5
movupd 0x10(%rdi,%rbp,8),%xmm1
mulpd  %xmm3,%xmm1
addpd  %xmm2,%xmm1
movupd 0x20(%rdi,%rbp,8),%xmm2
cvttpd2dq %xmm5,%xmm3
cvttpd2dq %xmm1,%xmm1
cvtdq2pd %xmm1,%xmm1
cvtdq2pd %xmm3,%xmm3
movupd 0x30(%rdi,%rbp,8),%xmm4
movsd  (%rbx,%rdx,8),%xmm5
unpcklpd %xmm5,%xmm6
mulpd  %xmm2,%xmm6
addpd  %xmm3,%xmm6
unpcklpd %xmm5,%xmm5
mulpd  %xmm4,%xmm5
addpd  %xmm1,%xmm5
cvttpd2dq %xmm5,%xmm1
cvttpd2dq %xmm6,%xmm4
unpcklpd %xmm1,%xmm4
add    $0x8,%rbp
add    $0xfffffffffffffffe,%rax
jne    14f0 <main+0x390>
test   $0x1,%r10b
je     1490 <main+0x330>
lea    0x0(,%rbp,8),%rax
or     $0x8,%rax
mov    (%r12,%rax,1),%rax
movupd (%rdi,%rbp,8),%xmm1
pshufd $0xee,%xmm4,%xmm2
cvtdq2pd %xmm2,%xmm2
movupd 0x10(%rdi,%rbp,8),%xmm3
cvtdq2pd %xmm4,%xmm6
movsd  (%rcx,%rbp,8),%xmm4
movsd  (%rax,%rdx,8),%xmm5
unpcklpd %xmm5,%xmm4
mulpd  %xmm1,%xmm4
unpcklpd %xmm5,%xmm5
mulpd  %xmm3,%xmm5
addpd  %xmm2,%xmm5
cvttpd2dq %xmm5,%xmm1
addpd  %xmm6,%xmm4
cvttpd2dq %xmm4,%xmm4
unpcklpd %xmm1,%xmm4
jmp    1490 <main+0x330>
xor    %eax,%eax
call   1030 <omp_get_wtime@plt>
movq   %xmm0,0x18(%rsp)
xor    %eax,%eax
call   1030 <omp_get_wtime@plt>
subsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
mov    0x8(%rsp),%rbx
mov    (%rbx),%rax
movsd  (%rax),%xmm0
lea    0xa1e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movslq %r15d,%rax
mov    -0x8(%rbx,%rax,8),%rcx
movsd  -0x8(%rcx,%rax,8),%xmm0
lea    0xa18(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xa24(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    %r15d,%esi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2969(%rip),%rax
mov    (%rax),%edi
lea    0x9b0(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [19 x i8] c"Faltan argumentos\0A\00"
@.str.1 = [22 x i8] c"resultado[0][0] = %g\0A\00"
@.str.2 = [26 x i8] c"resultado[N-1][N-1] = %g\0A\00"
@.str.3 = [44 x i8] c"Tiempo(seg.):%11.9f\09 / Tama\C3\B1o Matrices:%u\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double**
%16 = alloca double**
%17 = alloca double**
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
%25 = call i32 @atoi(i8* %24)
store i32 %25, i32* %6
store double 0.000000e+00, double* %12
store double 0.000000e+00, double* %13
store double 0.000000e+00, double* %14
%26 = load i32, i32* %6
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 8
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 %29)
%31 = inttoptr i64 %30 to double**
store double** %31, double*** %15
store i32 0, i32* %7
br label %32
32: ; preds = %47, %2
%33 = load i32, i32* %7
%34 = load i32, i32* %6
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %50
36: ; preds = %32
%37 = load i32, i32* %6
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 8
%40 = trunc i64 %39 to i32
%41 = call i64 @malloc(i32 %40)
%42 = inttoptr i64 %41 to double*
%43 = load double**, double*** %15
%44 = load i32, i32* %7
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double*, double** %43, i64 %45
store double* %42, double** %46
br label %47
47: ; preds = %36
%48 = load i32, i32* %7
%49 = add nsw i32 %48, 1
store i32 %49, i32* %7
br label %32
50: ; preds = %32
%51 = load i32, i32* %6
%52 = sext i32 %51 to i64
%53 = mul i64 %52, 8
%54 = trunc i64 %53 to i32
%55 = call i64 @malloc(i32 %54)
%56 = inttoptr i64 %55 to double**
store double** %56, double*** %16
store i32 0, i32* %7
br label %57
57: ; preds = %72, %50
%58 = load i32, i32* %7
%59 = load i32, i32* %6
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %75
61: ; preds = %57
%62 = load i32, i32* %6
%63 = sext i32 %62 to i64
%64 = mul i64 %63, 8
%65 = trunc i64 %64 to i32
%66 = call i64 @malloc(i32 %65)
%67 = inttoptr i64 %66 to double*
%68 = load double**, double*** %16
%69 = load i32, i32* %7
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double*, double** %68, i64 %70
store double* %67, double** %71
br label %72
72: ; preds = %61
%73 = load i32, i32* %7
%74 = add nsw i32 %73, 1
store i32 %74, i32* %7
br label %57
75: ; preds = %57
%76 = load i32, i32* %6
%77 = sext i32 %76 to i64
%78 = mul i64 %77, 8
%79 = trunc i64 %78 to i32
%80 = call i64 @malloc(i32 %79)
%81 = inttoptr i64 %80 to double**
store double** %81, double*** %17
store i32 0, i32* %7
br label %82
82: ; preds = %97, %75
%83 = load i32, i32* %7
%84 = load i32, i32* %6
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %100
86: ; preds = %82
%87 = load i32, i32* %6
%88 = sext i32 %87 to i64
%89 = mul i64 %88, 8
%90 = trunc i64 %89 to i32
%91 = call i64 @malloc(i32 %90)
%92 = inttoptr i64 %91 to double*
%93 = load double**, double*** %17
%94 = load i32, i32* %7
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double*, double** %93, i64 %95
store double* %92, double** %96
br label %97
97: ; preds = %86
%98 = load i32, i32* %7
%99 = add nsw i32 %98, 1
store i32 %99, i32* %7
br label %82
100: ; preds = %82
%101 = load i32, i32* %4
%102 = icmp slt i32 %101, 2
br i1 %102, label %103, label %107
103: ; preds = %100
%104 = load i32, i32* @stderr
%105 = call i32 @fprintf(i32 %104, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%106 = call i32 @exit(i32 -1)
unreachable
107: ; preds = %100
store i32 0, i32* %7
br label %108
108: ; preds = %152, %107
%109 = load i32, i32* %7
%110 = load i32, i32* %6
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %155
112: ; preds = %108
store i32 0, i32* %8
br label %113
113: ; preds = %148, %112
%114 = load i32, i32* %8
%115 = load i32, i32* %6
%116 = icmp slt i32 %114, %115
br i1 %116, label %117, label %151
117: ; preds = %113
%118 = load double**, double*** %17
%119 = load i32, i32* %7
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double*, double** %118, i64 %120
%122 = load double*, double** %121
%123 = load i32, i32* %8
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, double* %122, i64 %124
store double 0.000000e+00, double* %125
%126 = load i32, i32* %8
%127 = add nsw i32 %126, 1
%128 = sitofp i32 %127 to double
%129 = load double**, double*** %15
%130 = load i32, i32* %7
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds double*, double** %129, i64 %131
%133 = load double*, double** %132
%134 = load i32, i32* %8
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, double* %133, i64 %135
store double %128, double* %136
%137 = load i32, i32* %8
%138 = add nsw i32 %137, 1
%139 = sitofp i32 %138 to double
%140 = load double**, double*** %16
%141 = load i32, i32* %7
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double*, double** %140, i64 %142
%144 = load double*, double** %143
%145 = load i32, i32* %8
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, double* %144, i64 %146
store double %139, double* %147
br label %148
148: ; preds = %117
%149 = load i32, i32* %8
%150 = add nsw i32 %149, 1
store i32 %150, i32* %8
br label %113
151: ; preds = %113
br label %152
152: ; preds = %151
%153 = load i32, i32* %7
%154 = add nsw i32 %153, 1
store i32 %154, i32* %7
br label %108
155: ; preds = %108
%156 = call double (...) @omp_get_wtime()
store double %156, double* %12
store i32 0, i32* %18
store i32 0, i32* %19
store i32 0, i32* %20
store i32 0, i32* %21
store i32 0, i32* %7
br label %157
157: ; preds = %292, %155
%158 = load i32, i32* %7
%159 = load i32, i32* %6
%160 = icmp slt i32 %158, %159
br i1 %160, label %161, label %295
161: ; preds = %157
store i32 0, i32* %8
br label %162
162: ; preds = %288, %161
%163 = load i32, i32* %8
%164 = load i32, i32* %6
%165 = icmp slt i32 %163, %164
br i1 %165, label %166, label %291
166: ; preds = %162
store i32 0, i32* %9
br label %167
167: ; preds = %266, %166
%168 = load i32, i32* %9
%169 = load i32, i32* %6
%170 = icmp slt i32 %168, %169
br i1 %170, label %171, label %269
171: ; preds = %167
%172 = load double**, double*** %15
%173 = load i32, i32* %7
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double*, double** %172, i64 %174
%176 = load double*, double** %175
%177 = load i32, i32* %9
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, double* %176, i64 %178
%180 = load double, double* %179
%181 = load double**, double*** %16
%182 = load i32, i32* %8
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds double*, double** %181, i64 %183
%185 = load double*, double** %184
%186 = load i32, i32* %9
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, double* %185, i64 %187
%189 = load double, double* %188
%190 = load i32, i32* %18
%191 = sitofp i32 %190 to double
%192 = call double @llvm.fmuladd.f64(double %180, double %189, double %191)
%193 = fptosi double %192 to i32
store i32 %193, i32* %18
%194 = load double**, double*** %15
%195 = load i32, i32* %7
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double*, double** %194, i64 %196
%198 = load double*, double** %197
%199 = load i32, i32* %9
%200 = add nsw i32 %199, 1
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, double* %198, i64 %201
%203 = load double, double* %202
%204 = load double**, double*** %16
%205 = load i32, i32* %9
%206 = add nsw i32 %205, 1
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds double*, double** %204, i64 %207
%209 = load double*, double** %208
%210 = load i32, i32* %8
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds double, double* %209, i64 %211
%213 = load double, double* %212
%214 = load i32, i32* %19
%215 = sitofp i32 %214 to double
%216 = call double @llvm.fmuladd.f64(double %203, double %213, double %215)
%217 = fptosi double %216 to i32
store i32 %217, i32* %19
%218 = load double**, double*** %15
%219 = load i32, i32* %7
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds double*, double** %218, i64 %220
%222 = load double*, double** %221
%223 = load i32, i32* %9
%224 = add nsw i32 %223, 2
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds double, double* %222, i64 %225
%227 = load double, double* %226
%228 = load double**, double*** %16
%229 = load i32, i32* %9
%230 = add nsw i32 %229, 1
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double*, double** %228, i64 %231
%233 = load double*, double** %232
%234 = load i32, i32* %8
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds double, double* %233, i64 %235
%237 = load double, double* %236
%238 = load i32, i32* %20
%239 = sitofp i32 %238 to double
%240 = call double @llvm.fmuladd.f64(double %227, double %237, double %239)
%241 = fptosi double %240 to i32
store i32 %241, i32* %20
%242 = load double**, double*** %15
%243 = load i32, i32* %7
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds double*, double** %242, i64 %244
%246 = load double*, double** %245
%247 = load i32, i32* %9
%248 = add nsw i32 %247, 3
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds double, double* %246, i64 %249
%251 = load double, double* %250
%252 = load double**, double*** %16
%253 = load i32, i32* %9
%254 = add nsw i32 %253, 1
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double*, double** %252, i64 %255
%257 = load double*, double** %256
%258 = load i32, i32* %8
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds double, double* %257, i64 %259
%261 = load double, double* %260
%262 = load i32, i32* %21
%263 = sitofp i32 %262 to double
%264 = call double @llvm.fmuladd.f64(double %251, double %261, double %263)
%265 = fptosi double %264 to i32
store i32 %265, i32* %21
br label %266
266: ; preds = %171
%267 = load i32, i32* %9
%268 = add nsw i32 %267, 4
store i32 %268, i32* %9
br label %167
269: ; preds = %167
%270 = load i32, i32* %18
%271 = load i32, i32* %19
%272 = add nsw i32 %270, %271
%273 = load i32, i32* %20
%274 = add nsw i32 %272, %273
%275 = load i32, i32* %21
%276 = add nsw i32 %274, %275
%277 = sitofp i32 %276 to double
%278 = load double**, double*** %17
%279 = load i32, i32* %7
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds double*, double** %278, i64 %280
%282 = load double*, double** %281
%283 = load i32, i32* %8
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds double, double* %282, i64 %284
%286 = load double, double* %285
%287 = fadd double %286, %277
store double %287, double* %285
br label %288
288: ; preds = %269
%289 = load i32, i32* %8
%290 = add nsw i32 %289, 1
store i32 %290, i32* %8
br label %162
291: ; preds = %162
br label %292
292: ; preds = %291
%293 = load i32, i32* %7
%294 = add nsw i32 %293, 1
store i32 %294, i32* %7
br label %157
295: ; preds = %157
%296 = call double (...) @omp_get_wtime()
store double %296, double* %13
%297 = load double, double* %13
%298 = load double, double* %12
%299 = fsub double %297, %298
store double %299, double* %14
%300 = load double**, double*** %17
%301 = getelementptr inbounds double*, double** %300, i64 0
%302 = load double*, double** %301
%303 = getelementptr inbounds double, double* %302, i64 0
%304 = load double, double* %303
%305 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), double %304)
%306 = load double**, double*** %17
%307 = load i32, i32* %6
%308 = sub nsw i32 %307, 1
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double*, double** %306, i64 %309
%311 = load double*, double** %310
%312 = load i32, i32* %6
%313 = sub nsw i32 %312, 1
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, double* %311, i64 %314
%316 = load double, double* %315
%317 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), double %316)
%318 = load double, double* %14
%319 = load i32, i32* %6
%320 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0), double %318, i32 %319)
%321 = load i32, i32* %3
ret i32 %321
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [19 x i8] c"Faltan argumentos\0A\00"
@.str.1 = [22 x i8] c"resultado[0][0] = %g\0A\00"
@.str.2 = [26 x i8] c"resultado[N-1][N-1] = %g\0A\00"
@.str.3 = [44 x i8] c"Tiempo(seg.):%11.9f\09 / Tama\C3\B1o Matrices:%u\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = getelementptr inbounds i8*, i8** %1, i64 1
%4 = load i8*, i8** %3
%5 = tail call i32 @atoi(i8* %4)
%6 = shl i32 %5, 3
%7 = tail call i64 @malloc(i32 %6)
%8 = inttoptr i64 %7 to double**
%9 = icmp sgt i32 %5, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i64 @malloc(i32 %6)
%12 = inttoptr i64 %11 to double**
br label %34
13: ; preds = %2
%14 = zext i32 %5 to i64
br label %15
15: ; preds = %13, %15
%16 = phi i64 [ 0, %13 ], [ %20, %15 ]
%17 = tail call i64 @malloc(i32 %6)
%18 = inttoptr i64 %17 to double*
%19 = getelementptr inbounds double*, double** %8, i64 %16
store double* %18, double** %19
%20 = add nuw nsw i64 %16, 1
%21 = icmp eq i64 %20, %14
br i1 %21, label %22, label %15
22: ; preds = %15
%23 = tail call i64 @malloc(i32 %6)
%24 = inttoptr i64 %23 to double**
br i1 %9, label %25, label %34
25: ; preds = %22
%26 = zext i32 %5 to i64
br label %27
27: ; preds = %25, %27
%28 = phi i64 [ 0, %25 ], [ %32, %27 ]
%29 = tail call i64 @malloc(i32 %6)
%30 = inttoptr i64 %29 to double*
%31 = getelementptr inbounds double*, double** %24, i64 %28
store double* %30, double** %31
%32 = add nuw nsw i64 %28, 1
%33 = icmp eq i64 %32, %26
br i1 %33, label %38, label %27
34: ; preds = %10, %22
%35 = phi double** [ %24, %22 ], [ %12, %10 ]
%36 = tail call i64 @malloc(i32 %6)
%37 = inttoptr i64 %36 to double**
br label %50
38: ; preds = %27
%39 = tail call i64 @malloc(i32 %6)
%40 = inttoptr i64 %39 to double**
br i1 %9, label %41, label %50
41: ; preds = %38
%42 = zext i32 %5 to i64
br label %43
43: ; preds = %41, %43
%44 = phi i64 [ 0, %41 ], [ %48, %43 ]
%45 = tail call i64 @malloc(i32 %6)
%46 = inttoptr i64 %45 to double*
%47 = getelementptr inbounds double*, double** %40, i64 %44
store double* %46, double** %47
%48 = add nuw nsw i64 %44, 1
%49 = icmp eq i64 %48, %42
br i1 %49, label %50, label %43
50: ; preds = %43, %34, %38
%51 = phi double** [ %37, %34 ], [ %40, %38 ], [ %40, %43 ]
%52 = phi double** [ %35, %34 ], [ %24, %38 ], [ %24, %43 ]
%53 = icmp slt i32 %0, 2
br i1 %53, label %65, label %54
54: ; preds = %50
br i1 %9, label %57, label %55
55: ; preds = %54
%56 = tail call double (...) @omp_get_wtime()
br label %248
57: ; preds = %54
%58 = zext i32 %5 to i64
%59 = add nsw i64 %58, -1
%60 = icmp ult i32 %5, 4
%61 = and i64 %58, 4294967292
%62 = icmp eq i64 %61, %58
%63 = and i64 %58, 1
%64 = icmp eq i64 %63, 0
br label %69
65: ; preds = %50
%66 = load i32, i32* @stderr
%67 = tail call i32 @fprintf(i32 %66, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%68 = tail call i32 @exit(i32 -1)
unreachable
69: ; preds = %144, %57
%70 = phi i64 [ 0, %57 ], [ %145, %144 ]
%71 = getelementptr inbounds double*, double** %51, i64 %70
%72 = load double*, double** %71
%73 = getelementptr inbounds double*, double** %8, i64 %70
%74 = load double*, double** %73
%75 = getelementptr inbounds double*, double** %52, i64 %70
%76 = load double*, double** %75
br i1 %60, label %117, label %77
77: ; preds = %69
%78 = getelementptr double, double* %72, i64 %58
%79 = getelementptr double, double* %74, i64 %58
%80 = getelementptr double, double* %76, i64 %58
%81 = icmp ult double* %72, %79
%82 = icmp ult double* %74, %78
%83 = and i1 %81, %82
%84 = icmp ult double* %72, %80
%85 = icmp ult double* %76, %78
%86 = and i1 %84, %85
%87 = or i1 %83, %86
%88 = icmp ult double* %74, %80
%89 = icmp ult double* %76, %79
%90 = and i1 %88, %89
%91 = or i1 %87, %90
br i1 %91, label %117, label %92
92: ; preds = %77, %92
%93 = phi i64 [ %113, %92 ], [ 0, %77 ]
%94 = phi <2 x i64> [ %114, %92 ], [ <i64 0, i64 1>, %77 ]
%95 = getelementptr inbounds double, double* %72, i64 %93
%96 = bitcast double* %95 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %96
%97 = getelementptr inbounds double, double* %95, i64 2
%98 = bitcast double* %97 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %98
%99 = trunc <2 x i64> %94 to <2 x i32>
%100 = add <2 x i32> %99, <i32 1, i32 1>
%101 = trunc <2 x i64> %94 to <2 x i32>
%102 = add <2 x i32> %101, <i32 3, i32 3>
%103 = sitofp <2 x i32> %100 to <2 x double>
%104 = sitofp <2 x i32> %102 to <2 x double>
%105 = getelementptr inbounds double, double* %74, i64 %93
%106 = bitcast double* %105 to <2 x double>*
store <2 x double> %103, <2 x double>* %106
%107 = getelementptr inbounds double, double* %105, i64 2
%108 = bitcast double* %107 to <2 x double>*
store <2 x double> %104, <2 x double>* %108
%109 = getelementptr inbounds double, double* %76, i64 %93
%110 = bitcast double* %109 to <2 x double>*
store <2 x double> %103, <2 x double>* %110
%111 = getelementptr inbounds double, double* %109, i64 2
%112 = bitcast double* %111 to <2 x double>*
store <2 x double> %104, <2 x double>* %112
%113 = add nuw i64 %93, 4
%114 = add <2 x i64> %94, <i64 4, i64 4>
%115 = icmp eq i64 %113, %61
br i1 %115, label %116, label %92
116: ; preds = %92
br i1 %62, label %144, label %117
117: ; preds = %77, %69, %116
%118 = phi i64 [ 0, %77 ], [ 0, %69 ], [ %61, %116 ]
br i1 %64, label %126, label %119
119: ; preds = %117
%120 = getelementptr inbounds double, double* %72, i64 %118
store double 0.000000e+00, double* %120
%121 = or i64 %118, 1
%122 = trunc i64 %121 to i32
%123 = sitofp i32 %122 to double
%124 = getelementptr inbounds double, double* %74, i64 %118
store double %123, double* %124
%125 = getelementptr inbounds double, double* %76, i64 %118
store double %123, double* %125
br label %126
126: ; preds = %119, %117
%127 = phi i64 [ %118, %117 ], [ %121, %119 ]
%128 = icmp eq i64 %59, %118
br i1 %128, label %144, label %129
129: ; preds = %126, %129
%130 = phi i64 [ %138, %129 ], [ %127, %126 ]
%131 = getelementptr inbounds double, double* %72, i64 %130
store double 0.000000e+00, double* %131
%132 = add nuw nsw i64 %130, 1
%133 = trunc i64 %132 to i32
%134 = sitofp i32 %133 to double
%135 = getelementptr inbounds double, double* %74, i64 %130
store double %134, double* %135
%136 = getelementptr inbounds double, double* %76, i64 %130
store double %134, double* %136
%137 = getelementptr inbounds double, double* %72, i64 %132
store double 0.000000e+00, double* %137
%138 = add nuw nsw i64 %130, 2
%139 = trunc i64 %138 to i32
%140 = sitofp i32 %139 to double
%141 = getelementptr inbounds double, double* %74, i64 %132
store double %140, double* %141
%142 = getelementptr inbounds double, double* %76, i64 %132
store double %140, double* %142
%143 = icmp eq i64 %138, %58
br i1 %143, label %144, label %129
144: ; preds = %126, %129, %116
%145 = add nuw nsw i64 %70, 1
%146 = icmp eq i64 %145, %58
br i1 %146, label %147, label %69
147: ; preds = %144
%148 = tail call double (...) @omp_get_wtime()
br i1 %9, label %149, label %248
149: ; preds = %147
%150 = zext i32 %5 to i64
%151 = lshr i64 %59, 2
%152 = add nuw nsw i64 %151, 1
%153 = and i64 %152, 1
%154 = icmp ult i64 %59, 4
%155 = and i64 %152, 9223372036854775806
%156 = icmp eq i64 %153, 0
br label %157
157: ; preds = %245, %149
%158 = phi i64 [ 0, %149 ], [ %246, %245 ]
%159 = phi <4 x i32> [ zeroinitializer, %149 ], [ %231, %245 ]
%160 = getelementptr inbounds double*, double** %8, i64 %158
%161 = getelementptr inbounds double*, double** %51, i64 %158
%162 = load double*, double** %161
%163 = load double*, double** %160
br label %164
164: ; preds = %230, %157
%165 = phi i64 [ 0, %157 ], [ %243, %230 ]
%166 = phi <4 x i32> [ %159, %157 ], [ %231, %230 ]
%167 = getelementptr inbounds double*, double** %52, i64 %165
%168 = load double*, double** %167
br i1 %154, label %209, label %169
169: ; preds = %164, %169
%170 = phi i64 [ %206, %169 ], [ 0, %164 ]
%171 = phi <4 x i32> [ %205, %169 ], [ %166, %164 ]
%172 = phi i64 [ %207, %169 ], [ 0, %164 ]
%173 = getelementptr inbounds double, double* %163, i64 %170
%174 = getelementptr inbounds double, double* %168, i64 %170
%175 = load double, double* %174
%176 = or i64 %170, 1
%177 = getelementptr inbounds double*, double** %52, i64 %176
%178 = load double*, double** %177
%179 = getelementptr inbounds double, double* %178, i64 %165
%180 = load double, double* %179
%181 = bitcast double* %173 to <4 x double>*
%182 = load <4 x double>, <4 x double>* %181
%183 = sitofp <4 x i32> %171 to <4 x double>
%184 = insertelement <4 x double> poison, double %175, i64 0
%185 = insertelement <4 x double> %184, double %180, i64 1
%186 = shufflevector <4 x double> %185, <4 x double> poison, <4 x i32> <i32 0, i32 1, i32 1, i32 1>
%187 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %182, <4 x double> %186, <4 x double> %183)
%188 = fptosi <4 x double> %187 to <4 x i32>
%189 = or i64 %170, 4
%190 = getelementptr inbounds double, double* %163, i64 %189
%191 = getelementptr inbounds double, double* %168, i64 %189
%192 = load double, double* %191
%193 = or i64 %170, 5
%194 = getelementptr inbounds double*, double** %52, i64 %193
%195 = load double*, double** %194
%196 = getelementptr inbounds double, double* %195, i64 %165
%197 = load double, double* %196
%198 = bitcast double* %190 to <4 x double>*
%199 = load <4 x double>, <4 x double>* %198
%200 = sitofp <4 x i32> %188 to <4 x double>
%201 = insertelement <4 x double> poison, double %192, i64 0
%202 = insertelement <4 x double> %201, double %197, i64 1
%203 = shufflevector <4 x double> %202, <4 x double> poison, <4 x i32> <i32 0, i32 1, i32 1, i32 1>
%204 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %199, <4 x double> %203, <4 x double> %200)
%205 = fptosi <4 x double> %204 to <4 x i32>
%206 = add nuw nsw i64 %170, 8
%207 = add i64 %172, 2
%208 = icmp eq i64 %207, %155
br i1 %208, label %209, label %169
209: ; preds = %169, %164
%210 = phi <4 x i32> [ undef, %164 ], [ %205, %169 ]
%211 = phi i64 [ 0, %164 ], [ %206, %169 ]
%212 = phi <4 x i32> [ %166, %164 ], [ %205, %169 ]
br i1 %156, label %230, label %213
213: ; preds = %209
%214 = getelementptr inbounds double, double* %163, i64 %211
%215 = getelementptr inbounds double, double* %168, i64 %211
%216 = load double, double* %215
%217 = or i64 %211, 1
%218 = getelementptr inbounds double*, double** %52, i64 %217
%219 = load double*, double** %218
%220 = getelementptr inbounds double, double* %219, i64 %165
%221 = load double, double* %220
%222 = bitcast double* %214 to <4 x double>*
%223 = load <4 x double>, <4 x double>* %222
%224 = sitofp <4 x i32> %212 to <4 x double>
%225 = insertelement <4 x double> poison, double %216, i64 0
%226 = insertelement <4 x double> %225, double %221, i64 1
%227 = shufflevector <4 x double> %226, <4 x double> poison, <4 x i32> <i32 0, i32 1, i32 1, i32 1>
%228 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %223, <4 x double> %227, <4 x double> %224)
%229 = fptosi <4 x double> %228 to <4 x i32>
br label %230
230: ; preds = %209, %213
%231 = phi <4 x i32> [ %210, %209 ], [ %229, %213 ]
%232 = shufflevector <4 x i32> %231, <4 x i32> poison, <4 x i32> <i32 1, i32 undef, i32 undef, i32 undef>
%233 = add nsw <4 x i32> %232, %231
%234 = shufflevector <4 x i32> %231, <4 x i32> poison, <4 x i32> <i32 2, i32 undef, i32 undef, i32 undef>
%235 = add nsw <4 x i32> %233, %234
%236 = shufflevector <4 x i32> %231, <4 x i32> poison, <4 x i32> <i32 3, i32 undef, i32 undef, i32 undef>
%237 = add nsw <4 x i32> %235, %236
%238 = extractelement <4 x i32> %237, i64 0
%239 = sitofp i32 %238 to double
%240 = getelementptr inbounds double, double* %162, i64 %165
%241 = load double, double* %240
%242 = fadd double %241, %239
store double %242, double* %240
%243 = add nuw nsw i64 %165, 1
%244 = icmp eq i64 %243, %150
br i1 %244, label %245, label %164
245: ; preds = %230
%246 = add nuw nsw i64 %158, 1
%247 = icmp eq i64 %246, %150
br i1 %247, label %248, label %157
248: ; preds = %245, %55, %147
%249 = phi double [ %56, %55 ], [ %148, %147 ], [ %148, %245 ]
%250 = tail call double (...) @omp_get_wtime()
%251 = fsub double %250, %249
%252 = load double*, double** %51
%253 = load double, double* %252
%254 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), double %253)
%255 = add nsw i32 %5, -1
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double*, double** %51, i64 %256
%258 = load double*, double** %257
%259 = getelementptr inbounds double, double* %258, i64 %256
%260 = load double, double* %259
%261 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), double %260)
%262 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0), double %251, i32 %5)
ret i32 0
}