double Derivative7_1(i, f)
int i;
double f[];
{
  double tmp;
  tmp =
      1.66666666667e-2 *
      (-147.0 * f[i] + 360.0 * f[i + 1] - 450.0 * f[i + 2] + 400.0 * f[i + 3] -
       225.0 * f[i + 4] + 72.0 * f[i + 5] - 10.0 * f[i + 6]);
  return tmp;
}


x86 assembly (clang, -O0):
<Derivative7_1>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x4(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xf0b(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movsd  0xef6(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xecc(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  0xea2(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xe78(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x5,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  0xe4e(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x6,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xe24(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe0c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<Derivative7_1>:
movslq %edi,%rax
movsd  (%rsi,%rax,8),%xmm0
movsd  0x8(%rsi,%rax,8),%xmm1
mulsd  0xeea(%rip),%xmm1
mulsd  0xeea(%rip),%xmm0
movsd  0x10(%rsi,%rax,8),%xmm2
mulsd  0xee4(%rip),%xmm2
addsd  %xmm1,%xmm0
movsd  0x18(%rsi,%rax,8),%xmm1
mulsd  0xeda(%rip),%xmm1
addsd  %xmm0,%xmm2
movsd  0x20(%rsi,%rax,8),%xmm3
mulsd  0xed0(%rip),%xmm3
addsd  %xmm2,%xmm1
movsd  0x28(%rsi,%rax,8),%xmm2
mulsd  0xec6(%rip),%xmm2
addsd  %xmm1,%xmm3
movsd  0x30(%rsi,%rax,8),%xmm0
mulsd  0xebc(%rip),%xmm0
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm0
mulsd  0xeb4(%rip),%xmm0
ret

LLVM IR (-O0):
define double @Derivative7_1(i32 %0, double* %1) {
%3 = alloca i32
%4 = alloca double*
%5 = alloca double
store i32 %0, i32* %3
store double* %1, double** %4
%6 = load double*, double** %4
%7 = load i32, i32* %3
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds double, double* %6, i64 %8
%10 = load double, double* %9
%11 = load double*, double** %4
%12 = load i32, i32* %3
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, double* %11, i64 %14
%16 = load double, double* %15
%17 = fmul double 3.600000e+02, %16
%18 = call double @llvm.fmuladd.f64(double -1.470000e+02, double %10, double %17)
%19 = load double*, double** %4
%20 = load i32, i32* %3
%21 = add nsw i32 %20, 2
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, double* %19, i64 %22
%24 = load double, double* %23
%25 = call double @llvm.fmuladd.f64(double -4.500000e+02, double %24, double %18)
%26 = load double*, double** %4
%27 = load i32, i32* %3
%28 = add nsw i32 %27, 3
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, double* %26, i64 %29
%31 = load double, double* %30
%32 = call double @llvm.fmuladd.f64(double 4.000000e+02, double %31, double %25)
%33 = load double*, double** %4
%34 = load i32, i32* %3
%35 = add nsw i32 %34, 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, double* %33, i64 %36
%38 = load double, double* %37
%39 = call double @llvm.fmuladd.f64(double -2.250000e+02, double %38, double %32)
%40 = load double*, double** %4
%41 = load i32, i32* %3
%42 = add nsw i32 %41, 5
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, double* %40, i64 %43
%45 = load double, double* %44
%46 = call double @llvm.fmuladd.f64(double 7.200000e+01, double %45, double %39)
%47 = load double*, double** %4
%48 = load i32, i32* %3
%49 = add nsw i32 %48, 6
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, double* %47, i64 %50
%52 = load double, double* %51
%53 = call double @llvm.fmuladd.f64(double -1.000000e+01, double %52, double %46)
%54 = fmul double 0x3F91111111113699, %53
store double %54, double* %5
%55 = load double, double* %5
ret double %55
}

LLVM IR (-O2):
define double @Derivative7_1(i32 %0, double* nocapture %1) {
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds double, double* %1, i64 %3
%5 = load double, double* %4
%6 = add nsw i32 %0, 1
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds double, double* %1, i64 %7
%9 = load double, double* %8
%10 = fmul double %9, 3.600000e+02
%11 = tail call double @llvm.fmuladd.f64(double %5, double -1.470000e+02, double %10)
%12 = add nsw i32 %0, 2
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, double* %1, i64 %13
%15 = load double, double* %14
%16 = tail call double @llvm.fmuladd.f64(double %15, double -4.500000e+02, double %11)
%17 = add nsw i32 %0, 3
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, double* %1, i64 %18
%20 = load double, double* %19
%21 = tail call double @llvm.fmuladd.f64(double %20, double 4.000000e+02, double %16)
%22 = add nsw i32 %0, 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, double* %1, i64 %23
%25 = load double, double* %24
%26 = tail call double @llvm.fmuladd.f64(double %25, double -2.250000e+02, double %21)
%27 = add nsw i32 %0, 5
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, double* %1, i64 %28
%30 = load double, double* %29
%31 = tail call double @llvm.fmuladd.f64(double %30, double 7.200000e+01, double %26)
%32 = add nsw i32 %0, 6
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, double* %1, i64 %33
%35 = load double, double* %34
%36 = tail call double @llvm.fmuladd.f64(double %35, double -1.000000e+01, double %31)
%37 = fmul double %36, 0x3F91111111113699
ret double %37
}