double Exzx2y2(double l, double m, double n) {
  return 3 / 2 * n * l * l * l * -0.03753 + l * n * (1 - 2 * l * l) * 0.02719 -
         l * n * (1 - l * l / 2) * -0.00488;
}


x86 assembly (clang, -O0):
<Exzx2y2>:
push   %rbp
mov    %rsp,%rbp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  0xeed(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
movsd  -0x8(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  0xecf(%rip),%xmm2
mulsd  -0x8(%rbp),%xmm2
movsd  -0x8(%rbp),%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
movsd  0xe9a(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
movsd  0xea2(%rip),%xmm2
mulsd  %xmm2,%xmm0
movsd  0xe8e(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x8(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  -0x8(%rbp),%xmm3
mulsd  -0x8(%rbp),%xmm3
movsd  0xe62(%rip),%xmm2
divsd  %xmm2,%xmm3
movsd  0xe4e(%rip),%xmm2
subsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  0xe1f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<Exzx2y2>:
mulsd  %xmm0,%xmm2
movapd %xmm2,%xmm1
mulsd  %xmm0,%xmm1
movsd  0xeec(%rip),%xmm3
mulsd  %xmm0,%xmm3
mulsd  %xmm0,%xmm3
movsd  0xee4(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm2,%xmm3
mulsd  0xedc(%rip),%xmm3
mulsd  %xmm0,%xmm1
mulsd  0xed8(%rip),%xmm1
addsd  %xmm3,%xmm1
mulsd  %xmm0,%xmm0
mulsd  0xed0(%rip),%xmm0
addsd  %xmm4,%xmm0
mulsd  %xmm2,%xmm0
mulsd  0xec8(%rip),%xmm0
addsd  %xmm1,%xmm0
ret

LLVM IR (-O0):
define double @Exzx2y2(double %0, double %1, double %2) {
%4 = alloca double
%5 = alloca double
%6 = alloca double
store double %0, double* %4
store double %1, double* %5
store double %2, double* %6
%7 = load double, double* %6
%8 = fmul double 1.000000e+00, %7
%9 = load double, double* %4
%10 = fmul double %8, %9
%11 = load double, double* %4
%12 = fmul double %10, %11
%13 = load double, double* %4
%14 = fmul double %12, %13
%15 = load double, double* %4
%16 = load double, double* %6
%17 = fmul double %15, %16
%18 = load double, double* %4
%19 = fmul double 2.000000e+00, %18
%20 = load double, double* %4
%21 = fneg double %19
%22 = call double @llvm.fmuladd.f64(double %21, double %20, double 1.000000e+00)
%23 = fmul double %17, %22
%24 = fmul double %23, 2.719000e-02
%25 = call double @llvm.fmuladd.f64(double %14, double -3.753000e-02, double %24)
%26 = load double, double* %4
%27 = load double, double* %6
%28 = fmul double %26, %27
%29 = load double, double* %4
%30 = load double, double* %4
%31 = fmul double %29, %30
%32 = fdiv double %31, 2.000000e+00
%33 = fsub double 1.000000e+00, %32
%34 = fmul double %28, %33
%35 = fneg double %34
%36 = call double @llvm.fmuladd.f64(double %35, double -4.880000e-03, double %25)
ret double %36
}

LLVM IR (-O2):
define double @Exzx2y2(double %0, double %1, double %2) {
%4 = fmul double %0, %2
%5 = fmul double %4, %0
%6 = fmul double %5, %0
%7 = fmul double %0, -2.000000e+00
%8 = tail call double @llvm.fmuladd.f64(double %7, double %0, double 1.000000e+00)
%9 = fmul double %8, %4
%10 = fmul double %9, 2.719000e-02
%11 = tail call double @llvm.fmuladd.f64(double %6, double -3.753000e-02, double %10)
%12 = fmul double %0, %0
%13 = fmul double %12, 5.000000e-01
%14 = fsub double 1.000000e+00, %13
%15 = fneg double %4
%16 = fmul double %14, %15
%17 = tail call double @llvm.fmuladd.f64(double %16, double -4.880000e-03, double %11)
ret double %17
}