#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 */
struct timespec {
  double tv_nsec;
  scalar_t__ tv_sec;
};

/* Variables and functions */
int /*<<< orphan*/ CLOCK_REALTIME;
int atoi(char *);
int /*<<< orphan*/ clock_gettime(int /*<<< orphan*/, struct timespec *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *, ...);
int rand();
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  if (argc < 2) {
    fprintf(stderr, "Se deben introducir las filas y las columnas\n");
    exit(-1);
  }
  int m;
  m = atoi(argv[1]);
  int M[m][m];
  int v1[m];
  int v2[m];
  int i, j, k, l, n, s, h, p, g;
  int suma = 0;
  struct timespec t1, t2;
  double tiempo_total;
  for (l = 0; l < m; l++) {
    for (n = 0; n < m; n++) {
      M[l][n] = rand() % 10;
    }
  }
  for (k = 0; k < m; k++) {
    v1[k] = rand() % 10;
  }
  printf("*****Matriz*****\n");
  for (s = 0; s < m; s++) {
    for (h = 0; h < m; h++) {
      printf("%d ", M[s][h]);
    }
    printf("\n");
  }
  printf("*****Vector*****\n");
  for (p = 0; p < m; p++) {
    printf("%d ", v1[p]);
  }
  printf("\n");
  printf("****************\n");
  clock_gettime(CLOCK_REALTIME, &t1);
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      suma += (M[i][j] * v1[j]);
    }
    v2[i] = suma;
    suma = 0;
  }
  clock_gettime(CLOCK_REALTIME, &t2);
  tiempo_total = (double)(t2.tv_sec - t1.tv_sec) +
                 (double)((t2.tv_nsec - t1.tv_nsec) / (1.e+9));
  if (m < 11) {
    printf("*****Vector v2 con el resultado*****\n");
    for (g = 0; g < m; g++) {
      printf("%d ", v2[g]);
    }
    printf("\n");
    printf("\nTiempo total: %f\n", tiempo_total);
    printf("************************************\n");
  } else {
    printf("*****Tiempo total: %f\n", tiempo_total);
    printf("v2[0]: %d ", v2[0]);
    printf("v2[m]: %d \n", v2[m - 1]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11a2 <main+0x42>
mov    0x2e56(%rip),%rax
mov    (%rax),%edi
lea    0xe75(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   1070 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %rax,-0xb0(%rbp)
mov    %rsp,%rcx
mov    %rcx,-0x20(%rbp)
mov    %rax,%rcx
imul   %rcx,%rcx
lea    0xf(,%rcx,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xa8(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
mov    %rax,-0x30(%rbp)
mov    -0x14(%rbp),%eax
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xa0(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x38(%rbp)
mov    -0x14(%rbp),%eax
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x98(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x68(%rbp)
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12b5 <main+0x155>
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12a2 <main+0x142>
mov    $0x0,%al
call   1080 <rand@plt>
mov    -0xb0(%rbp),%rsi
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    -0xa8(%rbp),%rax
movslq -0x50(%rbp),%rcx
imul   %rsi,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x54(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1255 <main+0xf5>
jmp    12a7 <main+0x147>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1242 <main+0xe2>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12f3 <main+0x193>
mov    $0x0,%al
call   1080 <rand@plt>
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    -0xa0(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12bc <main+0x15c>
lea    0xd3c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1383 <main+0x223>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1367 <main+0x207>
mov    -0xa8(%rbp),%rax
mov    -0xb0(%rbp),%rdx
movslq -0x58(%rbp),%rcx
imul   %rdx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x5c(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    131b <main+0x1bb>
lea    0xd77(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1308 <main+0x1a8>
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13ce <main+0x26e>
mov    -0xa0(%rbp),%rax
movslq -0x60(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd1e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1398 <main+0x238>
lea    0xd10(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xcc4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2be7(%rip),%rax
mov    (%rax),%edi
lea    -0x78(%rbp),%rsi
call   1030 <clock_gettime@plt>
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x54(%rbp),%eax
jge    148f <main+0x32f>
movl   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1469 <main+0x309>
mov    -0xa0(%rbp),%rcx
mov    -0xa8(%rbp),%rax
mov    -0xb0(%rbp),%rsi
movslq -0x44(%rbp),%rdx
imul   %rsi,%rdx
shl    $0x2,%rdx
add    %rdx,%rax
movslq -0x48(%rbp),%rdx
mov    (%rax,%rdx,4),%eax
movslq -0x48(%rbp),%rdx
imul   (%rcx,%rdx,4),%eax
add    -0x68(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1416 <main+0x2b6>
mov    -0x98(%rbp),%rax
mov    -0x68(%rbp),%edx
movslq -0x44(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movl   $0x0,-0x68(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1403 <main+0x2a3>
mov    0x2b42(%rip),%rax
mov    (%rax),%edi
lea    -0x88(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x80(%rbp),%rax
sub    -0x70(%rbp),%rax
cvtsi2sd %rax,%xmm0
movsd  -0x88(%rbp),%xmm1
ff
subsd  -0x78(%rbp),%xmm1
movsd  0xb3a(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
cmpl   $0xb,-0x14(%rbp)
jge    1562 <main+0x402>
lea    0xb73(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    152b <main+0x3cb>
mov    -0x98(%rbp),%rax
movslq -0x64(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xbc1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    14f5 <main+0x395>
lea    0xbb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0x90(%rbp),%xmm0
ff
lea    0xb38(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xb3d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15b0 <main+0x450>
movsd  -0x90(%rbp),%xmm0
ff
lea    0xb48(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x98(%rbp),%rax
mov    (%rax),%esi
lea    0xb48(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x98(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
lea    0xb32(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
cmp    $0x1,%edi
jle    16f9 <main+0x579>
mov    0x8(%rsi),%rdi
call   1080 <atoi@plt>
mov    %eax,%r13d
mov    %r13,%rcx
imul   %r13,%rcx
mov    %rsp,%rdx
lea    0xf(,%rcx,4),%rcx
and    $0xfffffffffffffff0,%rcx
sub    %rcx,%rdx
mov    %rdx,-0x30(%rbp)
mov    %rdx,%rsp
mov    %rsp,%r15
lea    0xf(,%r13,4),%rcx
and    $0xfffffffffffffff0,%rcx
sub    %rcx,%r15
mov    %r15,%rsp
mov    %rsp,%r12
sub    %rcx,%r12
mov    %r12,%rsp
test   %eax,%eax
jle    1359 <main+0x1d9>
mov    %r12,-0x40(%rbp)
lea    0x0(,%r13,4),%rax
mov    %rax,-0x38(%rbp)
mov    -0x30(%rbp),%r12
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xor    %eax,%eax
call   10a0 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
mov    %eax,(%r12,%rbx,4)
add    $0x1,%rbx
cmp    %rbx,%r13
jne    1220 <main+0xa0>
add    $0x1,%r14
add    -0x38(%rbp),%r12
cmp    %r13,%r14
jne    1210 <main+0x90>
test   %r13d,%r13d
mov    -0x40(%rbp),%r12
jle    1359 <main+0x1d9>
xor    %ebx,%ebx
nopl   (%rax)
xor    %eax,%eax
call   10a0 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
mov    %eax,(%r15,%rbx,4)
add    $0x1,%rbx
cmp    %rbx,%r13
jne    1270 <main+0xf0>
lea    0xdcf(%rip),%rdi
call   1040 <puts@plt>
test   %r13d,%r13d
jle    1365 <main+0x1e5>
lea    0xdaa(%rip),%r14
mov    -0x30(%rbp),%rbx
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rax,-0x48(%rbp)
xor    %r12d,%r12d
nopw   0x0(%rax,%rax,1)
mov    (%rbx,%r12,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%r12
cmp    %r12,%r13
jne    12e0 <main+0x160>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x48(%rbp),%rax
add    $0x1,%rax
add    -0x38(%rbp),%rbx
cmp    %r13,%rax
jne    12d0 <main+0x150>
lea    0xd6f(%rip),%rdi
call   1040 <puts@plt>
test   %r13d,%r13d
jle    15da <main+0x45a>
lea    0xd39(%rip),%r14
xor    %ebx,%ebx
mov    -0x40(%rbp),%r12
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%r15,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r13
jne    1340 <main+0x1c0>
jmp    1371 <main+0x1f1>
lea    0xd17(%rip),%rdi
call   1040 <puts@plt>
lea    0xd1c(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd50(%rip),%rdi
call   1040 <puts@plt>
mov    0x2c4a(%rip),%rax
mov    (%rax),%edi
lea    -0x58(%rbp),%rsi
call   1050 <clock_gettime@plt>
test   %r13d,%r13d
jle    1606 <main+0x486>
mov    %r13d,%r11d
and    $0xfffffff8,%r11d
lea    -0x8(%r11),%r9
mov    %r9,%r10
shr    $0x3,%r10
add    $0x1,%r10
mov    %r10,%r8
and    $0xfffffffffffffffe,%r8
mov    -0x30(%rbp),%rdx
lea    0x30(%rdx),%rdi
lea    0x0(,%r13,4),%r14
xor    %ecx,%ecx
jmp    13f7 <main+0x277>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %eax,(%r12,%rcx,4)
add    $0x1,%rcx
add    %r14,%rdi
add    %r14,%rdx
cmp    %r13,%rcx
je     1606 <main+0x486>
cmp    $0x8,%r13d
jae    1410 <main+0x290>
xor    %esi,%esi
xor    %eax,%eax
jmp    15b0 <main+0x430>
cs nopw 0x0(%rax,%rax,1)
pxor   %xmm0,%xmm0
test   %r9,%r9
je     15c8 <main+0x448>
mov    %r8,%rsi
xor    %eax,%eax
pxor   %xmm1,%xmm1
cs nopw 0x0(%rax,%rax,1)
movdqu -0x30(%rdi,%rax,4),%xmm5
movdqu -0x20(%rdi,%rax,4),%xmm10
movdqu -0x10(%rdi,%rax,4),%xmm9
movdqu (%rdi,%rax,4),%xmm8
movdqa (%r15,%rax,4),%xmm7
movdqa 0x10(%r15,%rax,4),%xmm2
movdqa 0x20(%r15,%rax,4),%xmm4
movdqa 0x30(%r15,%rax,4),%xmm3
pshufd $0xf5,%xmm7,%xmm6
pmuludq %xmm5,%xmm7
pshufd $0xe8,%xmm7,%xmm7
pshufd $0xf5,%xmm5,%xmm5
pmuludq %xmm6,%xmm5
pshufd $0xe8,%xmm5,%xmm5
punpckldq %xmm5,%xmm7
paddd  %xmm0,%xmm7
pshufd $0xf5,%xmm2,%xmm0
pmuludq %xmm10,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm10,%xmm5
pmuludq %xmm0,%xmm5
pshufd $0xe8,%xmm5,%xmm0
punpckldq %xmm0,%xmm2
paddd  %xmm1,%xmm2
pshufd $0xf5,%xmm4,%xmm1
pmuludq %xmm9,%xmm4
pshufd $0xe8,%xmm4,%xmm0
pshufd $0xf5,%xmm9,%xmm4
pmuludq %xmm1,%xmm4
pshufd $0xe8,%xmm4,%xmm1
punpckldq %xmm1,%xmm0
paddd  %xmm7,%xmm0
pshufd $0xf5,%xmm3,%xmm4
pmuludq %xmm8,%xmm3
pshufd $0xe8,%xmm3,%xmm1
pshufd $0xf5,%xmm8,%xmm3
pmuludq %xmm4,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
paddd  %xmm2,%xmm1
add    $0x10,%rax
add    $0xfffffffffffffffe,%rsi
jne    1430 <main+0x2b0>
test   $0x1,%r10b
je     157e <main+0x3fe>
mov    %rcx,%rsi
imul   %r13,%rsi
mov    -0x30(%rbp),%rbx
lea    (%rbx,%rsi,4),%rsi
movdqu (%rsi,%rax,4),%xmm2
movdqu 0x10(%rsi,%rax,4),%xmm3
movdqa (%r15,%rax,4),%xmm4
movdqa 0x10(%r15,%rax,4),%xmm5
pshufd $0xf5,%xmm4,%xmm6
pmuludq %xmm2,%xmm4
pshufd $0xe8,%xmm4,%xmm4
pshufd $0xf5,%xmm2,%xmm2
pmuludq %xmm6,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm0
pshufd $0xf5,%xmm5,%xmm2
pmuludq %xmm3,%xmm5
pshufd $0xe8,%xmm5,%xmm4
pshufd $0xf5,%xmm3,%xmm3
pmuludq %xmm2,%xmm3
pshufd $0xe8,%xmm3,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm1
paddd  %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%eax
mov    %r11,%rsi
cmp    %r13,%r11
je     13e0 <main+0x260>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%r15,%rsi,4),%ebx
imul   (%rdx,%rsi,4),%ebx
add    %ebx,%eax
add    $0x1,%rsi
cmp    %rsi,%r13
jne    15b0 <main+0x430>
jmp    13e0 <main+0x260>
xor    %eax,%eax
pxor   %xmm1,%xmm1
test   $0x1,%r10b
jne    150f <main+0x38f>
jmp    157e <main+0x3fe>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xae7(%rip),%rdi
call   1040 <puts@plt>
mov    0x29e1(%rip),%rax
mov    (%rax),%edi
lea    -0x58(%rbp),%rsi
call   1050 <clock_gettime@plt>
mov    -0x40(%rbp),%r12
mov    0x29cb(%rip),%rax
mov    (%rax),%edi
lea    -0x68(%rbp),%rsi
call   1050 <clock_gettime@plt>
mov    -0x60(%rbp),%rax
sub    -0x50(%rbp),%rax
xorps  %xmm1,%xmm1
cvtsi2sd %rax,%xmm1
movsd  -0x68(%rbp),%xmm0
subsd  -0x58(%rbp),%xmm0
divsd  0x9c6(%rip),%xmm0
addsd  %xmm1,%xmm0
cmp    $0xa,%r13d
jg     16b2 <main+0x532>
movsd  %xmm0,-0x38(%rbp)
lea    0xa49(%rip),%rdi
call   1040 <puts@plt>
test   %r13d,%r13d
jle    1687 <main+0x507>
lea    0xa06(%rip),%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r12,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r13
jne    1670 <main+0x4f0>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x99e(%rip),%rdi
movsd  -0x38(%rbp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xa13(%rip),%rdi
call   1040 <puts@plt>
jmp    16e8 <main+0x568>
lea    0x990(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    (%r12),%esi
lea    0x995(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0xffffffff,%r13d
mov    (%r12,%r13,4),%esi
lea    0x98a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x28e0(%rip),%rax
mov    (%rax),%edi
lea    0x8ff(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0xffffffff,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
%struct.timespec = type { double, i64 }
@stderr = global i32 0
@.str = [46 x i8] c"Se deben introducir las filas y las columnas\0A\00"
@.str.1 = [18 x i8] c"*****Matriz*****\0A\00"
@.str.2 = [4 x i8] c"%d \00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [18 x i8] c"*****Vector*****\0A\00"
@.str.5 = [18 x i8] c"****************\0A\00"
@CLOCK_REALTIME = global i32 0
@.str.6 = [38 x i8] c"*****Vector v2 con el resultado*****\0A\00"
@.str.7 = [19 x i8] c"\0ATiempo total: %f\0A\00"
@.str.8 = [38 x i8] c"************************************\0A\00"
@.str.9 = [23 x i8] c"*****Tiempo total: %f\0A\00"
@.str.10 = [11 x i8] c"v2[0]: %d \00"
@.str.11 = [12 x i8] c"v2[m]: %d \0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca %struct.timespec
%23 = alloca %struct.timespec
%24 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%25 = load i32, i32* %4
%26 = icmp slt i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %2
%28 = load i32, i32* @stderr
%29 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%30 = call i32 @exit(i32 -1)
unreachable
31: ; preds = %2
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 1
%34 = load i8*, i8** %33
%35 = call i32 @atoi(i8* %34)
store i32 %35, i32* %6
%36 = load i32, i32* %6
%37 = zext i32 %36 to i64
%38 = load i32, i32* %6
%39 = zext i32 %38 to i64
%40 = call i8* @llvm.stacksave()
store i8* %40, i8** %7
%41 = mul nuw i64 %37, %39
%42 = alloca i32, i64 %41
store i64 %37, i64* %8
store i64 %39, i64* %9
%43 = load i32, i32* %6
%44 = zext i32 %43 to i64
%45 = alloca i32, i64 %44
store i64 %44, i64* %10
%46 = load i32, i32* %6
%47 = zext i32 %46 to i64
%48 = alloca i32, i64 %47
store i64 %47, i64* %11
store i32 0, i32* %21
store i32 0, i32* %15
br label %49
49: ; preds = %72, %31
%50 = load i32, i32* %15
%51 = load i32, i32* %6
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %75
53: ; preds = %49
store i32 0, i32* %16
br label %54
54: ; preds = %68, %53
%55 = load i32, i32* %16
%56 = load i32, i32* %6
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %71
58: ; preds = %54
%59 = call i32 (...) @rand()
%60 = srem i32 %59, 10
%61 = load i32, i32* %15
%62 = sext i32 %61 to i64
%63 = mul nsw i64 %62, %39
%64 = getelementptr inbounds i32, i32* %42, i64 %63
%65 = load i32, i32* %16
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, i32* %64, i64 %66
store i32 %60, i32* %67
br label %68
68: ; preds = %58
%69 = load i32, i32* %16
%70 = add nsw i32 %69, 1
store i32 %70, i32* %16
br label %54
71: ; preds = %54
br label %72
72: ; preds = %71
%73 = load i32, i32* %15
%74 = add nsw i32 %73, 1
store i32 %74, i32* %15
br label %49
75: ; preds = %49
store i32 0, i32* %14
br label %76
76: ; preds = %86, %75
%77 = load i32, i32* %14
%78 = load i32, i32* %6
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %89
80: ; preds = %76
%81 = call i32 (...) @rand()
%82 = srem i32 %81, 10
%83 = load i32, i32* %14
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, i32* %45, i64 %84
store i32 %82, i32* %85
br label %86
86: ; preds = %80
%87 = load i32, i32* %14
%88 = add nsw i32 %87, 1
store i32 %88, i32* %14
br label %76
89: ; preds = %76
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %17
br label %91
91: ; preds = %115, %89
%92 = load i32, i32* %17
%93 = load i32, i32* %6
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %118
95: ; preds = %91
store i32 0, i32* %18
br label %96
96: ; preds = %110, %95
%97 = load i32, i32* %18
%98 = load i32, i32* %6
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %113
100: ; preds = %96
%101 = load i32, i32* %17
%102 = sext i32 %101 to i64
%103 = mul nsw i64 %102, %39
%104 = getelementptr inbounds i32, i32* %42, i64 %103
%105 = load i32, i32* %18
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, i32* %104, i64 %106
%108 = load i32, i32* %107
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %108)
br label %110
110: ; preds = %100
%111 = load i32, i32* %18
%112 = add nsw i32 %111, 1
store i32 %112, i32* %18
br label %96
113: ; preds = %96
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %115
115: ; preds = %113
%116 = load i32, i32* %17
%117 = add nsw i32 %116, 1
store i32 %117, i32* %17
br label %91
118: ; preds = %91
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %19
br label %120
120: ; preds = %130, %118
%121 = load i32, i32* %19
%122 = load i32, i32* %6
%123 = icmp slt i32 %121, %122
br i1 %123, label %124, label %133
124: ; preds = %120
%125 = load i32, i32* %19
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, i32* %45, i64 %126
%128 = load i32, i32* %127
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %128)
br label %130
130: ; preds = %124
%131 = load i32, i32* %19
%132 = add nsw i32 %131, 1
store i32 %132, i32* %19
br label %120
133: ; preds = %120
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%136 = load i32, i32* @CLOCK_REALTIME
%137 = call i32 @clock_gettime(i32 %136, %struct.timespec* %22)
store i32 0, i32* %12
br label %138
138: ; preds = %171, %133
%139 = load i32, i32* %12
%140 = load i32, i32* %16
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %174
142: ; preds = %138
store i32 0, i32* %13
br label %143
143: ; preds = %163, %142
%144 = load i32, i32* %13
%145 = load i32, i32* %6
%146 = icmp slt i32 %144, %145
br i1 %146, label %147, label %166
147: ; preds = %143
%148 = load i32, i32* %12
%149 = sext i32 %148 to i64
%150 = mul nsw i64 %149, %39
%151 = getelementptr inbounds i32, i32* %42, i64 %150
%152 = load i32, i32* %13
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i32, i32* %151, i64 %153
%155 = load i32, i32* %154
%156 = load i32, i32* %13
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, i32* %45, i64 %157
%159 = load i32, i32* %158
%160 = mul nsw i32 %155, %159
%161 = load i32, i32* %21
%162 = add nsw i32 %161, %160
store i32 %162, i32* %21
br label %163
163: ; preds = %147
%164 = load i32, i32* %13
%165 = add nsw i32 %164, 1
store i32 %165, i32* %13
br label %143
166: ; preds = %143
%167 = load i32, i32* %21
%168 = load i32, i32* %12
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i32, i32* %48, i64 %169
store i32 %167, i32* %170
store i32 0, i32* %21
br label %171
171: ; preds = %166
%172 = load i32, i32* %12
%173 = add nsw i32 %172, 1
store i32 %173, i32* %12
br label %138
174: ; preds = %138
%175 = load i32, i32* @CLOCK_REALTIME
%176 = call i32 @clock_gettime(i32 %175, %struct.timespec* %23)
%177 = getelementptr inbounds %struct.timespec, %struct.timespec* %23, i32 0, i32 1
%178 = load i64, i64* %177
%179 = getelementptr inbounds %struct.timespec, %struct.timespec* %22, i32 0, i32 1
%180 = load i64, i64* %179
%181 = sub nsw i64 %178, %180
%182 = sitofp i64 %181 to double
%183 = getelementptr inbounds %struct.timespec, %struct.timespec* %23, i32 0, i32 0
%184 = load double, double* %183
%185 = getelementptr inbounds %struct.timespec, %struct.timespec* %22, i32 0, i32 0
%186 = load double, double* %185
%187 = fsub double %184, %186
%188 = fdiv double %187, 1.000000e+09
%189 = fadd double %182, %188
store double %189, double* %24
%190 = load i32, i32* %6
%191 = icmp slt i32 %190, 11
br i1 %191, label %192, label %212
192: ; preds = %174
%193 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %20
br label %194
194: ; preds = %204, %192
%195 = load i32, i32* %20
%196 = load i32, i32* %6
%197 = icmp slt i32 %195, %196
br i1 %197, label %198, label %207
198: ; preds = %194
%199 = load i32, i32* %20
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i32, i32* %48, i64 %200
%202 = load i32, i32* %201
%203 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %202)
br label %204
204: ; preds = %198
%205 = load i32, i32* %20
%206 = add nsw i32 %205, 1
store i32 %206, i32* %20
br label %194
207: ; preds = %194
%208 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%209 = load double, double* %24
%210 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %209)
%211 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
br label %224
212: ; preds = %174
%213 = load double, double* %24
%214 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), double %213)
%215 = getelementptr inbounds i32, i32* %48, i64 0
%216 = load i32, i32* %215
%217 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %216)
%218 = load i32, i32* %6
%219 = sub nsw i32 %218, 1
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i32, i32* %48, i64 %220
%222 = load i32, i32* %221
%223 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 %222)
br label %224
224: ; preds = %212, %207
store i32 0, i32* %3
%225 = load i8*, i8** %7
%226 = load i32, i32* %3
ret i32 %226
}

LLVM IR (-O2):
%struct.timespec = type { double, i64 }
@stderr = global i32 0
@.str = [46 x i8] c"Se deben introducir las filas y las columnas\0A\00"
@.str.2 = [4 x i8] c"%d \00"
@CLOCK_REALTIME = global i32 0
@.str.7 = [19 x i8] c"\0ATiempo total: %f\0A\00"
@.str.9 = [23 x i8] c"*****Tiempo total: %f\0A\00"
@.str.10 = [11 x i8] c"v2[0]: %d \00"
@.str.11 = [12 x i8] c"v2[m]: %d \0A\00"
@str = [17 x i8] c"*****Matriz*****\00"
@str.12 = [17 x i8] c"*****Vector*****\00"
@str.13 = [17 x i8] c"****************\00"
@str.14 = [37 x i8] c"*****Vector v2 con el resultado*****\00"
@str.15 = [37 x i8] c"************************************\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.timespec
%4 = alloca %struct.timespec
%5 = icmp slt i32 %0, 2
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%9 = tail call i32 @exit(i32 -1)
unreachable
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = tail call i32 @atoi(i8* %12)
%14 = zext i32 %13 to i64
%15 = mul nuw i64 %14, %14
%16 = alloca i32, i64 %15
%17 = alloca i32, i64 %14
%18 = alloca i32, i64 %14
%19 = bitcast %struct.timespec* %3 to i8*
%20 = bitcast %struct.timespec* %4 to i8*
%21 = icmp sgt i32 %13, 0
br i1 %21, label %22, label %44
22: ; preds = %10, %34
%23 = phi i64 [ %35, %34 ], [ 0, %10 ]
%24 = mul nuw nsw i64 %23, %14
%25 = getelementptr inbounds i32, i32* %16, i64 %24
br label %27
26: ; preds = %34
br i1 %21, label %37, label %44
27: ; preds = %22, %27
%28 = phi i64 [ 0, %22 ], [ %32, %27 ]
%29 = tail call i32 (...) @rand()
%30 = srem i32 %29, 10
%31 = getelementptr inbounds i32, i32* %25, i64 %28
store i32 %30, i32* %31
%32 = add nuw nsw i64 %28, 1
%33 = icmp eq i64 %32, %14
br i1 %33, label %34, label %27
34: ; preds = %27
%35 = add nuw nsw i64 %23, 1
%36 = icmp eq i64 %35, %14
br i1 %36, label %26, label %22
37: ; preds = %26, %37
%38 = phi i64 [ %42, %37 ], [ 0, %26 ]
%39 = tail call i32 (...) @rand()
%40 = srem i32 %39, 10
%41 = getelementptr inbounds i32, i32* %17, i64 %38
store i32 %40, i32* %41
%42 = add nuw nsw i64 %38, 1
%43 = icmp eq i64 %42, %14
br i1 %43, label %46, label %37
44: ; preds = %26, %10
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
br label %63
46: ; preds = %37
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
br i1 %21, label %48, label %63
48: ; preds = %46, %59
%49 = phi i64 [ %61, %59 ], [ 0, %46 ]
%50 = mul nuw nsw i64 %49, %14
%51 = getelementptr inbounds i32, i32* %16, i64 %50
br label %52
52: ; preds = %48, %52
%53 = phi i64 [ 0, %48 ], [ %57, %52 ]
%54 = getelementptr inbounds i32, i32* %51, i64 %53
%55 = load i32, i32* %54
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %55)
%57 = add nuw nsw i64 %53, 1
%58 = icmp eq i64 %57, %14
br i1 %58, label %59, label %52
59: ; preds = %52
%60 = tail call i32 @putchar(i32 10)
%61 = add nuw nsw i64 %49, 1
%62 = icmp eq i64 %61, %14
br i1 %62, label %65, label %48
63: ; preds = %44, %46
%64 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.12, i64 0, i64 0))
br label %74
65: ; preds = %59
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.12, i64 0, i64 0))
br i1 %21, label %67, label %184
67: ; preds = %65, %67
%68 = phi i64 [ %72, %67 ], [ 0, %65 ]
%69 = getelementptr inbounds i32, i32* %17, i64 %68
%70 = load i32, i32* %69
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %70)
%72 = add nuw nsw i64 %68, 1
%73 = icmp eq i64 %72, %14
br i1 %73, label %74, label %67
74: ; preds = %67, %63
%75 = tail call i32 @putchar(i32 10)
%76 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.13, i64 0, i64 0))
%77 = load i32, i32* @CLOCK_REALTIME
%78 = call i32 @clock_gettime(i32 %77, %struct.timespec* %3)
br i1 %21, label %79, label %189
79: ; preds = %74
%80 = and i64 %14, 4294967288
%81 = add nsw i64 %80, -8
%82 = lshr exact i64 %81, 3
%83 = add nuw nsw i64 %82, 1
%84 = icmp ult i32 %13, 8
%85 = and i64 %14, 4294967288
%86 = and i64 %83, 1
%87 = icmp eq i64 %81, 0
%88 = and i64 %83, 4611686018427387902
%89 = icmp eq i64 %86, 0
%90 = icmp eq i64 %85, %14
br label %91
91: ; preds = %79, %179
%92 = phi i64 [ %182, %179 ], [ 0, %79 ]
%93 = mul nuw nsw i64 %92, %14
%94 = getelementptr inbounds i32, i32* %16, i64 %93
br i1 %84, label %165, label %95
95: ; preds = %91
br i1 %87, label %137, label %96
96: ; preds = %95, %96
%97 = phi i64 [ %134, %96 ], [ 0, %95 ]
%98 = phi <4 x i32> [ %132, %96 ], [ zeroinitializer, %95 ]
%99 = phi <4 x i32> [ %133, %96 ], [ zeroinitializer, %95 ]
%100 = phi i64 [ %135, %96 ], [ 0, %95 ]
%101 = getelementptr inbounds i32, i32* %94, i64 %97
%102 = bitcast i32* %101 to <4 x i32>*
%103 = load <4 x i32>, <4 x i32>* %102
%104 = getelementptr inbounds i32, i32* %101, i64 4
%105 = bitcast i32* %104 to <4 x i32>*
%106 = load <4 x i32>, <4 x i32>* %105
%107 = getelementptr inbounds i32, i32* %17, i64 %97
%108 = bitcast i32* %107 to <4 x i32>*
%109 = load <4 x i32>, <4 x i32>* %108
%110 = getelementptr inbounds i32, i32* %107, i64 4
%111 = bitcast i32* %110 to <4 x i32>*
%112 = load <4 x i32>, <4 x i32>* %111
%113 = mul nsw <4 x i32> %109, %103
%114 = mul nsw <4 x i32> %112, %106
%115 = add <4 x i32> %113, %98
%116 = add <4 x i32> %114, %99
%117 = or i64 %97, 8
%118 = getelementptr inbounds i32, i32* %94, i64 %117
%119 = bitcast i32* %118 to <4 x i32>*
%120 = load <4 x i32>, <4 x i32>* %119
%121 = getelementptr inbounds i32, i32* %118, i64 4
%122 = bitcast i32* %121 to <4 x i32>*
%123 = load <4 x i32>, <4 x i32>* %122
%124 = getelementptr inbounds i32, i32* %17, i64 %117
%125 = bitcast i32* %124 to <4 x i32>*
%126 = load <4 x i32>, <4 x i32>* %125
%127 = getelementptr inbounds i32, i32* %124, i64 4
%128 = bitcast i32* %127 to <4 x i32>*
%129 = load <4 x i32>, <4 x i32>* %128
%130 = mul nsw <4 x i32> %126, %120
%131 = mul nsw <4 x i32> %129, %123
%132 = add <4 x i32> %130, %115
%133 = add <4 x i32> %131, %116
%134 = add nuw i64 %97, 16
%135 = add i64 %100, 2
%136 = icmp eq i64 %135, %88
br i1 %136, label %137, label %96
137: ; preds = %96, %95
%138 = phi <4 x i32> [ undef, %95 ], [ %132, %96 ]
%139 = phi <4 x i32> [ undef, %95 ], [ %133, %96 ]
%140 = phi i64 [ 0, %95 ], [ %134, %96 ]
%141 = phi <4 x i32> [ zeroinitializer, %95 ], [ %132, %96 ]
%142 = phi <4 x i32> [ zeroinitializer, %95 ], [ %133, %96 ]
br i1 %89, label %160, label %143
143: ; preds = %137
%144 = getelementptr inbounds i32, i32* %94, i64 %140
%145 = bitcast i32* %144 to <4 x i32>*
%146 = load <4 x i32>, <4 x i32>* %145
%147 = getelementptr inbounds i32, i32* %144, i64 4
%148 = bitcast i32* %147 to <4 x i32>*
%149 = load <4 x i32>, <4 x i32>* %148
%150 = getelementptr inbounds i32, i32* %17, i64 %140
%151 = bitcast i32* %150 to <4 x i32>*
%152 = load <4 x i32>, <4 x i32>* %151
%153 = getelementptr inbounds i32, i32* %150, i64 4
%154 = bitcast i32* %153 to <4 x i32>*
%155 = load <4 x i32>, <4 x i32>* %154
%156 = mul nsw <4 x i32> %152, %146
%157 = mul nsw <4 x i32> %155, %149
%158 = add <4 x i32> %156, %141
%159 = add <4 x i32> %157, %142
br label %160
160: ; preds = %137, %143
%161 = phi <4 x i32> [ %138, %137 ], [ %158, %143 ]
%162 = phi <4 x i32> [ %139, %137 ], [ %159, %143 ]
%163 = add <4 x i32> %162, %161
%164 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %163)
br i1 %90, label %179, label %165
165: ; preds = %91, %160
%166 = phi i64 [ 0, %91 ], [ %85, %160 ]
%167 = phi i32 [ 0, %91 ], [ %164, %160 ]
br label %168
168: ; preds = %165, %168
%169 = phi i64 [ %177, %168 ], [ %166, %165 ]
%170 = phi i32 [ %176, %168 ], [ %167, %165 ]
%171 = getelementptr inbounds i32, i32* %94, i64 %169
%172 = load i32, i32* %171
%173 = getelementptr inbounds i32, i32* %17, i64 %169
%174 = load i32, i32* %173
%175 = mul nsw i32 %174, %172
%176 = add nsw i32 %175, %170
%177 = add nuw nsw i64 %169, 1
%178 = icmp eq i64 %177, %14
br i1 %178, label %179, label %168
179: ; preds = %168, %160
%180 = phi i32 [ %164, %160 ], [ %176, %168 ]
%181 = getelementptr inbounds i32, i32* %18, i64 %92
store i32 %180, i32* %181
%182 = add nuw nsw i64 %92, 1
%183 = icmp eq i64 %182, %14
br i1 %183, label %189, label %91
184: ; preds = %65
%185 = tail call i32 @putchar(i32 10)
%186 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.13, i64 0, i64 0))
%187 = load i32, i32* @CLOCK_REALTIME
%188 = call i32 @clock_gettime(i32 %187, %struct.timespec* %3)
br label %189
189: ; preds = %179, %184, %74
%190 = load i32, i32* @CLOCK_REALTIME
%191 = call i32 @clock_gettime(i32 %190, %struct.timespec* %4)
%192 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 1
%193 = load i64, i64* %192
%194 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 1
%195 = load i64, i64* %194
%196 = sub nsw i64 %193, %195
%197 = sitofp i64 %196 to double
%198 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 0
%199 = load double, double* %198
%200 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%201 = load double, double* %200
%202 = fsub double %199, %201
%203 = fdiv double %202, 1.000000e+09
%204 = fadd double %203, %197
%205 = icmp slt i32 %13, 11
br i1 %205, label %206, label %219
206: ; preds = %189
%207 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.14, i64 0, i64 0))
br i1 %21, label %208, label %215
208: ; preds = %206, %208
%209 = phi i64 [ %213, %208 ], [ 0, %206 ]
%210 = getelementptr inbounds i32, i32* %18, i64 %209
%211 = load i32, i32* %210
%212 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %211)
%213 = add nuw nsw i64 %209, 1
%214 = icmp eq i64 %213, %14
br i1 %214, label %215, label %208
215: ; preds = %208, %206
%216 = call i32 @putchar(i32 10)
%217 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %204)
%218 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.15, i64 0, i64 0))
br label %228
219: ; preds = %189
%220 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), double %204)
%221 = load i32, i32* %18
%222 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %221)
%223 = add nsw i32 %13, -1
%224 = zext i32 %223 to i64
%225 = getelementptr inbounds i32, i32* %18, i64 %224
%226 = load i32, i32* %225
%227 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 %226)
br label %228
228: ; preds = %219, %215
ret i32 0
}