#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double exp(double);
double pow(double, double);
double sqrt(double);
double F_normale_centree_reduite(double u) {
  double b1, b2, b3, b4, b5, t, P;
  b1 = 0.319381530;
  b2 = -0.356563782;
  b3 = 1.781477937;
  b4 = -1.821255978;
  b5 = 1.330274429;
  t = 1.0 / (1.0 + 0.2316419 * u);
  P = 1.0 - 1.0 / sqrt(2.0 * 3.1415927) * exp(-0.5 * pow(u, 2.0)) *
                (b1 * t + b2 * pow(t, 2.0) + b3 * pow(t, 3.0) +
                 b4 * pow(t, 4.0) + b5 * pow(t, 5.0));
  return P;
}


x86 assembly (clang, -O0):
<F_normale_centree_reduite>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  0xf18(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xf03(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xeee(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xed9(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xec4(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm1
movsd  0xeaa(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  0xe66(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  0xe5a(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe79(%rip),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  0xe39(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe40(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe38(%rip),%xmm0
mulsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  0xde2(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x90(%rbp),%xmm1
ff
movsd  -0x88(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x80(%rbp),%xmm0
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  0xd95(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x78(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  0xd57(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x68(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  0xd19(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x58(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x48(%rbp),%xmm0
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm1,%xmm0
movsd  0xccf(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<F_normale_centree_reduite>:
sub    $0x18,%rsp
movsd  0xed4(%rip),%xmm1
mulsd  %xmm0,%xmm1
movsd  0xed0(%rip),%xmm2
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm2
movsd  %xmm2,0x8(%rsp)
mulsd  %xmm0,%xmm0
mulsd  0xebe(%rip),%xmm0
call   1030 <exp@plt>
movsd  0x8(%rsp),%xmm2
movapd %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  0xeab(%rip),%xmm1
movsd  %xmm0,0x10(%rsp)
movsd  0xea5(%rip),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe98(%rip),%xmm1
movapd %xmm2,%xmm0
call   1040 <pow@plt>
mulsd  0xe8f(%rip),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe85(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe7a(%rip),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe70(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe65(%rip),%xmm0
addsd  (%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0xe5a(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0xdfe(%rip),%xmm0
add    $0x18,%rsp
ret

LLVM IR (-O0):
define double @F_normale_centree_reduite(double %0) {
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
store double %0, double* %2
store double 0x3FD470BF3A92F8EC, double* %3
store double 0xBFD6D1F0E5A8325B, double* %4
store double 0x3FFC80EF025F5E68, double* %5
store double 0xBFFD23DD4EF278D0, double* %6
store double 0x3FF548CDD6F42943, double* %7
%10 = load double, double* %2
%11 = call double @llvm.fmuladd.f64(double 0x3FCDA6711871100E, double %10, double 1.000000e+00)
%12 = fdiv double 1.000000e+00, %11
store double %12, double* %8
%13 = call double @sqrt(double 0x401921FB5A7ED197)
%14 = fdiv double 1.000000e+00, %13
%15 = load double, double* %2
%16 = call double @pow(double %15, double 2.000000e+00)
%17 = fmul double -5.000000e-01, %16
%18 = call double @exp(double %17)
%19 = fmul double %14, %18
%20 = load double, double* %3
%21 = load double, double* %8
%22 = load double, double* %4
%23 = load double, double* %8
%24 = call double @pow(double %23, double 2.000000e+00)
%25 = fmul double %22, %24
%26 = call double @llvm.fmuladd.f64(double %20, double %21, double %25)
%27 = load double, double* %5
%28 = load double, double* %8
%29 = call double @pow(double %28, double 3.000000e+00)
%30 = call double @llvm.fmuladd.f64(double %27, double %29, double %26)
%31 = load double, double* %6
%32 = load double, double* %8
%33 = call double @pow(double %32, double 4.000000e+00)
%34 = call double @llvm.fmuladd.f64(double %31, double %33, double %30)
%35 = load double, double* %7
%36 = load double, double* %8
%37 = call double @pow(double %36, double 5.000000e+00)
%38 = call double @llvm.fmuladd.f64(double %35, double %37, double %34)
%39 = fneg double %19
%40 = call double @llvm.fmuladd.f64(double %39, double %38, double 1.000000e+00)
store double %40, double* %9
%41 = load double, double* %9
ret double %41
}

LLVM IR (-O2):
define double @F_normale_centree_reduite(double %0) {
%2 = tail call double @llvm.fmuladd.f64(double %0, double 0x3FCDA6711871100E, double 1.000000e+00)
%3 = fdiv double 1.000000e+00, %2
%4 = fmul double %0, %0
%5 = fmul double %4, -5.000000e-01
%6 = tail call double @exp(double %5)
%7 = fmul double %3, %3
%8 = fmul double %7, 0xBFD6D1F0E5A8325B
%9 = tail call double @llvm.fmuladd.f64(double %3, double 0x3FD470BF3A92F8EC, double %8)
%10 = tail call double @pow(double %3, double 3.000000e+00)
%11 = tail call double @llvm.fmuladd.f64(double %10, double 0x3FFC80EF025F5E68, double %9)
%12 = tail call double @pow(double %3, double 4.000000e+00)
%13 = tail call double @llvm.fmuladd.f64(double %12, double 0xBFFD23DD4EF278D0, double %11)
%14 = tail call double @pow(double %3, double 5.000000e+00)
%15 = tail call double @llvm.fmuladd.f64(double %14, double 0x3FF548CDD6F42943, double %13)
%16 = fmul double %6, 0xBFD9884530AA3706
%17 = tail call double @llvm.fmuladd.f64(double %16, double %15, double 1.000000e+00)
ret double %17
}