void kernel_dtrmm_nt_l_2x4_lib4(int kmax, double *A, double *B, double *C) {
  const int lda = 4;
  const int ldc = 4;
  int k;
  double a_0, a_1, b_0, b_1, b_2, b_3, c_00 = 0, c_01 = 0, c_02 = 0, c_03 = 0,
                                       c_10 = 0, c_11 = 0, c_12 = 0, c_13 = 0;
  for (k = 0; k < kmax - 4; k += 4) {
    a_0 = A[0 + lda * 0];
    a_1 = A[1 + lda * 0];
    b_0 = B[0 + lda * 0];
    b_1 = B[1 + lda * 0];
    b_2 = B[2 + lda * 0];
    b_3 = B[3 + lda * 0];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    a_0 = A[0 + lda * 1];
    a_1 = A[1 + lda * 1];
    b_0 = B[0 + lda * 1];
    b_1 = B[1 + lda * 1];
    b_2 = B[2 + lda * 1];
    b_3 = B[3 + lda * 1];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    a_0 = A[0 + lda * 2];
    a_1 = A[1 + lda * 2];
    b_0 = B[0 + lda * 2];
    b_1 = B[1 + lda * 2];
    b_2 = B[2 + lda * 2];
    b_3 = B[3 + lda * 2];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    a_0 = A[0 + lda * 3];
    a_1 = A[1 + lda * 3];
    b_0 = B[0 + lda * 3];
    b_1 = B[1 + lda * 3];
    b_2 = B[2 + lda * 3];
    b_3 = B[3 + lda * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    A += 16;
    B += 16;
  }
  a_0 = A[0 + lda * 0];
  a_1 = A[1 + lda * 0];
  b_0 = B[0 + lda * 0];
  b_1 = B[1 + lda * 0];
  b_2 = B[2 + lda * 0];
  b_3 = B[3 + lda * 0];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  C[0 + ldc * 0] = c_00;
  C[1 + ldc * 0] = c_10;
  c_01 += a_0 * b_1;
  c_11 += a_1 * b_1;
  c_02 += a_0 * b_2;
  c_12 += a_1 * b_2;
  c_03 += a_0 * b_3;
  c_13 += a_1 * b_3;
  a_0 = A[0 + lda * 1];
  a_1 = A[1 + lda * 1];
  b_1 = B[1 + lda * 1];
  b_2 = B[2 + lda * 1];
  b_3 = B[3 + lda * 1];
  c_01 += a_0 * b_1;
  c_11 += a_1 * b_1;
  C[0 + ldc * 1] = c_01;
  C[1 + ldc * 1] = c_11;
  c_02 += a_0 * b_2;
  c_12 += a_1 * b_2;
  c_03 += a_0 * b_3;
  c_13 += a_1 * b_3;
  a_0 = A[0 + lda * 2];
  a_1 = A[1 + lda * 2];
  b_2 = B[2 + lda * 2];
  b_3 = B[3 + lda * 2];
  c_02 += a_0 * b_2;
  c_12 += a_1 * b_2;
  C[0 + ldc * 2] = c_02;
  C[1 + ldc * 2] = c_12;
  c_03 += a_0 * b_3;
  c_13 += a_1 * b_3;
  a_0 = A[0 + lda * 3];
  a_1 = A[1 + lda * 3];
  b_3 = B[3 + lda * 3];
  c_03 += a_0 * b_3;
  c_13 += a_1 * b_3;
  C[0 + ldc * 3] = c_03;
  C[1 + ldc * 3] = c_13;
}


x86 assembly (clang, -O0):
<kernel_dtrmm_nt_l_2x4_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_2x4_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    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%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  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%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    -0x18(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%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  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%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    -0x18(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%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  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%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    -0x18(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%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  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%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_2x4_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    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x88(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%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  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%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    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%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  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%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    -0x18(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x48(%rax)
movsd  -0x38(%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  -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    -0x18(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%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  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x60(%rax)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x68(%rax)
add    $0x20,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
define void @kernel_dtrmm_nt_l_2x4_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** %7
%39 = getelementptr inbounds double, double* %38, i64 0
%40 = load double, double* %39
store double %40, double* %14
%41 = load double*, double** %7
%42 = getelementptr inbounds double, double* %41, i64 1
%43 = load double, double* %42
store double %43, double* %15
%44 = load double*, double** %7
%45 = getelementptr inbounds double, double* %44, i64 2
%46 = load double, double* %45
store double %46, double* %16
%47 = load double*, double** %7
%48 = getelementptr inbounds double, double* %47, i64 3
%49 = load double, double* %48
store double %49, double* %17
%50 = load double, double* %12
%51 = load double, double* %14
%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* %14
%56 = load double, double* %22
%57 = call double @llvm.fmuladd.f64(double %54, double %55, double %56)
store double %57, double* %22
%58 = load double, double* %12
%59 = load double, double* %15
%60 = load double, double* %19
%61 = call double @llvm.fmuladd.f64(double %58, double %59, double %60)
store double %61, double* %19
%62 = load double, double* %13
%63 = load double, double* %15
%64 = load double, double* %23
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
store double %65, double* %23
%66 = load double, double* %12
%67 = load double, double* %16
%68 = load double, double* %20
%69 = call double @llvm.fmuladd.f64(double %66, double %67, double %68)
store double %69, double* %20
%70 = load double, double* %13
%71 = load double, double* %16
%72 = load double, double* %24
%73 = call double @llvm.fmuladd.f64(double %70, double %71, double %72)
store double %73, double* %24
%74 = load double, double* %12
%75 = load double, double* %17
%76 = load double, double* %21
%77 = call double @llvm.fmuladd.f64(double %74, double %75, double %76)
store double %77, double* %21
%78 = load double, double* %13
%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** %7
%89 = getelementptr inbounds double, double* %88, i64 4
%90 = load double, double* %89
store double %90, double* %14
%91 = load double*, double** %7
%92 = getelementptr inbounds double, double* %91, i64 5
%93 = load double, double* %92
store double %93, double* %15
%94 = load double*, double** %7
%95 = getelementptr inbounds double, double* %94, i64 6
%96 = load double, double* %95
store double %96, double* %16
%97 = load double*, double** %7
%98 = getelementptr inbounds double, double* %97, i64 7
%99 = load double, double* %98
store double %99, double* %17
%100 = load double, double* %12
%101 = load double, double* %14
%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* %14
%106 = load double, double* %22
%107 = call double @llvm.fmuladd.f64(double %104, double %105, double %106)
store double %107, double* %22
%108 = load double, double* %12
%109 = load double, double* %15
%110 = load double, double* %19
%111 = call double @llvm.fmuladd.f64(double %108, double %109, double %110)
store double %111, double* %19
%112 = load double, double* %13
%113 = load double, double* %15
%114 = load double, double* %23
%115 = call double @llvm.fmuladd.f64(double %112, double %113, double %114)
store double %115, double* %23
%116 = load double, double* %12
%117 = load double, double* %16
%118 = load double, double* %20
%119 = call double @llvm.fmuladd.f64(double %116, double %117, double %118)
store double %119, double* %20
%120 = load double, double* %13
%121 = load double, double* %16
%122 = load double, double* %24
%123 = call double @llvm.fmuladd.f64(double %120, double %121, double %122)
store double %123, double* %24
%124 = load double, double* %12
%125 = load double, double* %17
%126 = load double, double* %21
%127 = call double @llvm.fmuladd.f64(double %124, double %125, double %126)
store double %127, double* %21
%128 = load double, double* %13
%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** %7
%139 = getelementptr inbounds double, double* %138, i64 8
%140 = load double, double* %139
store double %140, double* %14
%141 = load double*, double** %7
%142 = getelementptr inbounds double, double* %141, i64 9
%143 = load double, double* %142
store double %143, double* %15
%144 = load double*, double** %7
%145 = getelementptr inbounds double, double* %144, i64 10
%146 = load double, double* %145
store double %146, double* %16
%147 = load double*, double** %7
%148 = getelementptr inbounds double, double* %147, i64 11
%149 = load double, double* %148
store double %149, double* %17
%150 = load double, double* %12
%151 = load double, double* %14
%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* %14
%156 = load double, double* %22
%157 = call double @llvm.fmuladd.f64(double %154, double %155, double %156)
store double %157, double* %22
%158 = load double, double* %12
%159 = load double, double* %15
%160 = load double, double* %19
%161 = call double @llvm.fmuladd.f64(double %158, double %159, double %160)
store double %161, double* %19
%162 = load double, double* %13
%163 = load double, double* %15
%164 = load double, double* %23
%165 = call double @llvm.fmuladd.f64(double %162, double %163, double %164)
store double %165, double* %23
%166 = load double, double* %12
%167 = load double, double* %16
%168 = load double, double* %20
%169 = call double @llvm.fmuladd.f64(double %166, double %167, double %168)
store double %169, double* %20
%170 = load double, double* %13
%171 = load double, double* %16
%172 = load double, double* %24
%173 = call double @llvm.fmuladd.f64(double %170, double %171, double %172)
store double %173, double* %24
%174 = load double, double* %12
%175 = load double, double* %17
%176 = load double, double* %21
%177 = call double @llvm.fmuladd.f64(double %174, double %175, double %176)
store double %177, double* %21
%178 = load double, double* %13
%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** %7
%189 = getelementptr inbounds double, double* %188, i64 12
%190 = load double, double* %189
store double %190, double* %14
%191 = load double*, double** %7
%192 = getelementptr inbounds double, double* %191, i64 13
%193 = load double, double* %192
store double %193, double* %15
%194 = load double*, double** %7
%195 = getelementptr inbounds double, double* %194, i64 14
%196 = load double, double* %195
store double %196, double* %16
%197 = load double*, double** %7
%198 = getelementptr inbounds double, double* %197, i64 15
%199 = load double, double* %198
store double %199, double* %17
%200 = load double, double* %12
%201 = load double, double* %14
%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* %14
%206 = load double, double* %22
%207 = call double @llvm.fmuladd.f64(double %204, double %205, double %206)
store double %207, double* %22
%208 = load double, double* %12
%209 = load double, double* %15
%210 = load double, double* %19
%211 = call double @llvm.fmuladd.f64(double %208, double %209, double %210)
store double %211, double* %19
%212 = load double, double* %13
%213 = load double, double* %15
%214 = load double, double* %23
%215 = call double @llvm.fmuladd.f64(double %212, double %213, double %214)
store double %215, double* %23
%216 = load double, double* %12
%217 = load double, double* %16
%218 = load double, double* %20
%219 = call double @llvm.fmuladd.f64(double %216, double %217, double %218)
store double %219, double* %20
%220 = load double, double* %13
%221 = load double, double* %16
%222 = load double, double* %24
%223 = call double @llvm.fmuladd.f64(double %220, double %221, double %222)
store double %223, double* %24
%224 = load double, double* %12
%225 = load double, double* %17
%226 = load double, double* %21
%227 = call double @llvm.fmuladd.f64(double %224, double %225, double %226)
store double %227, double* %21
%228 = load double, double* %13
%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** %7
%247 = getelementptr inbounds double, double* %246, i64 0
%248 = load double, double* %247
store double %248, double* %14
%249 = load double*, double** %7
%250 = getelementptr inbounds double, double* %249, i64 1
%251 = load double, double* %250
store double %251, double* %15
%252 = load double*, double** %7
%253 = getelementptr inbounds double, double* %252, i64 2
%254 = load double, double* %253
store double %254, double* %16
%255 = load double*, double** %7
%256 = getelementptr inbounds double, double* %255, i64 3
%257 = load double, double* %256
store double %257, double* %17
%258 = load double, double* %12
%259 = load double, double* %14
%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* %14
%264 = load double, double* %22
%265 = call double @llvm.fmuladd.f64(double %262, double %263, double %264)
store double %265, double* %22
%266 = load double, double* %18
%267 = load double*, double** %8
%268 = getelementptr inbounds double, double* %267, i64 0
store double %266, double* %268
%269 = load double, double* %22
%270 = load double*, double** %8
%271 = getelementptr inbounds double, double* %270, i64 1
store double %269, double* %271
%272 = load double, double* %12
%273 = load double, double* %15
%274 = load double, double* %19
%275 = call double @llvm.fmuladd.f64(double %272, double %273, double %274)
store double %275, double* %19
%276 = load double, double* %13
%277 = load double, double* %15
%278 = load double, double* %23
%279 = call double @llvm.fmuladd.f64(double %276, double %277, double %278)
store double %279, double* %23
%280 = load double, double* %12
%281 = load double, double* %16
%282 = load double, double* %20
%283 = call double @llvm.fmuladd.f64(double %280, double %281, double %282)
store double %283, double* %20
%284 = load double, double* %13
%285 = load double, double* %16
%286 = load double, double* %24
%287 = call double @llvm.fmuladd.f64(double %284, double %285, double %286)
store double %287, double* %24
%288 = load double, double* %12
%289 = load double, double* %17
%290 = load double, double* %21
%291 = call double @llvm.fmuladd.f64(double %288, double %289, double %290)
store double %291, double* %21
%292 = load double, double* %13
%293 = load double, double* %17
%294 = load double, double* %25
%295 = call double @llvm.fmuladd.f64(double %292, double %293, double %294)
store double %295, double* %25
%296 = load double*, double** %6
%297 = getelementptr inbounds double, double* %296, i64 4
%298 = load double, double* %297
store double %298, double* %12
%299 = load double*, double** %6
%300 = getelementptr inbounds double, double* %299, i64 5
%301 = load double, double* %300
store double %301, double* %13
%302 = load double*, double** %7
%303 = getelementptr inbounds double, double* %302, i64 5
%304 = load double, double* %303
store double %304, double* %15
%305 = load double*, double** %7
%306 = getelementptr inbounds double, double* %305, i64 6
%307 = load double, double* %306
store double %307, double* %16
%308 = load double*, double** %7
%309 = getelementptr inbounds double, double* %308, i64 7
%310 = load double, double* %309
store double %310, double* %17
%311 = load double, double* %12
%312 = load double, double* %15
%313 = load double, double* %19
%314 = call double @llvm.fmuladd.f64(double %311, double %312, double %313)
store double %314, double* %19
%315 = load double, double* %13
%316 = load double, double* %15
%317 = load double, double* %23
%318 = call double @llvm.fmuladd.f64(double %315, double %316, double %317)
store double %318, double* %23
%319 = load double, double* %19
%320 = load double*, double** %8
%321 = getelementptr inbounds double, double* %320, i64 4
store double %319, double* %321
%322 = load double, double* %23
%323 = load double*, double** %8
%324 = getelementptr inbounds double, double* %323, i64 5
store double %322, double* %324
%325 = load double, double* %12
%326 = load double, double* %16
%327 = load double, double* %20
%328 = call double @llvm.fmuladd.f64(double %325, double %326, double %327)
store double %328, double* %20
%329 = load double, double* %13
%330 = load double, double* %16
%331 = load double, double* %24
%332 = call double @llvm.fmuladd.f64(double %329, double %330, double %331)
store double %332, double* %24
%333 = load double, double* %12
%334 = load double, double* %17
%335 = load double, double* %21
%336 = call double @llvm.fmuladd.f64(double %333, double %334, double %335)
store double %336, double* %21
%337 = load double, double* %13
%338 = load double, double* %17
%339 = load double, double* %25
%340 = call double @llvm.fmuladd.f64(double %337, double %338, double %339)
store double %340, double* %25
%341 = load double*, double** %6
%342 = getelementptr inbounds double, double* %341, i64 8
%343 = load double, double* %342
store double %343, double* %12
%344 = load double*, double** %6
%345 = getelementptr inbounds double, double* %344, i64 9
%346 = load double, double* %345
store double %346, double* %13
%347 = load double*, double** %7
%348 = getelementptr inbounds double, double* %347, i64 10
%349 = load double, double* %348
store double %349, double* %16
%350 = load double*, double** %7
%351 = getelementptr inbounds double, double* %350, i64 11
%352 = load double, double* %351
store double %352, double* %17
%353 = load double, double* %12
%354 = load double, double* %16
%355 = load double, double* %20
%356 = call double @llvm.fmuladd.f64(double %353, double %354, double %355)
store double %356, double* %20
%357 = load double, double* %13
%358 = load double, double* %16
%359 = load double, double* %24
%360 = call double @llvm.fmuladd.f64(double %357, double %358, double %359)
store double %360, double* %24
%361 = load double, double* %20
%362 = load double*, double** %8
%363 = getelementptr inbounds double, double* %362, i64 8
store double %361, double* %363
%364 = load double, double* %24
%365 = load double*, double** %8
%366 = getelementptr inbounds double, double* %365, i64 9
store double %364, double* %366
%367 = load double, double* %12
%368 = load double, double* %17
%369 = load double, double* %21
%370 = call double @llvm.fmuladd.f64(double %367, double %368, double %369)
store double %370, double* %21
%371 = load double, double* %13
%372 = load double, double* %17
%373 = load double, double* %25
%374 = call double @llvm.fmuladd.f64(double %371, double %372, double %373)
store double %374, double* %25
%375 = load double*, double** %6
%376 = getelementptr inbounds double, double* %375, i64 12
%377 = load double, double* %376
store double %377, double* %12
%378 = load double*, double** %6
%379 = getelementptr inbounds double, double* %378, i64 13
%380 = load double, double* %379
store double %380, double* %13
%381 = load double*, double** %7
%382 = getelementptr inbounds double, double* %381, i64 15
%383 = load double, double* %382
store double %383, double* %17
%384 = load double, double* %12
%385 = load double, double* %17
%386 = load double, double* %21
%387 = call double @llvm.fmuladd.f64(double %384, double %385, double %386)
store double %387, double* %21
%388 = load double, double* %13
%389 = load double, double* %17
%390 = load double, double* %25
%391 = call double @llvm.fmuladd.f64(double %388, double %389, double %390)
store double %391, double* %25
%392 = load double, double* %21
%393 = load double*, double** %8
%394 = getelementptr inbounds double, double* %393, i64 12
store double %392, double* %394
%395 = load double, double* %25
%396 = load double*, double** %8
%397 = getelementptr inbounds double, double* %396, i64 13
store double %395, double* %397
ret void
}

LLVM IR (-O2):
define void @kernel_dtrmm_nt_l_2x4_lib4(i32 %0, double* nocapture %1, double* %2, double* nocapture writeonly %3) {
%5 = add nsw i32 %0, -4
%6 = icmp sgt i32 %0, 4
br i1 %6, label %7, label %126
7: ; preds = %4, %7
%8 = phi i32 [ %107, %7 ], [ 0, %4 ]
%9 = phi double* [ %105, %7 ], [ %1, %4 ]
%10 = phi double* [ %106, %7 ], [ %2, %4 ]
%11 = phi <2 x double> [ %95, %7 ], [ zeroinitializer, %4 ]
%12 = phi <2 x double> [ %98, %7 ], [ zeroinitializer, %4 ]
%13 = phi <2 x double> [ %101, %7 ], [ zeroinitializer, %4 ]
%14 = phi <2 x double> [ %104, %7 ], [ zeroinitializer, %4 ]
%15 = bitcast double* %9 to <2 x double>*
%16 = load <2 x double>, <2 x double>* %15
%17 = load double, double* %10
%18 = getelementptr inbounds double, double* %10, i64 1
%19 = load double, double* %18
%20 = getelementptr inbounds double, double* %10, i64 2
%21 = load double, double* %20
%22 = getelementptr inbounds double, double* %10, i64 3
%23 = load double, double* %22
%24 = insertelement <2 x double> poison, double %17, i64 0
%25 = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> zeroinitializer
%26 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %25, <2 x double> %11)
%27 = insertelement <2 x double> poison, double %19, 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> %12)
%30 = insertelement <2 x double> poison, double %21, i64 0
%31 = shufflevector <2 x double> %30, <2 x double> poison, <2 x i32> zeroinitializer
%32 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %31, <2 x double> %13)
%33 = insertelement <2 x double> poison, double %23, i64 0
%34 = shufflevector <2 x double> %33, <2 x double> poison, <2 x i32> zeroinitializer
%35 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %34, <2 x double> %14)
%36 = getelementptr inbounds double, double* %9, i64 4
%37 = bitcast double* %36 to <2 x double>*
%38 = load <2 x double>, <2 x double>* %37
%39 = getelementptr inbounds double, double* %10, i64 4
%40 = load double, double* %39
%41 = getelementptr inbounds double, double* %10, i64 5
%42 = load double, double* %41
%43 = getelementptr inbounds double, double* %10, i64 6
%44 = load double, double* %43
%45 = getelementptr inbounds double, double* %10, i64 7
%46 = load double, double* %45
%47 = insertelement <2 x double> poison, double %40, i64 0
%48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> zeroinitializer
%49 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %48, <2 x double> %26)
%50 = insertelement <2 x double> poison, double %42, i64 0
%51 = shufflevector <2 x double> %50, <2 x double> poison, <2 x i32> zeroinitializer
%52 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %51, <2 x double> %29)
%53 = insertelement <2 x double> poison, double %44, i64 0
%54 = shufflevector <2 x double> %53, <2 x double> poison, <2 x i32> zeroinitializer
%55 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %54, <2 x double> %32)
%56 = insertelement <2 x double> poison, double %46, i64 0
%57 = shufflevector <2 x double> %56, <2 x double> poison, <2 x i32> zeroinitializer
%58 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %57, <2 x double> %35)
%59 = getelementptr inbounds double, double* %9, i64 8
%60 = bitcast double* %59 to <2 x double>*
%61 = load <2 x double>, <2 x double>* %60
%62 = getelementptr inbounds double, double* %10, i64 8
%63 = load double, double* %62
%64 = getelementptr inbounds double, double* %10, i64 9
%65 = load double, double* %64
%66 = getelementptr inbounds double, double* %10, i64 10
%67 = load double, double* %66
%68 = getelementptr inbounds double, double* %10, i64 11
%69 = load double, double* %68
%70 = insertelement <2 x double> poison, double %63, i64 0
%71 = shufflevector <2 x double> %70, <2 x double> poison, <2 x i32> zeroinitializer
%72 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %71, <2 x double> %49)
%73 = insertelement <2 x double> poison, double %65, 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> %61, <2 x double> %74, <2 x double> %52)
%76 = insertelement <2 x double> poison, double %67, i64 0
%77 = shufflevector <2 x double> %76, <2 x double> poison, <2 x i32> zeroinitializer
%78 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %77, <2 x double> %55)
%79 = insertelement <2 x double> poison, double %69, i64 0
%80 = shufflevector <2 x double> %79, <2 x double> poison, <2 x i32> zeroinitializer
%81 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %80, <2 x double> %58)
%82 = getelementptr inbounds double, double* %9, i64 12
%83 = bitcast double* %82 to <2 x double>*
%84 = load <2 x double>, <2 x double>* %83
%85 = getelementptr inbounds double, double* %10, i64 12
%86 = load double, double* %85
%87 = getelementptr inbounds double, double* %10, i64 13
%88 = load double, double* %87
%89 = getelementptr inbounds double, double* %10, i64 14
%90 = load double, double* %89
%91 = getelementptr inbounds double, double* %10, i64 15
%92 = load double, double* %91
%93 = insertelement <2 x double> poison, double %86, i64 0
%94 = shufflevector <2 x double> %93, <2 x double> poison, <2 x i32> zeroinitializer
%95 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %94, <2 x double> %72)
%96 = insertelement <2 x double> poison, double %88, i64 0
%97 = shufflevector <2 x double> %96, <2 x double> poison, <2 x i32> zeroinitializer
%98 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %97, <2 x double> %75)
%99 = insertelement <2 x double> poison, double %90, i64 0
%100 = shufflevector <2 x double> %99, <2 x double> poison, <2 x i32> zeroinitializer
%101 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %100, <2 x double> %78)
%102 = insertelement <2 x double> poison, double %92, i64 0
%103 = shufflevector <2 x double> %102, <2 x double> poison, <2 x i32> zeroinitializer
%104 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %103, <2 x double> %81)
%105 = getelementptr inbounds double, double* %9, i64 16
%106 = getelementptr inbounds double, double* %10, i64 16
%107 = add nuw nsw i32 %8, 4
%108 = icmp slt i32 %107, %5
br i1 %108, label %7, label %109
109: ; preds = %7
%110 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %34, <2 x double> %14)
%111 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %57, <2 x double> %110)
%112 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %80, <2 x double> %111)
%113 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %103, <2 x double> %112)
%114 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %31, <2 x double> %13)
%115 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %54, <2 x double> %114)
%116 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %77, <2 x double> %115)
%117 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %100, <2 x double> %116)
%118 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %28, <2 x double> %12)
%119 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %51, <2 x double> %118)
%120 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %74, <2 x double> %119)
%121 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %97, <2 x double> %120)
%122 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %25, <2 x double> %11)
%123 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %48, <2 x double> %122)
%124 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %71, <2 x double> %123)
%125 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %84, <2 x double> %94, <2 x double> %124)
br label %126
126: ; preds = %109, %4
%127 = phi double* [ %2, %4 ], [ %106, %109 ]
%128 = phi double* [ %1, %4 ], [ %105, %109 ]
%129 = phi <2 x double> [ zeroinitializer, %4 ], [ %125, %109 ]
%130 = phi <2 x double> [ zeroinitializer, %4 ], [ %121, %109 ]
%131 = phi <2 x double> [ zeroinitializer, %4 ], [ %117, %109 ]
%132 = phi <2 x double> [ zeroinitializer, %4 ], [ %113, %109 ]
%133 = bitcast double* %128 to <2 x double>*
%134 = load <2 x double>, <2 x double>* %133
%135 = load double, double* %127
%136 = getelementptr inbounds double, double* %127, i64 1
%137 = load double, double* %136
%138 = getelementptr inbounds double, double* %127, i64 2
%139 = load double, double* %138
%140 = getelementptr inbounds double, double* %127, i64 3
%141 = load double, double* %140
%142 = insertelement <2 x double> poison, double %135, i64 0
%143 = shufflevector <2 x double> %142, <2 x double> poison, <2 x i32> zeroinitializer
%144 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %134, <2 x double> %143, <2 x double> %129)
%145 = bitcast double* %3 to <2 x double>*
store <2 x double> %144, <2 x double>* %145
%146 = insertelement <2 x double> poison, double %137, i64 0
%147 = shufflevector <2 x double> %146, <2 x double> poison, <2 x i32> zeroinitializer
%148 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %134, <2 x double> %147, <2 x double> %130)
%149 = insertelement <2 x double> poison, double %139, i64 0
%150 = shufflevector <2 x double> %149, <2 x double> poison, <2 x i32> zeroinitializer
%151 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %134, <2 x double> %150, <2 x double> %131)
%152 = insertelement <2 x double> poison, double %141, i64 0
%153 = shufflevector <2 x double> %152, <2 x double> poison, <2 x i32> zeroinitializer
%154 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %134, <2 x double> %153, <2 x double> %132)
%155 = getelementptr inbounds double, double* %128, i64 4
%156 = bitcast double* %155 to <2 x double>*
%157 = load <2 x double>, <2 x double>* %156
%158 = getelementptr inbounds double, double* %127, i64 5
%159 = load double, double* %158
%160 = getelementptr inbounds double, double* %127, i64 6
%161 = load double, double* %160
%162 = getelementptr inbounds double, double* %127, i64 7
%163 = load double, double* %162
%164 = insertelement <2 x double> poison, double %159, i64 0
%165 = shufflevector <2 x double> %164, <2 x double> poison, <2 x i32> zeroinitializer
%166 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %157, <2 x double> %165, <2 x double> %148)
%167 = getelementptr inbounds double, double* %3, i64 4
%168 = bitcast double* %167 to <2 x double>*
store <2 x double> %166, <2 x double>* %168
%169 = insertelement <2 x double> poison, double %161, i64 0
%170 = shufflevector <2 x double> %169, <2 x double> poison, <2 x i32> zeroinitializer
%171 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %157, <2 x double> %170, <2 x double> %151)
%172 = insertelement <2 x double> poison, double %163, i64 0
%173 = shufflevector <2 x double> %172, <2 x double> poison, <2 x i32> zeroinitializer
%174 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %157, <2 x double> %173, <2 x double> %154)
%175 = getelementptr inbounds double, double* %128, i64 8
%176 = bitcast double* %175 to <2 x double>*
%177 = load <2 x double>, <2 x double>* %176
%178 = getelementptr inbounds double, double* %127, i64 10
%179 = load double, double* %178
%180 = getelementptr inbounds double, double* %127, i64 11
%181 = load double, double* %180
%182 = insertelement <2 x double> poison, double %179, i64 0
%183 = shufflevector <2 x double> %182, <2 x double> poison, <2 x i32> zeroinitializer
%184 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %177, <2 x double> %183, <2 x double> %171)
%185 = getelementptr inbounds double, double* %3, i64 8
%186 = bitcast double* %185 to <2 x double>*
store <2 x double> %184, <2 x double>* %186
%187 = insertelement <2 x double> poison, double %181, i64 0
%188 = shufflevector <2 x double> %187, <2 x double> poison, <2 x i32> zeroinitializer
%189 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %177, <2 x double> %188, <2 x double> %174)
%190 = getelementptr inbounds double, double* %128, i64 12
%191 = bitcast double* %190 to <2 x double>*
%192 = load <2 x double>, <2 x double>* %191
%193 = getelementptr inbounds double, double* %127, i64 15
%194 = load double, double* %193
%195 = insertelement <2 x double> poison, double %194, i64 0
%196 = shufflevector <2 x double> %195, <2 x double> poison, <2 x i32> zeroinitializer
%197 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %192, <2 x double> %196, <2 x double> %189)
%198 = getelementptr inbounds double, double* %3, i64 12
%199 = bitcast double* %198 to <2 x double>*
store <2 x double> %197, <2 x double>* %199
ret void
}