void kernel_dtrmm_nt_l_4x2_lib4(int kmax, double *A, double *B, double *C) {
  const int lda = 4;
  const int ldc = 4;
  int k;
  double a_0, a_1, a_2, a_3, b_0, b_1, c_00 = 0, c_01 = 0, c_10 = 0, c_11 = 0,
                                       c_20 = 0, c_21 = 0, c_30 = 0, c_31 = 0;
  for (k = 0; k < kmax - 4; k += 4) {
    a_0 = A[0 + lda * 0];
    a_1 = A[1 + lda * 0];
    a_2 = A[2 + lda * 0];
    a_3 = A[3 + lda * 0];
    b_0 = B[0 + lda * 0];
    b_1 = B[1 + lda * 0];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    a_0 = A[0 + lda * 1];
    a_1 = A[1 + lda * 1];
    a_2 = A[2 + lda * 1];
    a_3 = A[3 + lda * 1];
    b_0 = B[0 + lda * 1];
    b_1 = B[1 + lda * 1];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    a_0 = A[0 + lda * 2];
    a_1 = A[1 + lda * 2];
    a_2 = A[2 + lda * 2];
    a_3 = A[3 + lda * 2];
    b_0 = B[0 + lda * 2];
    b_1 = B[1 + lda * 2];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    a_0 = A[0 + lda * 3];
    a_1 = A[1 + lda * 3];
    a_2 = A[2 + lda * 3];
    a_3 = A[3 + lda * 3];
    b_0 = B[0 + lda * 3];
    b_1 = B[1 + lda * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    A += 16;
    B += 16;
  }
  a_0 = A[0 + lda * 0];
  a_1 = A[1 + lda * 0];
  a_2 = A[2 + lda * 0];
  a_3 = A[3 + lda * 0];
  b_0 = B[0 + lda * 0];
  b_1 = B[1 + lda * 0];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  c_20 += a_2 * b_0;
  c_30 += a_3 * b_0;
  C[0 + ldc * 0] = c_00;
  C[1 + ldc * 0] = c_10;
  C[2 + ldc * 0] = c_20;
  C[3 + ldc * 0] = c_30;
  c_01 += a_0 * b_1;
  c_11 += a_1 * b_1;
  c_21 += a_2 * b_1;
  c_31 += a_3 * b_1;
  a_0 = A[0 + lda * 1];
  a_1 = A[1 + lda * 1];
  a_2 = A[2 + lda * 1];
  a_3 = A[3 + lda * 1];
  b_1 = B[1 + lda * 1];
  c_01 += a_0 * b_1;
  c_11 += a_1 * b_1;
  c_21 += a_2 * b_1;
  c_31 += a_3 * b_1;
  C[0 + ldc * 1] = c_01;
  C[1 + ldc * 1] = c_11;
  C[2 + ldc * 1] = c_21;
  C[3 + ldc * 1] = c_31;
}


x86 assembly (clang, -O0):
<kernel_dtrmm_nt_l_4x2_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x4,-0x24(%rbp)
movl   $0x4,-0x28(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x4,%ecx
cmp    %ecx,%eax
jge    16e1 <kernel_dtrmm_nt_l_4x2_lib4+0x5e1>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x2c(%rbp)
jmp    1178 <kernel_dtrmm_nt_l_4x2_lib4+0x78>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x88(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x38(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dtrmm_nt_l_4x2_lib4>:
xorpd  %xmm8,%xmm8
cmp    $0x5,%edi
jl     127b <kernel_dtrmm_nt_l_4x2_lib4+0x17b>
add    $0xfffffffc,%edi
xorpd  %xmm10,%xmm10
xor    %eax,%eax
xorpd  %xmm11,%xmm11
xorpd  %xmm7,%xmm7
xorpd  %xmm2,%xmm2
cs nopw 0x0(%rax,%rax,1)
nop
movupd (%rsi),%xmm3
movupd 0x10(%rsi),%xmm9
movupd 0x20(%rsi),%xmm12
movupd 0x30(%rsi),%xmm8
movsd  (%rdx),%xmm5
movsd  0x8(%rdx),%xmm6
movsd  0x20(%rdx),%xmm0
movsd  0x28(%rdx),%xmm1
unpcklpd %xmm5,%xmm5
movapd %xmm3,%xmm4
mulpd  %xmm5,%xmm4
addpd  %xmm10,%xmm4
mulpd  %xmm9,%xmm5
addpd  %xmm11,%xmm5
unpcklpd %xmm6,%xmm6
mulpd  %xmm6,%xmm3
addpd  %xmm7,%xmm3
mulpd  %xmm9,%xmm6
addpd  %xmm2,%xmm6
unpcklpd %xmm0,%xmm0
movapd %xmm12,%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm4,%xmm2
mulpd  %xmm8,%xmm0
addpd  %xmm5,%xmm0
unpcklpd %xmm1,%xmm1
mulpd  %xmm1,%xmm12
addpd  %xmm3,%xmm12
mulpd  %xmm8,%xmm1
addpd  %xmm6,%xmm1
movupd 0x40(%rsi),%xmm5
movupd 0x50(%rsi),%xmm3
movsd  0x40(%rdx),%xmm4
unpcklpd %xmm4,%xmm4
movapd %xmm5,%xmm6
mulpd  %xmm4,%xmm6
addpd  %xmm2,%xmm6
mulpd  %xmm3,%xmm4
addpd  %xmm0,%xmm4
movsd  0x48(%rdx),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  %xmm0,%xmm5
addpd  %xmm12,%xmm5
mulpd  %xmm3,%xmm0
addpd  %xmm1,%xmm0
movupd 0x60(%rsi),%xmm9
movupd 0x70(%rsi),%xmm2
movsd  0x60(%rdx),%xmm1
unpcklpd %xmm1,%xmm1
movapd %xmm9,%xmm8
mulpd  %xmm1,%xmm8
movapd %xmm8,%xmm10
addpd  %xmm6,%xmm10
mulpd  %xmm2,%xmm1
movapd %xmm1,%xmm11
addpd  %xmm4,%xmm11
movsd  0x68(%rdx),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm3,%xmm9
movapd %xmm9,%xmm7
addpd  %xmm5,%xmm7
mulpd  %xmm2,%xmm3
movapd %xmm3,%xmm2
addpd  %xmm0,%xmm2
sub    $0xffffffffffffff80,%rsi
sub    $0xffffffffffffff80,%rdx
add    $0x4,%eax
cmp    %edi,%eax
jl     1130 <kernel_dtrmm_nt_l_4x2_lib4+0x30>
addpd  %xmm0,%xmm3
addpd  %xmm5,%xmm9
addpd  %xmm4,%xmm1
addpd  %xmm6,%xmm8
jmp    1288 <kernel_dtrmm_nt_l_4x2_lib4+0x188>
xorpd  %xmm1,%xmm1
xorpd  %xmm9,%xmm9
xorpd  %xmm3,%xmm3
movupd (%rsi),%xmm2
movupd 0x10(%rsi),%xmm4
movsd  (%rdx),%xmm5
movsd  0x8(%rdx),%xmm0
unpcklpd %xmm5,%xmm5
movapd %xmm2,%xmm6
mulpd  %xmm5,%xmm6
addpd  %xmm8,%xmm6
mulpd  %xmm4,%xmm5
addpd  %xmm1,%xmm5
movupd %xmm6,(%rcx)
movupd %xmm5,0x10(%rcx)
unpcklpd %xmm0,%xmm0
mulpd  %xmm0,%xmm2
addpd  %xmm9,%xmm2
mulpd  %xmm4,%xmm0
addpd  %xmm3,%xmm0
movupd 0x20(%rsi),%xmm1
movupd 0x30(%rsi),%xmm3
movsd  0x28(%rdx),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm4,%xmm1
addpd  %xmm2,%xmm1
mulpd  %xmm3,%xmm4
addpd  %xmm0,%xmm4
movupd %xmm1,0x20(%rcx)
movupd %xmm4,0x30(%rcx)
ret

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

LLVM IR (-O2):
define void @kernel_dtrmm_nt_l_4x2_lib4(i32 %0, double* %1, double* nocapture %2, double* nocapture writeonly %3) {
%5 = add nsw i32 %0, -4
%6 = icmp sgt i32 %0, 4
br i1 %6, label %7, label %106
7: ; preds = %4, %7
%8 = phi i32 [ %87, %7 ], [ 0, %4 ]
%9 = phi double* [ %85, %7 ], [ %1, %4 ]
%10 = phi double* [ %86, %7 ], [ %2, %4 ]
%11 = phi <2 x double> [ %79, %7 ], [ zeroinitializer, %4 ]
%12 = phi <2 x double> [ %80, %7 ], [ zeroinitializer, %4 ]
%13 = phi <2 x double> [ %83, %7 ], [ zeroinitializer, %4 ]
%14 = phi <2 x double> [ %84, %7 ], [ zeroinitializer, %4 ]
%15 = bitcast double* %9 to <2 x double>*
%16 = load <2 x double>, <2 x double>* %15
%17 = getelementptr inbounds double, double* %9, i64 2
%18 = bitcast double* %17 to <2 x double>*
%19 = load <2 x double>, <2 x double>* %18
%20 = load double, double* %10
%21 = getelementptr inbounds double, double* %10, i64 1
%22 = load double, double* %21
%23 = insertelement <2 x double> poison, double %20, i64 0
%24 = shufflevector <2 x double> %23, <2 x double> poison, <2 x i32> zeroinitializer
%25 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %24, <2 x double> %11)
%26 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %19, <2 x double> %24, <2 x double> %12)
%27 = insertelement <2 x double> poison, double %22, i64 0
%28 = shufflevector <2 x double> %27, <2 x double> poison, <2 x i32> zeroinitializer
%29 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %28, <2 x double> %13)
%30 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %19, <2 x double> %28, <2 x double> %14)
%31 = getelementptr inbounds double, double* %9, i64 4
%32 = bitcast double* %31 to <2 x double>*
%33 = load <2 x double>, <2 x double>* %32
%34 = getelementptr inbounds double, double* %9, i64 6
%35 = bitcast double* %34 to <2 x double>*
%36 = load <2 x double>, <2 x double>* %35
%37 = getelementptr inbounds double, double* %10, i64 4
%38 = load double, double* %37
%39 = getelementptr inbounds double, double* %10, i64 5
%40 = load double, double* %39
%41 = insertelement <2 x double> poison, double %38, i64 0
%42 = shufflevector <2 x double> %41, <2 x double> poison, <2 x i32> zeroinitializer
%43 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %33, <2 x double> %42, <2 x double> %25)
%44 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %36, <2 x double> %42, <2 x double> %26)
%45 = insertelement <2 x double> poison, double %40, i64 0
%46 = shufflevector <2 x double> %45, <2 x double> poison, <2 x i32> zeroinitializer
%47 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %33, <2 x double> %46, <2 x double> %29)
%48 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %36, <2 x double> %46, <2 x double> %30)
%49 = getelementptr inbounds double, double* %9, i64 8
%50 = bitcast double* %49 to <2 x double>*
%51 = load <2 x double>, <2 x double>* %50
%52 = getelementptr inbounds double, double* %9, i64 10
%53 = bitcast double* %52 to <2 x double>*
%54 = load <2 x double>, <2 x double>* %53
%55 = getelementptr inbounds double, double* %10, i64 8
%56 = load double, double* %55
%57 = getelementptr inbounds double, double* %10, i64 9
%58 = load double, double* %57
%59 = insertelement <2 x double> poison, double %56, i64 0
%60 = shufflevector <2 x double> %59, <2 x double> poison, <2 x i32> zeroinitializer
%61 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %60, <2 x double> %43)
%62 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %54, <2 x double> %60, <2 x double> %44)
%63 = insertelement <2 x double> poison, double %58, i64 0
%64 = shufflevector <2 x double> %63, <2 x double> poison, <2 x i32> zeroinitializer
%65 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %64, <2 x double> %47)
%66 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %54, <2 x double> %64, <2 x double> %48)
%67 = getelementptr inbounds double, double* %9, i64 12
%68 = bitcast double* %67 to <2 x double>*
%69 = load <2 x double>, <2 x double>* %68
%70 = getelementptr inbounds double, double* %9, i64 14
%71 = bitcast double* %70 to <2 x double>*
%72 = load <2 x double>, <2 x double>* %71
%73 = getelementptr inbounds double, double* %10, i64 12
%74 = load double, double* %73
%75 = getelementptr inbounds double, double* %10, i64 13
%76 = load double, double* %75
%77 = insertelement <2 x double> poison, double %74, i64 0
%78 = shufflevector <2 x double> %77, <2 x double> poison, <2 x i32> zeroinitializer
%79 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %69, <2 x double> %78, <2 x double> %61)
%80 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %72, <2 x double> %78, <2 x double> %62)
%81 = insertelement <2 x double> poison, double %76, i64 0
%82 = shufflevector <2 x double> %81, <2 x double> poison, <2 x i32> zeroinitializer
%83 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %69, <2 x double> %82, <2 x double> %65)
%84 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %72, <2 x double> %82, <2 x double> %66)
%85 = getelementptr inbounds double, double* %9, i64 16
%86 = getelementptr inbounds double, double* %10, i64 16
%87 = add nuw nsw i32 %8, 4
%88 = icmp slt i32 %87, %5
br i1 %88, label %7, label %89
89: ; preds = %7
%90 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %19, <2 x double> %28, <2 x double> %14)
%91 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %36, <2 x double> %46, <2 x double> %90)
%92 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %54, <2 x double> %64, <2 x double> %91)
%93 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %72, <2 x double> %82, <2 x double> %92)
%94 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %28, <2 x double> %13)
%95 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %33, <2 x double> %46, <2 x double> %94)
%96 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %64, <2 x double> %95)
%97 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %69, <2 x double> %82, <2 x double> %96)
%98 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %19, <2 x double> %24, <2 x double> %12)
%99 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %36, <2 x double> %42, <2 x double> %98)
%100 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %54, <2 x double> %60, <2 x double> %99)
%101 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %72, <2 x double> %78, <2 x double> %100)
%102 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %24, <2 x double> %11)
%103 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %33, <2 x double> %42, <2 x double> %102)
%104 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %60, <2 x double> %103)
%105 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %69, <2 x double> %78, <2 x double> %104)
br label %106
106: ; preds = %89, %4
%107 = phi double* [ %2, %4 ], [ %86, %89 ]
%108 = phi double* [ %1, %4 ], [ %85, %89 ]
%109 = phi <2 x double> [ zeroinitializer, %4 ], [ %105, %89 ]
%110 = phi <2 x double> [ zeroinitializer, %4 ], [ %101, %89 ]
%111 = phi <2 x double> [ zeroinitializer, %4 ], [ %97, %89 ]
%112 = phi <2 x double> [ zeroinitializer, %4 ], [ %93, %89 ]
%113 = bitcast double* %108 to <2 x double>*
%114 = load <2 x double>, <2 x double>* %113
%115 = getelementptr inbounds double, double* %108, i64 2
%116 = bitcast double* %115 to <2 x double>*
%117 = load <2 x double>, <2 x double>* %116
%118 = load double, double* %107
%119 = getelementptr inbounds double, double* %107, i64 1
%120 = load double, double* %119
%121 = insertelement <2 x double> poison, double %118, i64 0
%122 = shufflevector <2 x double> %121, <2 x double> poison, <2 x i32> zeroinitializer
%123 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %122, <2 x double> %109)
%124 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %117, <2 x double> %122, <2 x double> %110)
%125 = bitcast double* %3 to <2 x double>*
store <2 x double> %123, <2 x double>* %125
%126 = getelementptr inbounds double, double* %3, i64 2
%127 = bitcast double* %126 to <2 x double>*
store <2 x double> %124, <2 x double>* %127
%128 = insertelement <2 x double> poison, double %120, i64 0
%129 = shufflevector <2 x double> %128, <2 x double> poison, <2 x i32> zeroinitializer
%130 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %129, <2 x double> %111)
%131 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %117, <2 x double> %129, <2 x double> %112)
%132 = getelementptr inbounds double, double* %108, i64 4
%133 = bitcast double* %132 to <2 x double>*
%134 = load <2 x double>, <2 x double>* %133
%135 = getelementptr inbounds double, double* %108, i64 6
%136 = bitcast double* %135 to <2 x double>*
%137 = load <2 x double>, <2 x double>* %136
%138 = getelementptr inbounds double, double* %107, i64 5
%139 = load double, double* %138
%140 = insertelement <2 x double> poison, double %139, i64 0
%141 = shufflevector <2 x double> %140, <2 x double> poison, <2 x i32> zeroinitializer
%142 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %134, <2 x double> %141, <2 x double> %130)
%143 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %137, <2 x double> %141, <2 x double> %131)
%144 = getelementptr inbounds double, double* %3, i64 4
%145 = bitcast double* %144 to <2 x double>*
store <2 x double> %142, <2 x double>* %145
%146 = getelementptr inbounds double, double* %3, i64 6
%147 = bitcast double* %146 to <2 x double>*
store <2 x double> %143, <2 x double>* %147
ret void
}