double interp_weno7(double phim3, double phim2, double phim1, double phi,
                    double phip1, double phip2, double phip3) {
  const double p0 = (-1.0 / 4.0) * phim3 + (13.0 / 12.0) * phim2 +
                    (-23.0 / 12.0) * phim1 + (25.0 / 12.0) * phi;
  const double p1 = (1.0 / 12.0) * phim2 + (-5.0 / 12.0) * phim1 +
                    (13.0 / 12.0) * phi + (1.0 / 4.0) * phip1;
  const double p2 = (-1.0 / 12.0) * phim1 + (7.0 / 12.0) * phi +
                    (7.0 / 12.0) * phip1 + (-1.0 / 12.0) * phip2;
  const double p3 = (1.0 / 4.0) * phi + (13.0 / 12.0) * phip1 +
                    (-5.0 / 12.0) * phip2 + (1.0 / 12.0) * phip3;
  const double beta0 =
      (phim3 *
           (547.0 * phim3 - 3882.0 * phim2 + 4642.0 * phim1 - 1854.0 * phi) +
       phim2 * (7043.0 * phim2 - 17246.0 * phim1 + 7042.0 * phi) +
       phim1 * (11003.0 * phim1 - 9402.0 * phi) + 2107.0 * phi * phi);
  const double beta1 =
      (phim2 * (267.0 * phim2 - 1642.0 * phim1 + 1602.0 * phi - 494.0 * phip1) +
       phim1 * (2843.0 * phim1 - 5966.0 * phi + 1922.0 * phip1) +
       phi * (3443.0 * phi - 2522.0 * phip1) + 547.0 * phip1 * phip1);
  const double beta2 =
      (phim1 * (547.0 * phim1 - 2522.0 * phi + 1922.0 * phip1 - 494.0 * phip2) +
       phi * (3443.0 * phi - 5966.0 * phip1 + 1602.0 * phip2) +
       phip1 * (2843.0 * phip1 - 1642.0 * phip2) + 267.0 * phip2 * phip2);
  const double beta3 =
      (phi * (2107.0 * phi - 9402.0 * phip1 + 7042.0 * phip2 - 1854.0 * phip3) +
       phip1 * (11003.0 * phip1 - 17246.0 * phip2 + 4642.0 * phip3) +
       phip2 * (7043.0 * phip2 - 3882.0 * phip3) + 547.0 * phip3 * phip3);
  const double alpha0 = (1.0 / 35.0) / ((beta0 + 1e-10) * (beta0 + 1e-10));
  const double alpha1 = (12.0 / 35.0) / ((beta1 + 1e-10) * (beta1 + 1e-10));
  const double alpha2 = (18.0 / 35.0) / ((beta2 + 1e-10) * (beta2 + 1e-10));
  const double alpha3 = (4.0 / 35.0) / ((beta3 + 1e-10) * (beta3 + 1e-10));
  const double alpha_sum_inv = 1.0 / (alpha0 + alpha1 + alpha2 + alpha3);
  const double w0 = alpha0 * alpha_sum_inv;
  const double w1 = alpha1 * alpha_sum_inv;
  const double w2 = alpha2 * alpha_sum_inv;
  const double w3 = alpha3 * alpha_sum_inv;
  return w0 * p0 + w1 * p1 + w2 * p2 + w3 * p3;
}


x86 assembly (clang, -O0):
<interp_weno7>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  %xmm6,-0x38(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xfa8(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xfc3(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  0xfa6(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
movsd  0xf89(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xf47(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
movsd  0xf32(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  0xf35(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
movsd  0xf18(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xf16(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  0xf01(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  0xef4(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
movsd  0xed7(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  0xeb5(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
movsd  0xea0(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  0xe83(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
movsd  0xe66(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x8(%rbp),%xmm2
movsd  0xdbf(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xd8b(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x18(%rbp),%xmm1
movsd  0xd8e(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  0xd91(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm4
movsd  0xd6f(%rip),%xmm3
mulsd  -0x18(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0xd2b(%rip),%xmm5
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
movsd  -0x20(%rbp),%xmm3
movsd  0xd46(%rip),%xmm5
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm2
movsd  0xd30(%rip),%xmm3
mulsd  -0x20(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0xce4(%rip),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xcec(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm2
movsd  0xce3(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xcaf(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x20(%rbp),%xmm1
movsd  0xcb2(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  0xcb5(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x18(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm4
movsd  0xc93(%rip),%xmm3
mulsd  -0x20(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0xc4f(%rip),%xmm5
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
movsd  -0x28(%rbp),%xmm3
movsd  0xc6a(%rip),%xmm5
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  0xc4c(%rip),%xmm3
mulsd  -0x28(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0xc08(%rip),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xb80(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  0xbe7(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xb33(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x28(%rbp),%xmm1
movsd  0xba6(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0xb89(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x20(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm4
movsd  0xb67(%rip),%xmm3
mulsd  -0x28(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0xb3b(%rip),%xmm5
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
movsd  -0x30(%rbp),%xmm3
movsd  0xb1e(%rip),%xmm5
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  0xaf0(%rip),%xmm3
mulsd  -0x30(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0xac4(%rip),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xaa4(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
movsd  0xa73(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xa47(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x30(%rbp),%xmm1
movsd  0xa2a(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  -0x38(%rbp),%xmm2
movsd  0xa0d(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x28(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm4
movsd  0x9eb(%rip),%xmm3
mulsd  -0x30(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0x9bf(%rip),%xmm5
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
movsd  -0x38(%rbp),%xmm3
movsd  0x9a2(%rip),%xmm5
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0x974(%rip),%xmm3
mulsd  -0x38(%rbp),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
movsd  0x948(%rip),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x928(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0x8e9(%rip),%xmm1
addsd  -0x60(%rbp),%xmm1
movsd  0x8dc(%rip),%xmm0
addsd  -0x60(%rbp),%xmm0
mulsd  %xmm0,%xmm1
movsd  0x8e3(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0x8ba(%rip),%xmm1
addsd  -0x68(%rbp),%xmm1
movsd  0x8ad(%rip),%xmm0
addsd  -0x68(%rbp),%xmm0
mulsd  %xmm0,%xmm1
movsd  0x8ac(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0x888(%rip),%xmm1
addsd  -0x70(%rbp),%xmm1
movsd  0x87b(%rip),%xmm0
addsd  -0x70(%rbp),%xmm0
mulsd  %xmm0,%xmm1
movsd  0x872(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0x856(%rip),%xmm1
addsd  -0x78(%rbp),%xmm1
movsd  0x849(%rip),%xmm0
addsd  -0x78(%rbp),%xmm0
mulsd  %xmm0,%xmm1
movsd  0x830(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x80(%rbp),%xmm1
addsd  -0x88(%rbp),%xmm1
ff
addsd  -0x90(%rbp),%xmm1
ff
addsd  -0x98(%rbp),%xmm1
movsd  0x7f7(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mulsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
mulsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
mulsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mulsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  -0x40(%rbp),%xmm2
movsd  -0xb0(%rbp),%xmm1
ff
mulsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xb8(%rbp),%xmm1
ff
movsd  -0x50(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x58(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interp_weno7>:
movaps %xmm6,-0x18(%rsp)
movapd %xmm5,%xmm6
movapd %xmm4,%xmm5
movapd %xmm2,%xmm4
movsd  0xee6(%rip),%xmm12
movapd %xmm1,%xmm8
mulsd  %xmm12,%xmm8
movsd  0xedc(%rip),%xmm7
mulsd  %xmm0,%xmm7
addsd  %xmm8,%xmm7
movsd  0xed2(%rip),%xmm9
mulsd  %xmm2,%xmm9
addsd  %xmm7,%xmm9
movsd  0xec7(%rip),%xmm8
mulsd  %xmm3,%xmm8
addsd  %xmm9,%xmm8
movsd  0xebc(%rip),%xmm13
movapd %xmm2,%xmm9
mulsd  %xmm13,%xmm9
movsd  0xeb1(%rip),%xmm10
movapd %xmm1,%xmm7
mulsd  %xmm10,%xmm7
addsd  %xmm9,%xmm7
movapd %xmm3,%xmm11
mulsd  %xmm12,%xmm11
addsd  %xmm7,%xmm11
movsd  0xe93(%rip),%xmm14
movapd %xmm5,%xmm9
mulsd  %xmm14,%xmm9
addsd  %xmm11,%xmm9
movsd  0xe84(%rip),%xmm7
movapd %xmm3,%xmm15
mulsd  %xmm7,%xmm15
movsd  0xe79(%rip),%xmm11
mulsd  %xmm11,%xmm2
addsd  %xmm15,%xmm2
mulsd  %xmm5,%xmm7
addsd  %xmm2,%xmm7
mulsd  %xmm6,%xmm11
addsd  %xmm7,%xmm11
mulsd  %xmm5,%xmm12
mulsd  %xmm3,%xmm14
addsd  %xmm12,%xmm14
mulsd  %xmm6,%xmm13
addsd  %xmm14,%xmm13
movapd -0x18(%rsp),%xmm14
mulsd  %xmm14,%xmm10
addsd  %xmm13,%xmm10
unpcklpd %xmm1,%xmm0
unpcklpd %xmm4,%xmm1
movapd 0xe33(%rip),%xmm2
mulpd  %xmm1,%xmm2
movapd 0xe37(%rip),%xmm7
mulpd  %xmm0,%xmm7
addpd  %xmm2,%xmm7
unpcklpd %xmm3,%xmm4
movapd 0xe33(%rip),%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm7,%xmm2
unpcklpd %xmm5,%xmm3
movapd 0xe2e(%rip),%xmm13
mulpd  %xmm3,%xmm13
addpd  %xmm2,%xmm13
movapd 0xe2b(%rip),%xmm12
mulpd  %xmm4,%xmm12
movapd 0xe2e(%rip),%xmm2
mulpd  %xmm1,%xmm2
addpd  %xmm12,%xmm2
movapd 0xe2d(%rip),%xmm7
mulpd  %xmm3,%xmm7
addpd  %xmm2,%xmm7
mulpd  %xmm1,%xmm7
mulpd  %xmm0,%xmm13
addpd  %xmm7,%xmm13
movapd 0xe1f(%rip),%xmm0
mulpd  %xmm3,%xmm0
movapd 0xe23(%rip),%xmm1
mulpd  %xmm4,%xmm1
addpd  %xmm0,%xmm1
mulpd  %xmm4,%xmm1
addpd  %xmm13,%xmm1
movapd 0xe1a(%rip),%xmm0
mulpd  %xmm3,%xmm0
mulpd  %xmm3,%xmm0
addpd  %xmm1,%xmm0
movapd 0xe16(%rip),%xmm1
mulpd  %xmm3,%xmm1
movapd 0xe1a(%rip),%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm1,%xmm2
unpcklpd %xmm6,%xmm5
movapd 0xe16(%rip),%xmm7
mulpd  %xmm5,%xmm7
addpd  %xmm2,%xmm7
unpcklpd %xmm14,%xmm6
movapd 0xe11(%rip),%xmm1
mulpd  %xmm6,%xmm1
addpd  %xmm7,%xmm1
movapd 0xe11(%rip),%xmm2
mulpd  %xmm5,%xmm2
movapd 0xe15(%rip),%xmm7
mulpd  %xmm3,%xmm7
addpd  %xmm2,%xmm7
movapd 0xe15(%rip),%xmm2
mulpd  %xmm6,%xmm2
addpd  %xmm7,%xmm2
mulpd  %xmm3,%xmm2
mulpd  %xmm4,%xmm1
addpd  %xmm2,%xmm1
movapd 0xe09(%rip),%xmm2
mulpd  %xmm6,%xmm2
movapd 0xe0d(%rip),%xmm3
mulpd  %xmm5,%xmm3
addpd  %xmm2,%xmm3
mulpd  %xmm5,%xmm3
addpd  %xmm1,%xmm3
movapd 0xe05(%rip),%xmm2
mulpd  %xmm6,%xmm2
mulpd  %xmm6,%xmm2
addpd  %xmm3,%xmm2
movapd 0xe01(%rip),%xmm1
addpd  %xmm1,%xmm0
mulpd  %xmm0,%xmm0
movapd 0xe01(%rip),%xmm3
divpd  %xmm0,%xmm3
addpd  %xmm1,%xmm2
mulpd  %xmm2,%xmm2
movapd 0xdfd(%rip),%xmm1
divpd  %xmm2,%xmm1
movapd %xmm3,%xmm2
unpckhpd %xmm3,%xmm2
movapd %xmm3,%xmm4
addsd  %xmm2,%xmm4
addsd  %xmm1,%xmm4
movapd %xmm1,%xmm5
unpckhpd %xmm1,%xmm5
addsd  %xmm5,%xmm4
movsd  0xc69(%rip),%xmm0
divsd  %xmm4,%xmm0
mulsd  %xmm0,%xmm3
mulsd  %xmm8,%xmm3
mulsd  %xmm0,%xmm2
mulsd  %xmm9,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm0,%xmm1
mulsd  %xmm11,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm5,%xmm0
mulsd  %xmm10,%xmm0
addsd  %xmm1,%xmm0
ret

LLVM IR (-O0):
define double @interp_weno7(double %0, double %1, double %2, double %3, double %4, double %5, double %6) {
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%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 double
store double %0, double* %8
store double %1, double* %9
store double %2, double* %10
store double %3, double* %11
store double %4, double* %12
store double %5, double* %13
store double %6, double* %14
%32 = load double, double* %8
%33 = load double, double* %9
%34 = fmul double 0x3FF1555555555555, %33
%35 = call double @llvm.fmuladd.f64(double -2.500000e-01, double %32, double %34)
%36 = load double, double* %10
%37 = call double @llvm.fmuladd.f64(double 0xBFFEAAAAAAAAAAAB, double %36, double %35)
%38 = load double, double* %11
%39 = call double @llvm.fmuladd.f64(double 0x4000AAAAAAAAAAAB, double %38, double %37)
store double %39, double* %15
%40 = load double, double* %9
%41 = load double, double* %10
%42 = fmul double 0xBFDAAAAAAAAAAAAB, %41
%43 = call double @llvm.fmuladd.f64(double 0x3FB5555555555555, double %40, double %42)
%44 = load double, double* %11
%45 = call double @llvm.fmuladd.f64(double 0x3FF1555555555555, double %44, double %43)
%46 = load double, double* %12
%47 = call double @llvm.fmuladd.f64(double 2.500000e-01, double %46, double %45)
store double %47, double* %16
%48 = load double, double* %10
%49 = load double, double* %11
%50 = fmul double 0x3FE2AAAAAAAAAAAB, %49
%51 = call double @llvm.fmuladd.f64(double 0xBFB5555555555555, double %48, double %50)
%52 = load double, double* %12
%53 = call double @llvm.fmuladd.f64(double 0x3FE2AAAAAAAAAAAB, double %52, double %51)
%54 = load double, double* %13
%55 = call double @llvm.fmuladd.f64(double 0xBFB5555555555555, double %54, double %53)
store double %55, double* %17
%56 = load double, double* %11
%57 = load double, double* %12
%58 = fmul double 0x3FF1555555555555, %57
%59 = call double @llvm.fmuladd.f64(double 2.500000e-01, double %56, double %58)
%60 = load double, double* %13
%61 = call double @llvm.fmuladd.f64(double 0xBFDAAAAAAAAAAAAB, double %60, double %59)
%62 = load double, double* %14
%63 = call double @llvm.fmuladd.f64(double 0x3FB5555555555555, double %62, double %61)
store double %63, double* %18
%64 = load double, double* %8
%65 = load double, double* %8
%66 = load double, double* %9
%67 = fmul double 3.882000e+03, %66
%68 = fneg double %67
%69 = call double @llvm.fmuladd.f64(double 5.470000e+02, double %65, double %68)
%70 = load double, double* %10
%71 = call double @llvm.fmuladd.f64(double 4.642000e+03, double %70, double %69)
%72 = load double, double* %11
%73 = call double @llvm.fmuladd.f64(double -1.854000e+03, double %72, double %71)
%74 = load double, double* %9
%75 = load double, double* %9
%76 = load double, double* %10
%77 = fmul double 1.724600e+04, %76
%78 = fneg double %77
%79 = call double @llvm.fmuladd.f64(double 7.043000e+03, double %75, double %78)
%80 = load double, double* %11
%81 = call double @llvm.fmuladd.f64(double 7.042000e+03, double %80, double %79)
%82 = fmul double %74, %81
%83 = call double @llvm.fmuladd.f64(double %64, double %73, double %82)
%84 = load double, double* %10
%85 = load double, double* %10
%86 = load double, double* %11
%87 = fmul double 9.402000e+03, %86
%88 = fneg double %87
%89 = call double @llvm.fmuladd.f64(double 1.100300e+04, double %85, double %88)
%90 = call double @llvm.fmuladd.f64(double %84, double %89, double %83)
%91 = load double, double* %11
%92 = fmul double 2.107000e+03, %91
%93 = load double, double* %11
%94 = call double @llvm.fmuladd.f64(double %92, double %93, double %90)
store double %94, double* %19
%95 = load double, double* %9
%96 = load double, double* %9
%97 = load double, double* %10
%98 = fmul double 1.642000e+03, %97
%99 = fneg double %98
%100 = call double @llvm.fmuladd.f64(double 2.670000e+02, double %96, double %99)
%101 = load double, double* %11
%102 = call double @llvm.fmuladd.f64(double 1.602000e+03, double %101, double %100)
%103 = load double, double* %12
%104 = call double @llvm.fmuladd.f64(double -4.940000e+02, double %103, double %102)
%105 = load double, double* %10
%106 = load double, double* %10
%107 = load double, double* %11
%108 = fmul double 5.966000e+03, %107
%109 = fneg double %108
%110 = call double @llvm.fmuladd.f64(double 2.843000e+03, double %106, double %109)
%111 = load double, double* %12
%112 = call double @llvm.fmuladd.f64(double 1.922000e+03, double %111, double %110)
%113 = fmul double %105, %112
%114 = call double @llvm.fmuladd.f64(double %95, double %104, double %113)
%115 = load double, double* %11
%116 = load double, double* %11
%117 = load double, double* %12
%118 = fmul double 2.522000e+03, %117
%119 = fneg double %118
%120 = call double @llvm.fmuladd.f64(double 3.443000e+03, double %116, double %119)
%121 = call double @llvm.fmuladd.f64(double %115, double %120, double %114)
%122 = load double, double* %12
%123 = fmul double 5.470000e+02, %122
%124 = load double, double* %12
%125 = call double @llvm.fmuladd.f64(double %123, double %124, double %121)
store double %125, double* %20
%126 = load double, double* %10
%127 = load double, double* %10
%128 = load double, double* %11
%129 = fmul double 2.522000e+03, %128
%130 = fneg double %129
%131 = call double @llvm.fmuladd.f64(double 5.470000e+02, double %127, double %130)
%132 = load double, double* %12
%133 = call double @llvm.fmuladd.f64(double 1.922000e+03, double %132, double %131)
%134 = load double, double* %13
%135 = call double @llvm.fmuladd.f64(double -4.940000e+02, double %134, double %133)
%136 = load double, double* %11
%137 = load double, double* %11
%138 = load double, double* %12
%139 = fmul double 5.966000e+03, %138
%140 = fneg double %139
%141 = call double @llvm.fmuladd.f64(double 3.443000e+03, double %137, double %140)
%142 = load double, double* %13
%143 = call double @llvm.fmuladd.f64(double 1.602000e+03, double %142, double %141)
%144 = fmul double %136, %143
%145 = call double @llvm.fmuladd.f64(double %126, double %135, double %144)
%146 = load double, double* %12
%147 = load double, double* %12
%148 = load double, double* %13
%149 = fmul double 1.642000e+03, %148
%150 = fneg double %149
%151 = call double @llvm.fmuladd.f64(double 2.843000e+03, double %147, double %150)
%152 = call double @llvm.fmuladd.f64(double %146, double %151, double %145)
%153 = load double, double* %13
%154 = fmul double 2.670000e+02, %153
%155 = load double, double* %13
%156 = call double @llvm.fmuladd.f64(double %154, double %155, double %152)
store double %156, double* %21
%157 = load double, double* %11
%158 = load double, double* %11
%159 = load double, double* %12
%160 = fmul double 9.402000e+03, %159
%161 = fneg double %160
%162 = call double @llvm.fmuladd.f64(double 2.107000e+03, double %158, double %161)
%163 = load double, double* %13
%164 = call double @llvm.fmuladd.f64(double 7.042000e+03, double %163, double %162)
%165 = load double, double* %14
%166 = call double @llvm.fmuladd.f64(double -1.854000e+03, double %165, double %164)
%167 = load double, double* %12
%168 = load double, double* %12
%169 = load double, double* %13
%170 = fmul double 1.724600e+04, %169
%171 = fneg double %170
%172 = call double @llvm.fmuladd.f64(double 1.100300e+04, double %168, double %171)
%173 = load double, double* %14
%174 = call double @llvm.fmuladd.f64(double 4.642000e+03, double %173, double %172)
%175 = fmul double %167, %174
%176 = call double @llvm.fmuladd.f64(double %157, double %166, double %175)
%177 = load double, double* %13
%178 = load double, double* %13
%179 = load double, double* %14
%180 = fmul double 3.882000e+03, %179
%181 = fneg double %180
%182 = call double @llvm.fmuladd.f64(double 7.043000e+03, double %178, double %181)
%183 = call double @llvm.fmuladd.f64(double %177, double %182, double %176)
%184 = load double, double* %14
%185 = fmul double 5.470000e+02, %184
%186 = load double, double* %14
%187 = call double @llvm.fmuladd.f64(double %185, double %186, double %183)
store double %187, double* %22
%188 = load double, double* %19
%189 = fadd double %188, 1.000000e-10
%190 = load double, double* %19
%191 = fadd double %190, 1.000000e-10
%192 = fmul double %189, %191
%193 = fdiv double 0x3F9D41D41D41D41D, %192
store double %193, double* %23
%194 = load double, double* %20
%195 = fadd double %194, 1.000000e-10
%196 = load double, double* %20
%197 = fadd double %196, 1.000000e-10
%198 = fmul double %195, %197
%199 = fdiv double 0x3FD5F15F15F15F16, %198
store double %199, double* %24
%200 = load double, double* %21
%201 = fadd double %200, 1.000000e-10
%202 = load double, double* %21
%203 = fadd double %202, 1.000000e-10
%204 = fmul double %201, %203
%205 = fdiv double 0x3FE0750750750750, %204
store double %205, double* %25
%206 = load double, double* %22
%207 = fadd double %206, 1.000000e-10
%208 = load double, double* %22
%209 = fadd double %208, 1.000000e-10
%210 = fmul double %207, %209
%211 = fdiv double 0x3FBD41D41D41D41D, %210
store double %211, double* %26
%212 = load double, double* %23
%213 = load double, double* %24
%214 = fadd double %212, %213
%215 = load double, double* %25
%216 = fadd double %214, %215
%217 = load double, double* %26
%218 = fadd double %216, %217
%219 = fdiv double 1.000000e+00, %218
store double %219, double* %27
%220 = load double, double* %23
%221 = load double, double* %27
%222 = fmul double %220, %221
store double %222, double* %28
%223 = load double, double* %24
%224 = load double, double* %27
%225 = fmul double %223, %224
store double %225, double* %29
%226 = load double, double* %25
%227 = load double, double* %27
%228 = fmul double %226, %227
store double %228, double* %30
%229 = load double, double* %26
%230 = load double, double* %27
%231 = fmul double %229, %230
store double %231, double* %31
%232 = load double, double* %28
%233 = load double, double* %15
%234 = load double, double* %29
%235 = load double, double* %16
%236 = fmul double %234, %235
%237 = call double @llvm.fmuladd.f64(double %232, double %233, double %236)
%238 = load double, double* %30
%239 = load double, double* %17
%240 = call double @llvm.fmuladd.f64(double %238, double %239, double %237)
%241 = load double, double* %31
%242 = load double, double* %18
%243 = call double @llvm.fmuladd.f64(double %241, double %242, double %240)
ret double %243
}

LLVM IR (-O2):
define double @interp_weno7(double %0, double %1, double %2, double %3, double %4, double %5, double %6) {
%8 = fmul double %1, 0x3FF1555555555555
%9 = tail call double @llvm.fmuladd.f64(double %0, double -2.500000e-01, double %8)
%10 = tail call double @llvm.fmuladd.f64(double %2, double 0xBFFEAAAAAAAAAAAB, double %9)
%11 = tail call double @llvm.fmuladd.f64(double %3, double 0x4000AAAAAAAAAAAB, double %10)
%12 = fmul double %2, 0xBFDAAAAAAAAAAAAB
%13 = tail call double @llvm.fmuladd.f64(double %1, double 0x3FB5555555555555, double %12)
%14 = tail call double @llvm.fmuladd.f64(double %3, double 0x3FF1555555555555, double %13)
%15 = tail call double @llvm.fmuladd.f64(double %4, double 2.500000e-01, double %14)
%16 = fmul double %3, 0x3FE2AAAAAAAAAAAB
%17 = tail call double @llvm.fmuladd.f64(double %2, double 0xBFB5555555555555, double %16)
%18 = tail call double @llvm.fmuladd.f64(double %4, double 0x3FE2AAAAAAAAAAAB, double %17)
%19 = tail call double @llvm.fmuladd.f64(double %5, double 0xBFB5555555555555, double %18)
%20 = fmul double %4, 0x3FF1555555555555
%21 = tail call double @llvm.fmuladd.f64(double %3, double 2.500000e-01, double %20)
%22 = tail call double @llvm.fmuladd.f64(double %5, double 0xBFDAAAAAAAAAAAAB, double %21)
%23 = tail call double @llvm.fmuladd.f64(double %6, double 0x3FB5555555555555, double %22)
%24 = insertelement <2 x double> poison, double %1, i64 0
%25 = insertelement <2 x double> %24, double %2, i64 1
%26 = fmul <2 x double> %25, <double -3.882000e+03, double -1.642000e+03>
%27 = insertelement <2 x double> poison, double %0, i64 0
%28 = insertelement <2 x double> %27, double %1, i64 1
%29 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %28, <2 x double> <double 5.470000e+02, double 2.670000e+02>, <2 x double> %26)
%30 = insertelement <2 x double> poison, double %2, i64 0
%31 = insertelement <2 x double> %30, double %3, i64 1
%32 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> <double 4.642000e+03, double 1.602000e+03>, <2 x double> %29)
%33 = insertelement <2 x double> poison, double %3, i64 0
%34 = insertelement <2 x double> %33, double %4, i64 1
%35 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %34, <2 x double> <double -1.854000e+03, double -4.940000e+02>, <2 x double> %32)
%36 = fmul <2 x double> %31, <double -1.724600e+04, double -5.966000e+03>
%37 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> <double 7.043000e+03, double 2.843000e+03>, <2 x double> %36)
%38 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %34, <2 x double> <double 7.042000e+03, double 1.922000e+03>, <2 x double> %37)
%39 = fmul <2 x double> %38, %25
%40 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %28, <2 x double> %35, <2 x double> %39)
%41 = fmul <2 x double> %34, <double -9.402000e+03, double -2.522000e+03>
%42 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> <double 1.100300e+04, double 3.443000e+03>, <2 x double> %41)
%43 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> %42, <2 x double> %40)
%44 = fmul <2 x double> %34, <double 2.107000e+03, double 5.470000e+02>
%45 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %34, <2 x double> %43)
%46 = fmul <2 x double> %34, <double -2.522000e+03, double -9.402000e+03>
%47 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> <double 5.470000e+02, double 2.107000e+03>, <2 x double> %46)
%48 = insertelement <2 x double> poison, double %4, i64 0
%49 = insertelement <2 x double> %48, double %5, i64 1
%50 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %49, <2 x double> <double 1.922000e+03, double 7.042000e+03>, <2 x double> %47)
%51 = insertelement <2 x double> poison, double %5, i64 0
%52 = insertelement <2 x double> %51, double %6, i64 1
%53 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %52, <2 x double> <double -4.940000e+02, double -1.854000e+03>, <2 x double> %50)
%54 = fmul <2 x double> %49, <double -5.966000e+03, double -1.724600e+04>
%55 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %34, <2 x double> <double 3.443000e+03, double 1.100300e+04>, <2 x double> %54)
%56 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %52, <2 x double> <double 1.602000e+03, double 4.642000e+03>, <2 x double> %55)
%57 = fmul <2 x double> %56, %34
%58 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> %53, <2 x double> %57)
%59 = fmul <2 x double> %52, <double -1.642000e+03, double -3.882000e+03>
%60 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %49, <2 x double> <double 2.843000e+03, double 7.043000e+03>, <2 x double> %59)
%61 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %49, <2 x double> %60, <2 x double> %58)
%62 = fmul <2 x double> %52, <double 2.670000e+02, double 5.470000e+02>
%63 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %62, <2 x double> %52, <2 x double> %61)
%64 = fadd <2 x double> %45, <double 1.000000e-10, double 1.000000e-10>
%65 = fmul <2 x double> %64, %64
%66 = fdiv <2 x double> <double 0x3F9D41D41D41D41D, double 0x3FD5F15F15F15F16>, %65
%67 = fadd <2 x double> %63, <double 1.000000e-10, double 1.000000e-10>
%68 = fmul <2 x double> %67, %67
%69 = fdiv <2 x double> <double 0x3FE0750750750750, double 0x3FBD41D41D41D41D>, %68
%70 = extractelement <2 x double> %66, i64 0
%71 = extractelement <2 x double> %66, i64 1
%72 = fadd double %70, %71
%73 = extractelement <2 x double> %69, i64 0
%74 = fadd double %72, %73
%75 = extractelement <2 x double> %69, i64 1
%76 = fadd double %74, %75
%77 = fdiv double 1.000000e+00, %76
%78 = fmul double %70, %77
%79 = fmul double %71, %77
%80 = fmul double %73, %77
%81 = fmul double %75, %77
%82 = fmul double %15, %79
%83 = tail call double @llvm.fmuladd.f64(double %78, double %11, double %82)
%84 = tail call double @llvm.fmuladd.f64(double %80, double %19, double %83)
%85 = tail call double @llvm.fmuladd.f64(double %81, double %23, double %84)
ret double %85
}