void kernel_dsymv_4_lib4(int kmax, double *A, int sda, double *x_n, double *y_n,
                         double *z_n, double *x_t, double *y_t, double *z_t,
                         int tri, int alg_n, int alg_t) {
  if (kmax <= 0)
    return;
  const int bs = 4;
  int k;
  double a_00, a_01, a_02, a_03, x_n_0, x_n_1, x_n_2, x_n_3, y_n_0, x_t_0,
      y_t_0, y_t_1, y_t_2, y_t_3;
  if (alg_n == 1) {
    x_n_0 = x_n[0];
    x_n_1 = x_n[1];
    x_n_2 = x_n[2];
    x_n_3 = x_n[3];
  } else {
    x_n_0 = -x_n[0];
    x_n_1 = -x_n[1];
    x_n_2 = -x_n[2];
    x_n_3 = -x_n[3];
  }
  y_t_0 = 0;
  y_t_1 = 0;
  y_t_2 = 0;
  y_t_3 = 0;
  k = 0;
  if (tri == 1) {
    y_n_0 = y_n[0];
    x_t_0 = x_t[0];
    a_00 = A[0 + bs * 0];
    y_t_0 += a_00 * x_t_0;
    z_n[0] = y_n_0;
    y_n_0 = y_n[1];
    x_t_0 = x_t[1];
    a_00 = A[1 + bs * 0];
    a_01 = A[1 + bs * 1];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_t_1 += a_01 * x_t_0;
    z_n[1] = y_n_0;
    y_n_0 = y_n[2];
    x_t_0 = x_t[2];
    a_00 = A[2 + bs * 0];
    a_01 = A[2 + bs * 1];
    a_02 = A[2 + bs * 2];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_t_2 += a_02 * x_t_0;
    z_n[2] = y_n_0;
    y_n_0 = y_n[3];
    x_t_0 = x_t[3];
    a_00 = A[3 + bs * 0];
    a_01 = A[3 + bs * 1];
    a_02 = A[3 + bs * 2];
    a_03 = A[3 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_t_3 += a_03 * x_t_0;
    z_n[3] = y_n_0;
    A += 4;
    y_n += 4;
    z_n += 4;
    x_t += 4;
    k += 4;
    A += (sda - 1) * bs;
  }
  for (; k < kmax - 3; k += bs) {
    y_n_0 = y_n[0];
    x_t_0 = x_t[0];
    a_00 = A[0 + bs * 0];
    a_01 = A[0 + bs * 1];
    a_02 = A[0 + bs * 2];
    a_03 = A[0 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[0] = y_n_0;
    y_n_0 = y_n[1];
    x_t_0 = x_t[1];
    a_00 = A[1 + bs * 0];
    a_01 = A[1 + bs * 1];
    a_02 = A[1 + bs * 2];
    a_03 = A[1 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[1] = y_n_0;
    y_n_0 = y_n[2];
    x_t_0 = x_t[2];
    a_00 = A[2 + bs * 0];
    a_01 = A[2 + bs * 1];
    a_02 = A[2 + bs * 2];
    a_03 = A[2 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[2] = y_n_0;
    y_n_0 = y_n[3];
    x_t_0 = x_t[3];
    a_00 = A[3 + bs * 0];
    a_01 = A[3 + bs * 1];
    a_02 = A[3 + bs * 2];
    a_03 = A[3 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[3] = y_n_0;
    A += sda * bs;
    y_n += 4;
    z_n += 4;
    x_t += 4;
  }
  for (; k < kmax; k++) {
    y_n_0 = y_n[0];
    x_t_0 = x_t[0];
    a_00 = A[0 + bs * 0];
    a_01 = A[0 + bs * 1];
    a_02 = A[0 + bs * 2];
    a_03 = A[0 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[0] = y_n_0;
    A += 1;
    y_n += 1;
    z_n += 1;
    x_t += 1;
  }
  if (alg_t == 1) {
    z_t[0] = y_t[0] + y_t_0;
    z_t[1] = y_t[1] + y_t_1;
    z_t[2] = y_t[2] + y_t_2;
    z_t[3] = y_t[3] + y_t_3;
  } else {
    z_t[0] = y_t[0] - y_t_0;
    z_t[1] = y_t[1] - y_t_1;
    z_t[2] = y_t[2] - y_t_2;
    z_t[3] = y_t[3] - y_t_3;
  }
}


x86 assembly (clang, -O0):
<kernel_dsymv_4_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x28,%rsp
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
cmpl   $0x0,-0x4(%rbp)
jg     1142 <kernel_dsymv_4_lib4+0x42>
jmp    1e98 <kernel_dsymv_4_lib4+0xd98>
movl   $0x4,-0x34(%rbp)
cmpl   $0x1,0x30(%rbp)
jne    118f <kernel_dsymv_4_lib4+0x8f>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
jmp    1222 <kernel_dsymv_4_lib4+0x122>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x18(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movl   $0x0,-0x38(%rbp)
cmpl   $0x1,0x28(%rbp)
jne    1609 <kernel_dsymv_4_lib4+0x509>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x30(%rbp)
mov    0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,0x10(%rbp)
mov    -0x38(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x38(%rbp)
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
jmp    160e <kernel_dsymv_4_lib4+0x50e>
mov    -0x38(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    1c09 <kernel_dsymv_4_lib4+0xb09>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x30(%rbp)
mov    0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,0x10(%rbp)
mov    -0x38(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x38(%rbp)
jmp    160e <kernel_dsymv_4_lib4+0x50e>
jmp    1c0e <kernel_dsymv_4_lib4+0xb0e>
mov    -0x38(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1dbd <kernel_dsymv_4_lib4+0xcbd>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x30(%rbp)
mov    0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,0x10(%rbp)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1c0e <kernel_dsymv_4_lib4+0xb0e>
cmpl   $0x1,0x38(%rbp)
jne    1e32 <kernel_dsymv_4_lib4+0xd32>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
addsd  -0xa0(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
addsd  -0xa8(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
jmp    1e98 <kernel_dsymv_4_lib4+0xd98>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
subsd  -0x90(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
subsd  -0x98(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
subsd  -0xa0(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
subsd  -0xa8(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
add    $0x28,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dsymv_4_lib4>:
test   %edi,%edi
jle    15b4 <kernel_dsymv_4_lib4+0x4b4>
mov    0x20(%rsp),%r10d
cmpl   $0x1,0x28(%rsp)
movsd  (%rcx),%xmm8
jne    1127 <kernel_dsymv_4_lib4+0x27>
movupd 0x8(%rcx),%xmm10
movsd  0x18(%rcx),%xmm9
jmp    114a <kernel_dsymv_4_lib4+0x4a>
movapd 0xed1(%rip),%xmm0
xorpd  %xmm0,%xmm8
movupd 0x8(%rcx),%xmm10
xorpd  %xmm0,%xmm10
movsd  0x18(%rcx),%xmm9
xorpd  %xmm0,%xmm9
mov    0x8(%rsp),%rax
movapd %xmm10,%xmm11
unpckhpd %xmm10,%xmm11
cmp    $0x1,%r10d
jne    1280 <kernel_dsymv_4_lib4+0x180>
movsd  (%rsi),%xmm2
mulsd  (%rax),%xmm2
movsd  (%r8),%xmm4
xorpd  %xmm0,%xmm0
addsd  %xmm0,%xmm2
movsd  %xmm4,(%r9)
movsd  0x8(%rsi),%xmm4
movapd %xmm4,%xmm5
mulsd  %xmm8,%xmm5
addsd  0x8(%r8),%xmm5
movhpd 0x28(%rsi),%xmm4
movsd  0x8(%rax),%xmm6
unpcklpd %xmm6,%xmm6
mulpd  %xmm4,%xmm6
movq   %xmm2,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm5,0x8(%r9)
movsd  0x10(%rax),%xmm4
movsd  0x10(%rsi),%xmm6
movsd  0x30(%rsi),%xmm7
movapd %xmm6,%xmm5
mulsd  %xmm8,%xmm5
addsd  0x10(%r8),%xmm5
unpcklpd %xmm7,%xmm6
mulsd  %xmm10,%xmm7
addsd  %xmm5,%xmm7
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
mulpd  %xmm6,%xmm5
addpd  %xmm2,%xmm5
mulsd  0x50(%rsi),%xmm4
addsd  %xmm0,%xmm4
movsd  %xmm7,0x10(%r9)
movsd  0x18(%rsi),%xmm6
movsd  0x38(%rsi),%xmm2
movsd  0x58(%rsi),%xmm0
movapd %xmm6,%xmm7
mulsd  %xmm8,%xmm7
addsd  0x18(%r8),%xmm7
unpcklpd %xmm2,%xmm6
mulsd  %xmm10,%xmm2
addsd  %xmm7,%xmm2
movapd %xmm0,%xmm7
mulsd  %xmm11,%xmm7
movhpd 0x78(%rsi),%xmm0
addsd  %xmm2,%xmm7
movsd  0x18(%rax),%xmm2
unpcklpd %xmm2,%xmm2
movq   %xmm4,%xmm4
mulpd  %xmm2,%xmm0
addpd  %xmm4,%xmm0
mulpd  %xmm6,%xmm2
addpd  %xmm5,%xmm2
movsd  %xmm7,0x18(%r9)
add    $0x20,%r8
add    $0x20,%r9
add    $0x20,%rax
lea    -0x4(,%rdx,4),%ecx
movslq %ecx,%rcx
lea    (%rsi,%rcx,8),%rsi
add    $0x20,%rsi
mov    $0x4,%ecx
jmp    128a <kernel_dsymv_4_lib4+0x18a>
xorpd  %xmm2,%xmm2
xor    %ecx,%ecx
xorpd  %xmm0,%xmm0
lea    -0x3(%rdi),%r10d
cmp    %r10d,%ecx
jge    1483 <kernel_dsymv_4_lib4+0x383>
shl    $0x2,%edx
movslq %edx,%rdx
shl    $0x3,%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rsi),%xmm6
movsd  0x20(%rsi),%xmm4
movsd  0x40(%rsi),%xmm5
movapd %xmm6,%xmm7
mulsd  %xmm8,%xmm7
addsd  (%r8),%xmm7
movsd  0x60(%rsi),%xmm1
unpcklpd %xmm4,%xmm6
mulsd  %xmm10,%xmm4
addsd  %xmm7,%xmm4
movapd %xmm5,%xmm7
mulsd  %xmm11,%xmm7
addsd  %xmm4,%xmm7
unpcklpd %xmm1,%xmm5
mulsd  %xmm9,%xmm1
addsd  %xmm7,%xmm1
movsd  (%rax),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm4,%xmm6
addpd  %xmm2,%xmm6
mulpd  %xmm5,%xmm4
addpd  %xmm0,%xmm4
movsd  %xmm1,(%r9)
movsd  0x8(%rsi),%xmm1
movsd  0x28(%rsi),%xmm2
movsd  0x48(%rsi),%xmm0
movsd  0x68(%rsi),%xmm5
movapd %xmm1,%xmm7
mulsd  %xmm8,%xmm7
addsd  0x8(%r8),%xmm7
unpcklpd %xmm2,%xmm1
mulsd  %xmm10,%xmm2
addsd  %xmm7,%xmm2
movapd %xmm0,%xmm7
mulsd  %xmm11,%xmm7
addsd  %xmm2,%xmm7
unpcklpd %xmm5,%xmm0
mulsd  %xmm9,%xmm5
addsd  %xmm7,%xmm5
movsd  0x8(%rax),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm2,%xmm0
addpd  %xmm4,%xmm0
mulpd  %xmm1,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm5,0x8(%r9)
movsd  0x10(%rsi),%xmm6
movsd  0x30(%rsi),%xmm1
movsd  0x50(%rsi),%xmm4
movapd %xmm6,%xmm5
mulsd  %xmm8,%xmm5
addsd  0x10(%r8),%xmm5
movsd  0x70(%rsi),%xmm3
unpcklpd %xmm1,%xmm6
mulsd  %xmm10,%xmm1
addsd  %xmm5,%xmm1
movapd %xmm4,%xmm5
mulsd  %xmm11,%xmm5
addsd  %xmm1,%xmm5
unpcklpd %xmm3,%xmm4
mulsd  %xmm9,%xmm3
addsd  %xmm5,%xmm3
movsd  0x10(%rax),%xmm7
unpcklpd %xmm7,%xmm7
mulpd  %xmm7,%xmm6
addpd  %xmm2,%xmm6
mulpd  %xmm4,%xmm7
addpd  %xmm0,%xmm7
movsd  %xmm3,0x10(%r9)
movsd  0x18(%rsi),%xmm1
movsd  0x38(%rsi),%xmm0
movsd  0x58(%rsi),%xmm4
movsd  0x78(%rsi),%xmm3
movapd %xmm1,%xmm2
mulsd  %xmm8,%xmm2
addsd  0x18(%r8),%xmm2
unpcklpd %xmm0,%xmm1
mulsd  %xmm10,%xmm0
addsd  %xmm2,%xmm0
movapd %xmm4,%xmm2
mulsd  %xmm11,%xmm2
addsd  %xmm0,%xmm2
unpcklpd %xmm3,%xmm4
mulsd  %xmm9,%xmm3
addsd  %xmm2,%xmm3
movsd  0x18(%rax),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm4
movapd %xmm4,%xmm0
addpd  %xmm7,%xmm0
mulpd  %xmm1,%xmm5
movapd %xmm5,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm3,0x18(%r9)
add    $0x20,%r8
add    $0x20,%r9
add    $0x20,%rax
add    $0x4,%ecx
add    %rdx,%rsi
cmp    %r10d,%ecx
jl     12b0 <kernel_dsymv_4_lib4+0x1b0>
addpd  %xmm6,%xmm5
addpd  %xmm7,%xmm4
movapd %xmm5,%xmm2
movapd %xmm4,%xmm0
mov    0x30(%rsp),%r10d
mov    0x10(%rsp),%rdx
cmp    %edi,%ecx
jge    1538 <kernel_dsymv_4_lib4+0x438>
sub    %ecx,%edi
xor    %ecx,%ecx
nopl   0x0(%rax)
movapd %xmm0,%xmm4
movapd %xmm2,%xmm6
movsd  (%rsi,%rcx,8),%xmm1
movsd  0x20(%rsi,%rcx,8),%xmm0
movsd  0x40(%rsi,%rcx,8),%xmm7
movsd  0x60(%rsi,%rcx,8),%xmm3
movapd %xmm1,%xmm2
mulsd  %xmm8,%xmm2
addsd  (%r8,%rcx,8),%xmm2
unpcklpd %xmm0,%xmm1
mulsd  %xmm10,%xmm0
addsd  %xmm2,%xmm0
movapd %xmm7,%xmm2
mulsd  %xmm11,%xmm2
addsd  %xmm0,%xmm2
unpcklpd %xmm3,%xmm7
mulsd  %xmm9,%xmm3
addsd  %xmm2,%xmm3
movsd  (%rax,%rcx,8),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm7
movapd %xmm7,%xmm0
addpd  %xmm4,%xmm0
mulpd  %xmm1,%xmm5
movapd %xmm5,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm3,(%r9,%rcx,8)
add    $0x1,%rcx
cmp    %ecx,%edi
jne    14a0 <kernel_dsymv_4_lib4+0x3a0>
addpd  %xmm6,%xmm5
addpd  %xmm4,%xmm7
movapd %xmm5,%xmm2
movapd %xmm7,%xmm0
mov    0x18(%rsp),%rax
movsd  (%rdx),%xmm1
cmp    $0x1,%r10d
jne    1576 <kernel_dsymv_4_lib4+0x476>
addsd  %xmm2,%xmm1
movsd  %xmm1,(%rax)
unpckhpd %xmm2,%xmm2
addsd  0x8(%rdx),%xmm2
movsd  %xmm2,0x8(%rax)
movsd  0x10(%rdx),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rax)
unpckhpd %xmm0,%xmm0
addsd  0x18(%rdx),%xmm0
jmp    15af <kernel_dsymv_4_lib4+0x4af>
subsd  %xmm2,%xmm1
movsd  %xmm1,(%rax)
movsd  0x8(%rdx),%xmm1
unpckhpd %xmm2,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%rax)
movsd  0x10(%rdx),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rax)
movsd  0x18(%rdx),%xmm1
unpckhpd %xmm0,%xmm0
subsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
movsd  %xmm0,0x18(%rax)
ret

LLVM IR (-O0):
define void @kernel_dsymv_4_lib4(i32 %0, double* %1, i32 %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, i32 %9, i32 %10, i32 %11) {
%13 = alloca i32
%14 = alloca double*
%15 = alloca i32
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca double
store i32 %0, i32* %13
store double* %1, double** %14
store i32 %2, i32* %15
store double* %3, double** %16
store double* %4, double** %17
store double* %5, double** %18
store double* %6, double** %19
store double* %7, double** %20
store double* %8, double** %21
store i32 %9, i32* %22
store i32 %10, i32* %23
store i32 %11, i32* %24
%41 = load i32, i32* %13
%42 = icmp sle i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %12
br label %591
44: ; preds = %12
store i32 4, i32* %25
%45 = load i32, i32* %23
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %60
47: ; preds = %44
%48 = load double*, double** %16
%49 = getelementptr inbounds double, double* %48, i64 0
%50 = load double, double* %49
store double %50, double* %31
%51 = load double*, double** %16
%52 = getelementptr inbounds double, double* %51, i64 1
%53 = load double, double* %52
store double %53, double* %32
%54 = load double*, double** %16
%55 = getelementptr inbounds double, double* %54, i64 2
%56 = load double, double* %55
store double %56, double* %33
%57 = load double*, double** %16
%58 = getelementptr inbounds double, double* %57, i64 3
%59 = load double, double* %58
store double %59, double* %34
br label %77
60: ; preds = %44
%61 = load double*, double** %16
%62 = getelementptr inbounds double, double* %61, i64 0
%63 = load double, double* %62
%64 = fneg double %63
store double %64, double* %31
%65 = load double*, double** %16
%66 = getelementptr inbounds double, double* %65, i64 1
%67 = load double, double* %66
%68 = fneg double %67
store double %68, double* %32
%69 = load double*, double** %16
%70 = getelementptr inbounds double, double* %69, i64 2
%71 = load double, double* %70
%72 = fneg double %71
store double %72, double* %33
%73 = load double*, double** %16
%74 = getelementptr inbounds double, double* %73, i64 3
%75 = load double, double* %74
%76 = fneg double %75
store double %76, double* %34
br label %77
77: ; preds = %60, %47
store double 0.000000e+00, double* %37
store double 0.000000e+00, double* %38
store double 0.000000e+00, double* %39
store double 0.000000e+00, double* %40
store i32 0, i32* %26
%78 = load i32, i32* %22
%79 = icmp eq i32 %78, 1
br i1 %79, label %80, label %227
80: ; preds = %77
%81 = load double*, double** %17
%82 = getelementptr inbounds double, double* %81, i64 0
%83 = load double, double* %82
store double %83, double* %35
%84 = load double*, double** %19
%85 = getelementptr inbounds double, double* %84, i64 0
%86 = load double, double* %85
store double %86, double* %36
%87 = load double*, double** %14
%88 = getelementptr inbounds double, double* %87, i64 0
%89 = load double, double* %88
store double %89, double* %27
%90 = load double, double* %27
%91 = load double, double* %36
%92 = load double, double* %37
%93 = call double @llvm.fmuladd.f64(double %90, double %91, double %92)
store double %93, double* %37
%94 = load double, double* %35
%95 = load double*, double** %18
%96 = getelementptr inbounds double, double* %95, i64 0
store double %94, double* %96
%97 = load double*, double** %17
%98 = getelementptr inbounds double, double* %97, i64 1
%99 = load double, double* %98
store double %99, double* %35
%100 = load double*, double** %19
%101 = getelementptr inbounds double, double* %100, i64 1
%102 = load double, double* %101
store double %102, double* %36
%103 = load double*, double** %14
%104 = getelementptr inbounds double, double* %103, i64 1
%105 = load double, double* %104
store double %105, double* %27
%106 = load double*, double** %14
%107 = getelementptr inbounds double, double* %106, i64 5
%108 = load double, double* %107
store double %108, double* %28
%109 = load double, double* %27
%110 = load double, double* %31
%111 = load double, double* %35
%112 = call double @llvm.fmuladd.f64(double %109, double %110, double %111)
store double %112, double* %35
%113 = load double, double* %27
%114 = load double, double* %36
%115 = load double, double* %37
%116 = call double @llvm.fmuladd.f64(double %113, double %114, double %115)
store double %116, double* %37
%117 = load double, double* %28
%118 = load double, double* %36
%119 = load double, double* %38
%120 = call double @llvm.fmuladd.f64(double %117, double %118, double %119)
store double %120, double* %38
%121 = load double, double* %35
%122 = load double*, double** %18
%123 = getelementptr inbounds double, double* %122, i64 1
store double %121, double* %123
%124 = load double*, double** %17
%125 = getelementptr inbounds double, double* %124, i64 2
%126 = load double, double* %125
store double %126, double* %35
%127 = load double*, double** %19
%128 = getelementptr inbounds double, double* %127, i64 2
%129 = load double, double* %128
store double %129, double* %36
%130 = load double*, double** %14
%131 = getelementptr inbounds double, double* %130, i64 2
%132 = load double, double* %131
store double %132, double* %27
%133 = load double*, double** %14
%134 = getelementptr inbounds double, double* %133, i64 6
%135 = load double, double* %134
store double %135, double* %28
%136 = load double*, double** %14
%137 = getelementptr inbounds double, double* %136, i64 10
%138 = load double, double* %137
store double %138, double* %29
%139 = load double, double* %27
%140 = load double, double* %31
%141 = load double, double* %35
%142 = call double @llvm.fmuladd.f64(double %139, double %140, double %141)
store double %142, double* %35
%143 = load double, double* %27
%144 = load double, double* %36
%145 = load double, double* %37
%146 = call double @llvm.fmuladd.f64(double %143, double %144, double %145)
store double %146, double* %37
%147 = load double, double* %28
%148 = load double, double* %32
%149 = load double, double* %35
%150 = call double @llvm.fmuladd.f64(double %147, double %148, double %149)
store double %150, double* %35
%151 = load double, double* %28
%152 = load double, double* %36
%153 = load double, double* %38
%154 = call double @llvm.fmuladd.f64(double %151, double %152, double %153)
store double %154, double* %38
%155 = load double, double* %29
%156 = load double, double* %36
%157 = load double, double* %39
%158 = call double @llvm.fmuladd.f64(double %155, double %156, double %157)
store double %158, double* %39
%159 = load double, double* %35
%160 = load double*, double** %18
%161 = getelementptr inbounds double, double* %160, i64 2
store double %159, double* %161
%162 = load double*, double** %17
%163 = getelementptr inbounds double, double* %162, i64 3
%164 = load double, double* %163
store double %164, double* %35
%165 = load double*, double** %19
%166 = getelementptr inbounds double, double* %165, i64 3
%167 = load double, double* %166
store double %167, double* %36
%168 = load double*, double** %14
%169 = getelementptr inbounds double, double* %168, i64 3
%170 = load double, double* %169
store double %170, double* %27
%171 = load double*, double** %14
%172 = getelementptr inbounds double, double* %171, i64 7
%173 = load double, double* %172
store double %173, double* %28
%174 = load double*, double** %14
%175 = getelementptr inbounds double, double* %174, i64 11
%176 = load double, double* %175
store double %176, double* %29
%177 = load double*, double** %14
%178 = getelementptr inbounds double, double* %177, i64 15
%179 = load double, double* %178
store double %179, double* %30
%180 = load double, double* %27
%181 = load double, double* %31
%182 = load double, double* %35
%183 = call double @llvm.fmuladd.f64(double %180, double %181, double %182)
store double %183, double* %35
%184 = load double, double* %27
%185 = load double, double* %36
%186 = load double, double* %37
%187 = call double @llvm.fmuladd.f64(double %184, double %185, double %186)
store double %187, double* %37
%188 = load double, double* %28
%189 = load double, double* %32
%190 = load double, double* %35
%191 = call double @llvm.fmuladd.f64(double %188, double %189, double %190)
store double %191, double* %35
%192 = load double, double* %28
%193 = load double, double* %36
%194 = load double, double* %38
%195 = call double @llvm.fmuladd.f64(double %192, double %193, double %194)
store double %195, double* %38
%196 = load double, double* %29
%197 = load double, double* %33
%198 = load double, double* %35
%199 = call double @llvm.fmuladd.f64(double %196, double %197, double %198)
store double %199, double* %35
%200 = load double, double* %29
%201 = load double, double* %36
%202 = load double, double* %39
%203 = call double @llvm.fmuladd.f64(double %200, double %201, double %202)
store double %203, double* %39
%204 = load double, double* %30
%205 = load double, double* %36
%206 = load double, double* %40
%207 = call double @llvm.fmuladd.f64(double %204, double %205, double %206)
store double %207, double* %40
%208 = load double, double* %35
%209 = load double*, double** %18
%210 = getelementptr inbounds double, double* %209, i64 3
store double %208, double* %210
%211 = load double*, double** %14
%212 = getelementptr inbounds double, double* %211, i64 4
store double* %212, double** %14
%213 = load double*, double** %17
%214 = getelementptr inbounds double, double* %213, i64 4
store double* %214, double** %17
%215 = load double*, double** %18
%216 = getelementptr inbounds double, double* %215, i64 4
store double* %216, double** %18
%217 = load double*, double** %19
%218 = getelementptr inbounds double, double* %217, i64 4
store double* %218, double** %19
%219 = load i32, i32* %26
%220 = add nsw i32 %219, 4
store i32 %220, i32* %26
%221 = load i32, i32* %15
%222 = sub nsw i32 %221, 1
%223 = mul nsw i32 %222, 4
%224 = load double*, double** %14
%225 = sext i32 %223 to i64
%226 = getelementptr inbounds double, double* %224, i64 %225
store double* %226, double** %14
br label %227
227: ; preds = %80, %77
br label %228
228: ; preds = %457, %227
%229 = load i32, i32* %26
%230 = load i32, i32* %13
%231 = sub nsw i32 %230, 3
%232 = icmp slt i32 %229, %231
br i1 %232, label %233, label %460
233: ; preds = %228
%234 = load double*, double** %17
%235 = getelementptr inbounds double, double* %234, i64 0
%236 = load double, double* %235
store double %236, double* %35
%237 = load double*, double** %19
%238 = getelementptr inbounds double, double* %237, i64 0
%239 = load double, double* %238
store double %239, double* %36
%240 = load double*, double** %14
%241 = getelementptr inbounds double, double* %240, i64 0
%242 = load double, double* %241
store double %242, double* %27
%243 = load double*, double** %14
%244 = getelementptr inbounds double, double* %243, i64 4
%245 = load double, double* %244
store double %245, double* %28
%246 = load double*, double** %14
%247 = getelementptr inbounds double, double* %246, i64 8
%248 = load double, double* %247
store double %248, double* %29
%249 = load double*, double** %14
%250 = getelementptr inbounds double, double* %249, i64 12
%251 = load double, double* %250
store double %251, double* %30
%252 = load double, double* %27
%253 = load double, double* %31
%254 = load double, double* %35
%255 = call double @llvm.fmuladd.f64(double %252, double %253, double %254)
store double %255, double* %35
%256 = load double, double* %27
%257 = load double, double* %36
%258 = load double, double* %37
%259 = call double @llvm.fmuladd.f64(double %256, double %257, double %258)
store double %259, double* %37
%260 = load double, double* %28
%261 = load double, double* %32
%262 = load double, double* %35
%263 = call double @llvm.fmuladd.f64(double %260, double %261, double %262)
store double %263, double* %35
%264 = load double, double* %28
%265 = load double, double* %36
%266 = load double, double* %38
%267 = call double @llvm.fmuladd.f64(double %264, double %265, double %266)
store double %267, double* %38
%268 = load double, double* %29
%269 = load double, double* %33
%270 = load double, double* %35
%271 = call double @llvm.fmuladd.f64(double %268, double %269, double %270)
store double %271, double* %35
%272 = load double, double* %29
%273 = load double, double* %36
%274 = load double, double* %39
%275 = call double @llvm.fmuladd.f64(double %272, double %273, double %274)
store double %275, double* %39
%276 = load double, double* %30
%277 = load double, double* %34
%278 = load double, double* %35
%279 = call double @llvm.fmuladd.f64(double %276, double %277, double %278)
store double %279, double* %35
%280 = load double, double* %30
%281 = load double, double* %36
%282 = load double, double* %40
%283 = call double @llvm.fmuladd.f64(double %280, double %281, double %282)
store double %283, double* %40
%284 = load double, double* %35
%285 = load double*, double** %18
%286 = getelementptr inbounds double, double* %285, i64 0
store double %284, double* %286
%287 = load double*, double** %17
%288 = getelementptr inbounds double, double* %287, i64 1
%289 = load double, double* %288
store double %289, double* %35
%290 = load double*, double** %19
%291 = getelementptr inbounds double, double* %290, i64 1
%292 = load double, double* %291
store double %292, double* %36
%293 = load double*, double** %14
%294 = getelementptr inbounds double, double* %293, i64 1
%295 = load double, double* %294
store double %295, double* %27
%296 = load double*, double** %14
%297 = getelementptr inbounds double, double* %296, i64 5
%298 = load double, double* %297
store double %298, double* %28
%299 = load double*, double** %14
%300 = getelementptr inbounds double, double* %299, i64 9
%301 = load double, double* %300
store double %301, double* %29
%302 = load double*, double** %14
%303 = getelementptr inbounds double, double* %302, i64 13
%304 = load double, double* %303
store double %304, double* %30
%305 = load double, double* %27
%306 = load double, double* %31
%307 = load double, double* %35
%308 = call double @llvm.fmuladd.f64(double %305, double %306, double %307)
store double %308, double* %35
%309 = load double, double* %27
%310 = load double, double* %36
%311 = load double, double* %37
%312 = call double @llvm.fmuladd.f64(double %309, double %310, double %311)
store double %312, double* %37
%313 = load double, double* %28
%314 = load double, double* %32
%315 = load double, double* %35
%316 = call double @llvm.fmuladd.f64(double %313, double %314, double %315)
store double %316, double* %35
%317 = load double, double* %28
%318 = load double, double* %36
%319 = load double, double* %38
%320 = call double @llvm.fmuladd.f64(double %317, double %318, double %319)
store double %320, double* %38
%321 = load double, double* %29
%322 = load double, double* %33
%323 = load double, double* %35
%324 = call double @llvm.fmuladd.f64(double %321, double %322, double %323)
store double %324, double* %35
%325 = load double, double* %29
%326 = load double, double* %36
%327 = load double, double* %39
%328 = call double @llvm.fmuladd.f64(double %325, double %326, double %327)
store double %328, double* %39
%329 = load double, double* %30
%330 = load double, double* %34
%331 = load double, double* %35
%332 = call double @llvm.fmuladd.f64(double %329, double %330, double %331)
store double %332, double* %35
%333 = load double, double* %30
%334 = load double, double* %36
%335 = load double, double* %40
%336 = call double @llvm.fmuladd.f64(double %333, double %334, double %335)
store double %336, double* %40
%337 = load double, double* %35
%338 = load double*, double** %18
%339 = getelementptr inbounds double, double* %338, i64 1
store double %337, double* %339
%340 = load double*, double** %17
%341 = getelementptr inbounds double, double* %340, i64 2
%342 = load double, double* %341
store double %342, double* %35
%343 = load double*, double** %19
%344 = getelementptr inbounds double, double* %343, i64 2
%345 = load double, double* %344
store double %345, double* %36
%346 = load double*, double** %14
%347 = getelementptr inbounds double, double* %346, i64 2
%348 = load double, double* %347
store double %348, double* %27
%349 = load double*, double** %14
%350 = getelementptr inbounds double, double* %349, i64 6
%351 = load double, double* %350
store double %351, double* %28
%352 = load double*, double** %14
%353 = getelementptr inbounds double, double* %352, i64 10
%354 = load double, double* %353
store double %354, double* %29
%355 = load double*, double** %14
%356 = getelementptr inbounds double, double* %355, i64 14
%357 = load double, double* %356
store double %357, double* %30
%358 = load double, double* %27
%359 = load double, double* %31
%360 = load double, double* %35
%361 = call double @llvm.fmuladd.f64(double %358, double %359, double %360)
store double %361, double* %35
%362 = load double, double* %27
%363 = load double, double* %36
%364 = load double, double* %37
%365 = call double @llvm.fmuladd.f64(double %362, double %363, double %364)
store double %365, double* %37
%366 = load double, double* %28
%367 = load double, double* %32
%368 = load double, double* %35
%369 = call double @llvm.fmuladd.f64(double %366, double %367, double %368)
store double %369, double* %35
%370 = load double, double* %28
%371 = load double, double* %36
%372 = load double, double* %38
%373 = call double @llvm.fmuladd.f64(double %370, double %371, double %372)
store double %373, double* %38
%374 = load double, double* %29
%375 = load double, double* %33
%376 = load double, double* %35
%377 = call double @llvm.fmuladd.f64(double %374, double %375, double %376)
store double %377, double* %35
%378 = load double, double* %29
%379 = load double, double* %36
%380 = load double, double* %39
%381 = call double @llvm.fmuladd.f64(double %378, double %379, double %380)
store double %381, double* %39
%382 = load double, double* %30
%383 = load double, double* %34
%384 = load double, double* %35
%385 = call double @llvm.fmuladd.f64(double %382, double %383, double %384)
store double %385, double* %35
%386 = load double, double* %30
%387 = load double, double* %36
%388 = load double, double* %40
%389 = call double @llvm.fmuladd.f64(double %386, double %387, double %388)
store double %389, double* %40
%390 = load double, double* %35
%391 = load double*, double** %18
%392 = getelementptr inbounds double, double* %391, i64 2
store double %390, double* %392
%393 = load double*, double** %17
%394 = getelementptr inbounds double, double* %393, i64 3
%395 = load double, double* %394
store double %395, double* %35
%396 = load double*, double** %19
%397 = getelementptr inbounds double, double* %396, i64 3
%398 = load double, double* %397
store double %398, double* %36
%399 = load double*, double** %14
%400 = getelementptr inbounds double, double* %399, i64 3
%401 = load double, double* %400
store double %401, double* %27
%402 = load double*, double** %14
%403 = getelementptr inbounds double, double* %402, i64 7
%404 = load double, double* %403
store double %404, double* %28
%405 = load double*, double** %14
%406 = getelementptr inbounds double, double* %405, i64 11
%407 = load double, double* %406
store double %407, double* %29
%408 = load double*, double** %14
%409 = getelementptr inbounds double, double* %408, i64 15
%410 = load double, double* %409
store double %410, double* %30
%411 = load double, double* %27
%412 = load double, double* %31
%413 = load double, double* %35
%414 = call double @llvm.fmuladd.f64(double %411, double %412, double %413)
store double %414, double* %35
%415 = load double, double* %27
%416 = load double, double* %36
%417 = load double, double* %37
%418 = call double @llvm.fmuladd.f64(double %415, double %416, double %417)
store double %418, double* %37
%419 = load double, double* %28
%420 = load double, double* %32
%421 = load double, double* %35
%422 = call double @llvm.fmuladd.f64(double %419, double %420, double %421)
store double %422, double* %35
%423 = load double, double* %28
%424 = load double, double* %36
%425 = load double, double* %38
%426 = call double @llvm.fmuladd.f64(double %423, double %424, double %425)
store double %426, double* %38
%427 = load double, double* %29
%428 = load double, double* %33
%429 = load double, double* %35
%430 = call double @llvm.fmuladd.f64(double %427, double %428, double %429)
store double %430, double* %35
%431 = load double, double* %29
%432 = load double, double* %36
%433 = load double, double* %39
%434 = call double @llvm.fmuladd.f64(double %431, double %432, double %433)
store double %434, double* %39
%435 = load double, double* %30
%436 = load double, double* %34
%437 = load double, double* %35
%438 = call double @llvm.fmuladd.f64(double %435, double %436, double %437)
store double %438, double* %35
%439 = load double, double* %30
%440 = load double, double* %36
%441 = load double, double* %40
%442 = call double @llvm.fmuladd.f64(double %439, double %440, double %441)
store double %442, double* %40
%443 = load double, double* %35
%444 = load double*, double** %18
%445 = getelementptr inbounds double, double* %444, i64 3
store double %443, double* %445
%446 = load i32, i32* %15
%447 = mul nsw i32 %446, 4
%448 = load double*, double** %14
%449 = sext i32 %447 to i64
%450 = getelementptr inbounds double, double* %448, i64 %449
store double* %450, double** %14
%451 = load double*, double** %17
%452 = getelementptr inbounds double, double* %451, i64 4
store double* %452, double** %17
%453 = load double*, double** %18
%454 = getelementptr inbounds double, double* %453, i64 4
store double* %454, double** %18
%455 = load double*, double** %19
%456 = getelementptr inbounds double, double* %455, i64 4
store double* %456, double** %19
br label %457
457: ; preds = %233
%458 = load i32, i32* %26
%459 = add nsw i32 %458, 4
store i32 %459, i32* %26
br label %228
460: ; preds = %228
br label %461
461: ; preds = %527, %460
%462 = load i32, i32* %26
%463 = load i32, i32* %13
%464 = icmp slt i32 %462, %463
br i1 %464, label %465, label %530
465: ; preds = %461
%466 = load double*, double** %17
%467 = getelementptr inbounds double, double* %466, i64 0
%468 = load double, double* %467
store double %468, double* %35
%469 = load double*, double** %19
%470 = getelementptr inbounds double, double* %469, i64 0
%471 = load double, double* %470
store double %471, double* %36
%472 = load double*, double** %14
%473 = getelementptr inbounds double, double* %472, i64 0
%474 = load double, double* %473
store double %474, double* %27
%475 = load double*, double** %14
%476 = getelementptr inbounds double, double* %475, i64 4
%477 = load double, double* %476
store double %477, double* %28
%478 = load double*, double** %14
%479 = getelementptr inbounds double, double* %478, i64 8
%480 = load double, double* %479
store double %480, double* %29
%481 = load double*, double** %14
%482 = getelementptr inbounds double, double* %481, i64 12
%483 = load double, double* %482
store double %483, double* %30
%484 = load double, double* %27
%485 = load double, double* %31
%486 = load double, double* %35
%487 = call double @llvm.fmuladd.f64(double %484, double %485, double %486)
store double %487, double* %35
%488 = load double, double* %27
%489 = load double, double* %36
%490 = load double, double* %37
%491 = call double @llvm.fmuladd.f64(double %488, double %489, double %490)
store double %491, double* %37
%492 = load double, double* %28
%493 = load double, double* %32
%494 = load double, double* %35
%495 = call double @llvm.fmuladd.f64(double %492, double %493, double %494)
store double %495, double* %35
%496 = load double, double* %28
%497 = load double, double* %36
%498 = load double, double* %38
%499 = call double @llvm.fmuladd.f64(double %496, double %497, double %498)
store double %499, double* %38
%500 = load double, double* %29
%501 = load double, double* %33
%502 = load double, double* %35
%503 = call double @llvm.fmuladd.f64(double %500, double %501, double %502)
store double %503, double* %35
%504 = load double, double* %29
%505 = load double, double* %36
%506 = load double, double* %39
%507 = call double @llvm.fmuladd.f64(double %504, double %505, double %506)
store double %507, double* %39
%508 = load double, double* %30
%509 = load double, double* %34
%510 = load double, double* %35
%511 = call double @llvm.fmuladd.f64(double %508, double %509, double %510)
store double %511, double* %35
%512 = load double, double* %30
%513 = load double, double* %36
%514 = load double, double* %40
%515 = call double @llvm.fmuladd.f64(double %512, double %513, double %514)
store double %515, double* %40
%516 = load double, double* %35
%517 = load double*, double** %18
%518 = getelementptr inbounds double, double* %517, i64 0
store double %516, double* %518
%519 = load double*, double** %14
%520 = getelementptr inbounds double, double* %519, i64 1
store double* %520, double** %14
%521 = load double*, double** %17
%522 = getelementptr inbounds double, double* %521, i64 1
store double* %522, double** %17
%523 = load double*, double** %18
%524 = getelementptr inbounds double, double* %523, i64 1
store double* %524, double** %18
%525 = load double*, double** %19
%526 = getelementptr inbounds double, double* %525, i64 1
store double* %526, double** %19
br label %527
527: ; preds = %465
%528 = load i32, i32* %26
%529 = add nsw i32 %528, 1
store i32 %529, i32* %26
br label %461
530: ; preds = %461
%531 = load i32, i32* %24
%532 = icmp eq i32 %531, 1
br i1 %532, label %533, label %562
533: ; preds = %530
%534 = load double*, double** %20
%535 = getelementptr inbounds double, double* %534, i64 0
%536 = load double, double* %535
%537 = load double, double* %37
%538 = fadd double %536, %537
%539 = load double*, double** %21
%540 = getelementptr inbounds double, double* %539, i64 0
store double %538, double* %540
%541 = load double*, double** %20
%542 = getelementptr inbounds double, double* %541, i64 1
%543 = load double, double* %542
%544 = load double, double* %38
%545 = fadd double %543, %544
%546 = load double*, double** %21
%547 = getelementptr inbounds double, double* %546, i64 1
store double %545, double* %547
%548 = load double*, double** %20
%549 = getelementptr inbounds double, double* %548, i64 2
%550 = load double, double* %549
%551 = load double, double* %39
%552 = fadd double %550, %551
%553 = load double*, double** %21
%554 = getelementptr inbounds double, double* %553, i64 2
store double %552, double* %554
%555 = load double*, double** %20
%556 = getelementptr inbounds double, double* %555, i64 3
%557 = load double, double* %556
%558 = load double, double* %40
%559 = fadd double %557, %558
%560 = load double*, double** %21
%561 = getelementptr inbounds double, double* %560, i64 3
store double %559, double* %561
br label %591
562: ; preds = %530
%563 = load double*, double** %20
%564 = getelementptr inbounds double, double* %563, i64 0
%565 = load double, double* %564
%566 = load double, double* %37
%567 = fsub double %565, %566
%568 = load double*, double** %21
%569 = getelementptr inbounds double, double* %568, i64 0
store double %567, double* %569
%570 = load double*, double** %20
%571 = getelementptr inbounds double, double* %570, i64 1
%572 = load double, double* %571
%573 = load double, double* %38
%574 = fsub double %572, %573
%575 = load double*, double** %21
%576 = getelementptr inbounds double, double* %575, i64 1
store double %574, double* %576
%577 = load double*, double** %20
%578 = getelementptr inbounds double, double* %577, i64 2
%579 = load double, double* %578
%580 = load double, double* %39
%581 = fsub double %579, %580
%582 = load double*, double** %21
%583 = getelementptr inbounds double, double* %582, i64 2
store double %581, double* %583
%584 = load double*, double** %20
%585 = getelementptr inbounds double, double* %584, i64 3
%586 = load double, double* %585
%587 = load double, double* %40
%588 = fsub double %586, %587
%589 = load double*, double** %21
%590 = getelementptr inbounds double, double* %589, i64 3
store double %588, double* %590
br label %591
591: ; preds = %43, %562, %533
ret void
}

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