void Compute_Adv_y(double *u, double *Lu, const double alpha,
                   const unsigned int nx, const unsigned int ny,
                   const double dy) {
  double fu, fu_old, fp, fp_old;
  double f1mmm, f1mm, f1m, f1, f1p, f1pp, f1ppp;
  double g1mmm, g1mm, g1m, g1, g1p, g1pp, g1ppp;
  unsigned int i, j;
#pragma omp parallel shared(u, Lu) private(                                    \
    i, f1mmm, f1mm, f1m, f1, f1p, f1pp, f1ppp, g1mmm, g1mm, g1m, g1, g1p,      \
    g1pp, g1ppp, fu, fu_old, fp, fp_old)
  {
#pragma omp for
    for (i = 3; i < nx - 4; i++) {
      fu_old = 0;
      fp_old = 0;
      f1mmm = 0.5 * (alpha * u[i + nx * 0] + alpha * u[i + nx * 0]);
      f1mm = 0.5 * (alpha * u[i + nx * 1] + alpha * u[i + nx * 1]);
      f1m = 0.5 * (alpha * u[i + nx * 2] + alpha * u[i + nx * 2]);
      f1 = 0.5 * (alpha * u[i + nx * 3] + alpha * u[i + nx * 3]);
      f1p = 0.5 * (alpha * u[i + nx * 4] + alpha * u[i + nx * 4]);
      f1pp = 0.5 * (alpha * u[i + nx * 5] + alpha * u[i + nx * 5]);
      g1mmm = 0.5 * (alpha * u[i + nx * 1] - alpha * u[i + nx * 1]);
      g1mm = 0.5 * (alpha * u[i + nx * 2] - alpha * u[i + nx * 2]);
      g1m = 0.5 * (alpha * u[i + nx * 3] - alpha * u[i + nx * 3]);
      g1 = 0.5 * (alpha * u[i + nx * 4] - alpha * u[i + nx * 4]);
      g1p = 0.5 * (alpha * u[i + nx * 5] - alpha * u[i + nx * 5]);
      g1pp = 0.5 * (alpha * u[i + nx * 6] - alpha * u[i + nx * 6]);
      for (j = 3; j < ny - 4; j++) {
        f1ppp =
            0.5 * (alpha * u[i + nx * (j + 3)] + alpha * u[i + nx * (j + 3)]);
        g1ppp =
            0.5 * (alpha * u[i + nx * (j + 4)] - alpha * u[i + nx * (j + 4)]);
        fu = WENO7_Reconstruct1d(f1mmm, f1mm, f1m, f1, f1p, f1pp, f1ppp, g1mmm,
                                 g1mm, g1m, g1, g1p, g1pp, g1ppp);
        Lu[i + nx * j] -= (fu - fu_old) / dy;
        fu_old = fu;
        f1mmm = f1mm;
        f1mm = f1m;
        f1m = f1;
        f1 = f1p;
        f1p = f1pp;
        f1pp = f1ppp;
        g1mmm = g1mm;
        g1mm = g1m;
        g1m = g1;
        g1 = g1p;
        g1p = g1pp;
        g1pp = g1ppp;
      }
    }
  }
}


x86 assembly (clang, -O0):
<Compute_Adv_y>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
mov    %ecx,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
movl   $0x3,-0xbc(%rbp)
mov    -0xbc(%rbp),%eax
mov    -0x1c(%rbp),%ecx
sub    $0x4,%ecx
cmp    %ecx,%eax
jae    1889 <Compute_Adv_y+0x779>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x0,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x0,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe57(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x0,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x0,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe02(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x1,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x1,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xdad(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x3,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x3,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xd5c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x2,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x2,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xd07(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x5,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x5,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xcb6(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x0,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x0,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xc4a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x1,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x1,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xbdb(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x3,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x3,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xb70(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x2,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
shl    $0x2,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xb01(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x5,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x5,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xa96(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x6,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
imul   $0x6,-0x1c(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xa2b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movl   $0x3,-0xc0(%rbp)
mov    -0xc0(%rbp),%eax
mov    -0x20(%rbp),%ecx
sub    $0x4,%ecx
cmp    %ecx,%eax
jae    1870 <Compute_Adv_y+0x760>
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
mov    -0xc0(%rbp),%esi
add    $0x3,%esi
imul   %esi,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
mov    -0xc0(%rbp),%esi
add    $0x3,%esi
imul   %esi,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x9a3(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x18(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
mov    -0xc0(%rbp),%esi
add    $0x4,%esi
imul   %esi,%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
mov    -0xc0(%rbp),%esi
add    $0x4,%esi
imul   %esi,%edx
add    %edx,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x925(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm4
movsd  -0x78(%rbp),%xmm5
movsd  -0x80(%rbp),%xmm6
movsd  -0x88(%rbp),%xmm7
ff
movsd  -0x90(%rbp),%xmm13
ff ff
movsd  -0x98(%rbp),%xmm12
ff ff
movsd  -0xa0(%rbp),%xmm11
ff ff
movsd  -0xa8(%rbp),%xmm10
ff ff
movsd  -0xb0(%rbp),%xmm9
ff ff
movsd  -0xb8(%rbp),%xmm8
ff ff
movsd  %xmm13,(%rsp)
movsd  %xmm12,0x8(%rsp)
movsd  %xmm11,0x10(%rsp)
movsd  %xmm10,0x18(%rsp)
movsd  %xmm9,0x20(%rsp)
movsd  %xmm8,0x28(%rsp)
mov    $0x8,%al
call   1030 <WENO7_Reconstruct1d@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm1
subsd  -0x38(%rbp),%xmm1
divsd  -0x28(%rbp),%xmm1
mov    -0x10(%rbp),%rax
mov    -0xbc(%rbp),%ecx
mov    -0x1c(%rbp),%edx
imul   -0xc0(%rbp),%edx
add    %edx,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0xc0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc0(%rbp)
jmp    15eb <Compute_Adv_y+0x4db>
jmp    1875 <Compute_Adv_y+0x765>
mov    -0xbc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xbc(%rbp)
jmp    113d <Compute_Adv_y+0x2d>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Compute_Adv_y>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x128,%rsp
mov    %edx,%r14d
movapd %xmm0,0xa0(%rsp)
lea    -0x4(%r14),%eax
cmp    $0x4,%eax
jb     1538 <Compute_Adv_y+0x428>
movapd %xmm1,%xmm8
mov    %rsi,%r12
lea    (%r14,%r14,1),%ebp
lea    (%r14,%r14,2),%ebx
mov    %rbx,0x68(%rsp)
lea    0x0(,%r14,4),%ebx
mov    %rbx,0x60(%rsp)
lea    (%r14,%r14,4),%ebx
mov    %rbx,0x58(%rsp)
lea    0x0(%rbp,%rbp,2),%ebx
mov    %rbx,0x50(%rsp)
add    $0xfffffffc,%ecx
mov    %eax,%eax
mov    %rax,0x78(%rsp)
movapd 0xa0(%rsp),%xmm3
unpcklpd %xmm3,%xmm3
lea    (%r14,%r14,2),%eax
add    $0x3,%eax
mov    %eax,0x3c(%rsp)
lea    0x0(,%r14,8),%eax
sub    %r14d,%eax
add    $0x3,%eax
mov    %eax,0x38(%rsp)
mov    %rbp,0x70(%rsp)
lea    0x3(%rbp,%rbp,2),%eax
mov    %eax,0x34(%rsp)
mov    %rcx,0x80(%rsp)
lea    -0x3(%rcx),%rax
mov    %rax,0x48(%rsp)
mov    $0x3,%eax
mov    %rax,0x40(%rsp)
movapd 0xe2e(%rip),%xmm6
movapd 0xe35(%rip),%xmm9
movsd  %xmm1,0x88(%rsp)
movapd %xmm3,0xb0(%rsp)
jmp    1218 <Compute_Adv_y+0x108>
nop
mov    0x40(%rsp),%rax
add    $0x1,%rax
addl   $0x1,0x3c(%rsp)
addl   $0x1,0x38(%rsp)
addl   $0x1,0x34(%rsp)
mov    %rax,0x40(%rsp)
cmp    0x78(%rsp),%rax
je     1538 <Compute_Adv_y+0x428>
cmpl   $0x4,0x80(%rsp)
04
jb     11f0 <Compute_Adv_y+0xe0>
mov    0x40(%rsp),%rbx
lea    (%rbx,%r14,1),%eax
mov    0x70(%rsp),%rcx
add    %ebx,%ecx
mov    0x68(%rsp),%rbp
lea    0x0(%rbp,%rbx,1),%r8d
mov    0x60(%rsp),%rbp
lea    0x0(%rbp,%rbx,1),%ebp
movsd  (%rdi,%rax,8),%xmm7
mov    0x58(%rsp),%rax
lea    (%rax,%rbx,1),%eax
movsd  (%rdi,%rcx,8),%xmm10
mov    0x50(%rsp),%rcx
lea    (%rcx,%rbx,1),%ecx
movsd  (%rdi,%r8,8),%xmm11
movsd  (%rdi,%rbp,8),%xmm12
movsd  (%rdi,%rax,8),%xmm13
movapd %xmm13,%xmm0
movapd 0xa0(%rsp),%xmm2
mulsd  %xmm2,%xmm0
movsd  (%rdi,%rcx,8),%xmm4
movapd %xmm4,%xmm1
movapd 0xd6b(%rip),%xmm5
xorpd  %xmm5,%xmm1
mulsd  %xmm2,%xmm1
unpcklpd %xmm13,%xmm4
unpcklpd %xmm0,%xmm1
mulpd  %xmm3,%xmm4
addpd  %xmm1,%xmm4
movapd %xmm12,%xmm1
mulsd  %xmm2,%xmm1
xorpd  %xmm5,%xmm0
unpcklpd %xmm12,%xmm13
unpcklpd %xmm1,%xmm0
mulpd  %xmm3,%xmm13
addpd  %xmm0,%xmm13
movapd %xmm11,%xmm0
mulsd  %xmm2,%xmm0
xorpd  %xmm5,%xmm1
unpcklpd %xmm11,%xmm12
unpcklpd %xmm0,%xmm1
mulpd  %xmm3,%xmm12
addpd  %xmm1,%xmm12
movapd %xmm10,%xmm1
mulsd  %xmm2,%xmm1
xorpd  %xmm5,%xmm0
unpcklpd %xmm10,%xmm11
unpcklpd %xmm1,%xmm0
mulpd  %xmm3,%xmm11
addpd  %xmm0,%xmm11
movapd %xmm7,%xmm0
mulsd  %xmm2,%xmm0
xorpd  %xmm5,%xmm1
unpcklpd %xmm7,%xmm10
unpcklpd %xmm0,%xmm1
mulpd  %xmm3,%xmm10
addpd  %xmm1,%xmm10
movsd  (%rdi,%rbx,8),%xmm1
xorpd  %xmm5,%xmm0
unpcklpd %xmm1,%xmm7
mulsd  %xmm2,%xmm1
unpcklpd %xmm1,%xmm0
movapd 0xcc6(%rip),%xmm1
mulpd  %xmm1,%xmm4
mulpd  %xmm1,%xmm13
mulpd  %xmm1,%xmm12
mulpd  %xmm1,%xmm11
mulpd  %xmm1,%xmm10
mulpd  %xmm3,%xmm7
addpd  %xmm0,%xmm7
mulpd  %xmm1,%xmm7
xorpd  %xmm0,%xmm0
mov    0x48(%rsp),%rax
mov    0x34(%rsp),%ebp
mov    0x38(%rsp),%r13d
mov    0x3c(%rsp),%r15d
cs nopw 0x0(%rax,%rax,1)
nop
movsd  %xmm0,0x90(%rsp)
mov    %rax,0x98(%rsp)
movapd %xmm10,0x110(%rsp)
movapd %xmm11,0xe0(%rsp)
movapd %xmm12,%xmm8
movapd %xmm12,0x100(%rsp)
movapd %xmm13,0xf0(%rsp)
mov    %ebp,%eax
mov    %r13d,%ecx
movsd  (%rdi,%rcx,8),%xmm2
movapd %xmm2,%xmm0
xorpd  %xmm6,%xmm0
movsd  (%rdi,%rax,8),%xmm1
unpcklpd %xmm1,%xmm0
mulpd  %xmm3,%xmm0
unpcklpd %xmm1,%xmm2
mulpd  %xmm3,%xmm2
addpd  %xmm0,%xmm2
mulpd  %xmm9,%xmm2
movapd %xmm4,%xmm5
movapd %xmm4,%xmm9
movapd %xmm4,0xd0(%rsp)
unpckhpd %xmm4,%xmm5
movapd %xmm2,%xmm6
movapd %xmm2,%xmm12
movapd %xmm2,0xc0(%rsp)
unpckhpd %xmm2,%xmm6
movapd %xmm13,%xmm4
unpckhpd %xmm13,%xmm4
movapd %xmm8,%xmm3
unpckhpd %xmm8,%xmm3
movapd %xmm11,%xmm2
unpckhpd %xmm11,%xmm2
movapd %xmm10,%xmm1
unpckhpd %xmm10,%xmm1
movapd %xmm7,%xmm0
unpckhpd %xmm7,%xmm0
unpcklpd %xmm13,%xmm8
movupd %xmm8,0x10(%rsp)
movapd %xmm10,%xmm8
unpcklpd %xmm11,%xmm8
movupd %xmm8,(%rsp)
movapd %xmm9,%xmm8
unpcklpd %xmm12,%xmm8
movupd %xmm8,0x20(%rsp)
mov    $0x8,%al
mov    %rdi,%rbx
call   1030 <WENO7_Reconstruct1d@plt>
movaps 0xc0(%rsp),%xmm4
movaps 0xd0(%rsp),%xmm13
movaps 0xf0(%rsp),%xmm12
movaps 0x100(%rsp),%xmm11
movaps 0xe0(%rsp),%xmm10
movapd 0xb4a(%rip),%xmm9
movapd 0xb32(%rip),%xmm6
movapd 0xb0(%rsp),%xmm3
mov    %rbx,%rdi
movsd  0x88(%rsp),%xmm8
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,%xmm1
subsd  0x90(%rsp),%xmm1
divsd  %xmm8,%xmm1
mov    %r15d,%eax
movsd  (%r12,%rax,8),%xmm2
subsd  %xmm1,%xmm2
movsd  %xmm2,(%r12,%rax,8)
mov    0x98(%rsp),%rax
add    %r14d,%r15d
add    %r14d,%r13d
add    %r14d,%ebp
movaps 0x110(%rsp),%xmm7
add    $0xffffffffffffffff,%rax
jne    1390 <Compute_Adv_y+0x280>
jmp    11f0 <Compute_Adv_y+0xe0>
add    $0x128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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