#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 */
int /*<<< orphan*/ calc_add_double();
int /*<<< orphan*/ calc_add_float();
int /*<<< orphan*/ calc_add_int();
int /*<<< orphan*/ calc_cadd_float();
int /*<<< orphan*/ calc_cmp_float();
int /*<<< orphan*/ calc_div_double();
int /*<<< orphan*/ calc_div_float();
int /*<<< orphan*/ calc_div_int();
int /*<<< orphan*/ calc_exp_double();
int /*<<< orphan*/ calc_exp_float();
int /*<<< orphan*/ calc_mul_add_double();
int /*<<< orphan*/ calc_mul_add_float();
int /*<<< orphan*/ calc_mul_double();
int /*<<< orphan*/ calc_mul_float();
int /*<<< orphan*/ calc_mul_int();
int /*<<< orphan*/ calc_sum_float();
double get_mflops(double, int);
double get_time();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ set_value_double();
int /*<<< orphan*/ set_value_float();
int /*<<< orphan*/ set_value_int();
int main(int argc, char **argv) {
  double t_start;
  double time_add_int, time_mul_int, time_div_int;
  double time_add_float, time_mul_float, time_div_float, time_exp_float,
      time_mul_add_float;
  double time_sum_float, time_cadd_float, time_cmp_float;
  double time_add_double, time_mul_double, time_div_double, time_exp_double,
      time_mul_add_double;
  printf("/********************** SIMPLE BECHMARKS ***********************/\n");
  printf("                                           by nebula 20141124  \n\n");
  printf("[%s]\n", argv[0]);
  printf("calc num = %d * %d\n", 1000, 600000);
  set_value_int();
  calc_add_int();
  t_start = get_time();
  calc_add_int();
  time_add_int = (get_time() - t_start);
  printf("add(int)\t\t: %8.2f [msec]\n", time_add_int);
  t_start = get_time();
  calc_mul_int();
  time_mul_int = (get_time() - t_start);
  printf("mul(int)\t\t: %8.2f [msec]\n", time_mul_int);
  t_start = get_time();
  calc_div_int();
  time_div_int = (get_time() - t_start);
  printf("div(int)\t\t: %8.2f [msec]\n", time_div_int);
  set_value_float();
  calc_add_float();
  set_value_float();
  t_start = get_time();
  ;
  calc_add_float();
  ;
  time_add_float = (get_time() - t_start);
  printf("add(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_add_float,
         get_mflops(time_add_float, 1));
  set_value_float();
  t_start = get_time();
  ;
  calc_mul_float();
  ;
  time_mul_float = (get_time() - t_start);
  printf("mul(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_mul_float,
         get_mflops(time_mul_float, 1));
  set_value_float();
  t_start = get_time();
  ;
  calc_div_float();
  ;
  time_div_float = (get_time() - t_start);
  printf("div(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_div_float,
         get_mflops(time_div_float, 1));
  set_value_float();
  t_start = get_time();
  ;
  calc_mul_add_float();
  ;
  time_mul_add_float = (get_time() - t_start);
  printf("mul+add(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n",
         time_mul_add_float, get_mflops(time_mul_add_float, 2));
  set_value_float();
  t_start = get_time();
  ;
  calc_exp_float();
  ;
  time_exp_float = (get_time() - t_start);
  printf("exp(float)\t\t: %8.2f [msec]\n", time_exp_float);
  set_value_float();
  t_start = get_time();
  ;
  calc_sum_float();
  ;
  time_sum_float = (get_time() - t_start);
  printf("sum(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_sum_float,
         get_mflops(time_sum_float, 1));
  set_value_float();
  t_start = get_time();
  ;
  calc_cadd_float();
  ;
  time_cadd_float = (get_time() - t_start);
  printf("cadd(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_cadd_float,
         get_mflops(time_cadd_float, 1));
  set_value_float();
  t_start = get_time();
  ;
  calc_cmp_float();
  ;
  time_cmp_float = (get_time() - t_start);
  printf("cmp(float)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_cmp_float,
         get_mflops(time_cmp_float, 3));
  set_value_double();
  calc_add_double();
  set_value_double();
  t_start = get_time();
  ;
  calc_add_double();
  ;
  time_add_double = (get_time() - t_start);
  printf("add(double)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_add_double,
         get_mflops(time_add_double, 1));
  set_value_double();
  t_start = get_time();
  ;
  calc_mul_double();
  ;
  time_mul_double = (get_time() - t_start);
  printf("mul(double)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_mul_double,
         get_mflops(time_mul_double, 1));
  set_value_double();
  t_start = get_time();
  ;
  calc_div_double();
  ;
  time_div_double = (get_time() - t_start);
  printf("div(double)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n", time_div_double,
         get_mflops(time_div_double, 1));
  set_value_double();
  t_start = get_time();
  ;
  calc_mul_add_double();
  ;
  time_mul_add_double = (get_time() - t_start);
  printf("mul+add(double)\t\t: %8.2f [msec] = %8.2f [MFLOPS]\n",
         time_mul_add_double, get_mflops(time_mul_add_double, 2));
  set_value_double();
  t_start = get_time();
  ;
  calc_exp_double();
  ;
  time_exp_double = (get_time() - t_start);
  printf("exp(double)\t\t: %8.2f [msec]\n", time_exp_double);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xdb5(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xde2(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xdda(%rip),%rdi
mov    $0x3e8,%esi
mov    $0x927c0,%edx
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   10f0 <set_value_int@plt>
mov    $0x0,%al
call   1050 <calc_add_int@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1050 <calc_add_int@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
lea    0xd9f(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   10a0 <calc_mul_int@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
lea    0xd82(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1120 <calc_div_int@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
lea    0xd65(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10b0 <calc_add_float@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   10b0 <calc_add_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
lea    0xd6f(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1130 <calc_mul_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xe8(%rbp),%xmm0
ff
lea    0xcb1(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1160 <calc_div_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
lea    0xc7e(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1110 <calc_mul_add_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
mov    $0x2,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
lea    0xc4b(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   10c0 <calc_exp_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
lea    0xc3e(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1170 <calc_sum_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
lea    0xbfa(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1090 <calc_cadd_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
lea    0xbc7(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1030 <set_value_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1080 <calc_cmp_float@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    $0x3,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
lea    0xb95(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1140 <set_value_double@plt>
mov    $0x0,%al
call   1070 <calc_add_double@plt>
mov    $0x0,%al
call   1140 <set_value_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1070 <calc_add_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
lea    0xbb4(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1140 <set_value_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1180 <calc_mul_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
lea    0xaf4(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1140 <set_value_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   10d0 <calc_div_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
mov    $0x1,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
lea    0xab9(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1140 <set_value_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1040 <calc_mul_add_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mov    $0x2,%edi
call   1100 <get_mflops@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
lea    0xa7e(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1140 <set_value_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1150 <calc_exp_double@plt>
mov    $0x0,%al
call   10e0 <get_time@plt>
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
lea    0xa6c(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%rbx
lea    0xfc3(%rip),%rdi
call   1030 <puts@plt>
lea    0xff9(%rip),%rdi
call   1030 <puts@plt>
mov    (%rbx),%rsi
lea    0xd66(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xd5e(%rip),%rdi
mov    $0x3e8,%esi
mov    $0x927c0,%edx
xor    %eax,%eax
call   1070 <printf@plt>
xor    %eax,%eax
call   1100 <set_value_int@plt>
xor    %eax,%eax
call   1060 <calc_add_int@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1060 <calc_add_int@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
lea    0xd2b(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   10b0 <calc_mul_int@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
lea    0xd16(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1130 <calc_div_int@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
lea    0xd01(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10c0 <calc_add_float@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   10c0 <calc_add_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xd21(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1140 <calc_mul_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xc73(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1170 <calc_div_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xc50(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1120 <calc_mul_add_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x2,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xc2d(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   10d0 <calc_exp_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
lea    0xc22(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1180 <calc_sum_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xbf4(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   10a0 <calc_cadd_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xbd1(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1040 <set_value_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1090 <calc_cmp_float@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x3,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xbaf(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1150 <set_value_double@plt>
xor    %eax,%eax
call   1080 <calc_add_double@plt>
xor    %eax,%eax
call   1150 <set_value_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1080 <calc_add_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xbde(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1150 <set_value_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1190 <calc_mul_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xb2e(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1150 <set_value_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   10e0 <calc_div_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x1,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xb0c(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1150 <set_value_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1050 <calc_mul_add_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x2,%edi
call   1110 <get_mflops@plt>
movapd %xmm0,%xmm1
lea    0xaea(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1150 <set_value_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1160 <calc_exp_double@plt>
xor    %eax,%eax
call   10f0 <get_time@plt>
subsd  0x8(%rsp),%xmm0
lea    0xae0(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [67 x i8] c"/********************** SIMPLE BECHMARKS ***********************/\0A\00"
@.str.1 = [66 x i8] c" by nebula 20141124 \0A\0A\00"
@.str.2 = [6 x i8] c"[%s]\0A\00"
@.str.3 = [20 x i8] c"calc num = %d * %d\0A\00"
@.str.4 = [26 x i8] c"add(int)\09\09: %8.2f [msec]\0A\00"
@.str.5 = [26 x i8] c"mul(int)\09\09: %8.2f [msec]\0A\00"
@.str.6 = [26 x i8] c"div(int)\09\09: %8.2f [msec]\0A\00"
@.str.7 = [45 x i8] c"add(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.8 = [45 x i8] c"mul(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.9 = [45 x i8] c"div(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.10 = [49 x i8] c"mul+add(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.11 = [28 x i8] c"exp(float)\09\09: %8.2f [msec]\0A\00"
@.str.12 = [45 x i8] c"sum(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.13 = [46 x i8] c"cadd(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.14 = [45 x i8] c"cmp(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.15 = [46 x i8] c"add(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.16 = [46 x i8] c"mul(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.17 = [46 x i8] c"div(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.18 = [50 x i8] c"mul+add(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.19 = [29 x i8] c"exp(double)\09\09: %8.2f [msec]\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca double
%7 = alloca double
%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
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0))
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 0
%27 = load i8*, i8** %26
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %27)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 1000, i32 600000)
%30 = call i32 (...) @set_value_int()
%31 = call i32 (...) @calc_add_int()
%32 = call double (...) @get_time()
store double %32, double* %6
%33 = call i32 (...) @calc_add_int()
%34 = call double (...) @get_time()
%35 = load double, double* %6
%36 = fsub double %34, %35
store double %36, double* %7
%37 = load double, double* %7
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), double %37)
%39 = call double (...) @get_time()
store double %39, double* %6
%40 = call i32 (...) @calc_mul_int()
%41 = call double (...) @get_time()
%42 = load double, double* %6
%43 = fsub double %41, %42
store double %43, double* %8
%44 = load double, double* %8
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0), double %44)
%46 = call double (...) @get_time()
store double %46, double* %6
%47 = call i32 (...) @calc_div_int()
%48 = call double (...) @get_time()
%49 = load double, double* %6
%50 = fsub double %48, %49
store double %50, double* %9
%51 = load double, double* %9
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), double %51)
%53 = call i32 (...) @set_value_float()
%54 = call i32 (...) @calc_add_float()
%55 = call i32 (...) @set_value_float()
%56 = call double (...) @get_time()
store double %56, double* %6
%57 = call i32 (...) @calc_add_float()
%58 = call double (...) @get_time()
%59 = load double, double* %6
%60 = fsub double %58, %59
store double %60, double* %10
%61 = load double, double* %10
%62 = load double, double* %10
%63 = call double @get_mflops(double %62, i32 1)
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), double %61, double %63)
%65 = call i32 (...) @set_value_float()
%66 = call double (...) @get_time()
store double %66, double* %6
%67 = call i32 (...) @calc_mul_float()
%68 = call double (...) @get_time()
%69 = load double, double* %6
%70 = fsub double %68, %69
store double %70, double* %11
%71 = load double, double* %11
%72 = load double, double* %11
%73 = call double @get_mflops(double %72, i32 1)
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), double %71, double %73)
%75 = call i32 (...) @set_value_float()
%76 = call double (...) @get_time()
store double %76, double* %6
%77 = call i32 (...) @calc_div_float()
%78 = call double (...) @get_time()
%79 = load double, double* %6
%80 = fsub double %78, %79
store double %80, double* %12
%81 = load double, double* %12
%82 = load double, double* %12
%83 = call double @get_mflops(double %82, i32 1)
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0), double %81, double %83)
%85 = call i32 (...) @set_value_float()
%86 = call double (...) @get_time()
store double %86, double* %6
%87 = call i32 (...) @calc_mul_add_float()
%88 = call double (...) @get_time()
%89 = load double, double* %6
%90 = fsub double %88, %89
store double %90, double* %14
%91 = load double, double* %14
%92 = load double, double* %14
%93 = call double @get_mflops(double %92, i32 2)
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.10, i64 0, i64 0), double %91, double %93)
%95 = call i32 (...) @set_value_float()
%96 = call double (...) @get_time()
store double %96, double* %6
%97 = call i32 (...) @calc_exp_float()
%98 = call double (...) @get_time()
%99 = load double, double* %6
%100 = fsub double %98, %99
store double %100, double* %13
%101 = load double, double* %13
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0), double %101)
%103 = call i32 (...) @set_value_float()
%104 = call double (...) @get_time()
store double %104, double* %6
%105 = call i32 (...) @calc_sum_float()
%106 = call double (...) @get_time()
%107 = load double, double* %6
%108 = fsub double %106, %107
store double %108, double* %15
%109 = load double, double* %15
%110 = load double, double* %15
%111 = call double @get_mflops(double %110, i32 1)
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0), double %109, double %111)
%113 = call i32 (...) @set_value_float()
%114 = call double (...) @get_time()
store double %114, double* %6
%115 = call i32 (...) @calc_cadd_float()
%116 = call double (...) @get_time()
%117 = load double, double* %6
%118 = fsub double %116, %117
store double %118, double* %16
%119 = load double, double* %16
%120 = load double, double* %16
%121 = call double @get_mflops(double %120, i32 1)
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0), double %119, double %121)
%123 = call i32 (...) @set_value_float()
%124 = call double (...) @get_time()
store double %124, double* %6
%125 = call i32 (...) @calc_cmp_float()
%126 = call double (...) @get_time()
%127 = load double, double* %6
%128 = fsub double %126, %127
store double %128, double* %17
%129 = load double, double* %17
%130 = load double, double* %17
%131 = call double @get_mflops(double %130, i32 3)
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0), double %129, double %131)
%133 = call i32 (...) @set_value_double()
%134 = call i32 (...) @calc_add_double()
%135 = call i32 (...) @set_value_double()
%136 = call double (...) @get_time()
store double %136, double* %6
%137 = call i32 (...) @calc_add_double()
%138 = call double (...) @get_time()
%139 = load double, double* %6
%140 = fsub double %138, %139
store double %140, double* %18
%141 = load double, double* %18
%142 = load double, double* %18
%143 = call double @get_mflops(double %142, i32 1)
%144 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.15, i64 0, i64 0), double %141, double %143)
%145 = call i32 (...) @set_value_double()
%146 = call double (...) @get_time()
store double %146, double* %6
%147 = call i32 (...) @calc_mul_double()
%148 = call double (...) @get_time()
%149 = load double, double* %6
%150 = fsub double %148, %149
store double %150, double* %19
%151 = load double, double* %19
%152 = load double, double* %19
%153 = call double @get_mflops(double %152, i32 1)
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.16, i64 0, i64 0), double %151, double %153)
%155 = call i32 (...) @set_value_double()
%156 = call double (...) @get_time()
store double %156, double* %6
%157 = call i32 (...) @calc_div_double()
%158 = call double (...) @get_time()
%159 = load double, double* %6
%160 = fsub double %158, %159
store double %160, double* %20
%161 = load double, double* %20
%162 = load double, double* %20
%163 = call double @get_mflops(double %162, i32 1)
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0), double %161, double %163)
%165 = call i32 (...) @set_value_double()
%166 = call double (...) @get_time()
store double %166, double* %6
%167 = call i32 (...) @calc_mul_add_double()
%168 = call double (...) @get_time()
%169 = load double, double* %6
%170 = fsub double %168, %169
store double %170, double* %22
%171 = load double, double* %22
%172 = load double, double* %22
%173 = call double @get_mflops(double %172, i32 2)
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0), double %171, double %173)
%175 = call i32 (...) @set_value_double()
%176 = call double (...) @get_time()
store double %176, double* %6
%177 = call i32 (...) @calc_exp_double()
%178 = call double (...) @get_time()
%179 = load double, double* %6
%180 = fsub double %178, %179
store double %180, double* %21
%181 = load double, double* %21
%182 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.19, i64 0, i64 0), double %181)
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [6 x i8] c"[%s]\0A\00"
@.str.3 = [20 x i8] c"calc num = %d * %d\0A\00"
@.str.4 = [26 x i8] c"add(int)\09\09: %8.2f [msec]\0A\00"
@.str.5 = [26 x i8] c"mul(int)\09\09: %8.2f [msec]\0A\00"
@.str.6 = [26 x i8] c"div(int)\09\09: %8.2f [msec]\0A\00"
@.str.7 = [45 x i8] c"add(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.8 = [45 x i8] c"mul(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.9 = [45 x i8] c"div(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.10 = [49 x i8] c"mul+add(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.11 = [28 x i8] c"exp(float)\09\09: %8.2f [msec]\0A\00"
@.str.12 = [45 x i8] c"sum(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.13 = [46 x i8] c"cadd(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.14 = [45 x i8] c"cmp(float)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.15 = [46 x i8] c"add(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.16 = [46 x i8] c"mul(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.17 = [46 x i8] c"div(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.18 = [50 x i8] c"mul+add(double)\09\09: %8.2f [msec] = %8.2f [MFLOPS]\0A\00"
@.str.19 = [29 x i8] c"exp(double)\09\09: %8.2f [msec]\0A\00"
@str = [66 x i8] c"/********************** SIMPLE BECHMARKS ***********************/\00"
@str.20 = [65 x i8] c" by nebula 20141124 \0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.20, i64 0, i64 0))
%5 = load i8*, i8** %1
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %5)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 1000, i32 600000)
%8 = tail call i32 (...) @set_value_int()
%9 = tail call i32 (...) @calc_add_int()
%10 = tail call double (...) @get_time()
%11 = tail call i32 (...) @calc_add_int()
%12 = tail call double (...) @get_time()
%13 = fsub double %12, %10
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), double %13)
%15 = tail call double (...) @get_time()
%16 = tail call i32 (...) @calc_mul_int()
%17 = tail call double (...) @get_time()
%18 = fsub double %17, %15
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0), double %18)
%20 = tail call double (...) @get_time()
%21 = tail call i32 (...) @calc_div_int()
%22 = tail call double (...) @get_time()
%23 = fsub double %22, %20
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), double %23)
%25 = tail call i32 (...) @set_value_float()
%26 = tail call i32 (...) @calc_add_float()
%27 = tail call i32 (...) @set_value_float()
%28 = tail call double (...) @get_time()
%29 = tail call i32 (...) @calc_add_float()
%30 = tail call double (...) @get_time()
%31 = fsub double %30, %28
%32 = tail call double @get_mflops(double %31, i32 1)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), double %31, double %32)
%34 = tail call i32 (...) @set_value_float()
%35 = tail call double (...) @get_time()
%36 = tail call i32 (...) @calc_mul_float()
%37 = tail call double (...) @get_time()
%38 = fsub double %37, %35
%39 = tail call double @get_mflops(double %38, i32 1)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), double %38, double %39)
%41 = tail call i32 (...) @set_value_float()
%42 = tail call double (...) @get_time()
%43 = tail call i32 (...) @calc_div_float()
%44 = tail call double (...) @get_time()
%45 = fsub double %44, %42
%46 = tail call double @get_mflops(double %45, i32 1)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0), double %45, double %46)
%48 = tail call i32 (...) @set_value_float()
%49 = tail call double (...) @get_time()
%50 = tail call i32 (...) @calc_mul_add_float()
%51 = tail call double (...) @get_time()
%52 = fsub double %51, %49
%53 = tail call double @get_mflops(double %52, i32 2)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.10, i64 0, i64 0), double %52, double %53)
%55 = tail call i32 (...) @set_value_float()
%56 = tail call double (...) @get_time()
%57 = tail call i32 (...) @calc_exp_float()
%58 = tail call double (...) @get_time()
%59 = fsub double %58, %56
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0), double %59)
%61 = tail call i32 (...) @set_value_float()
%62 = tail call double (...) @get_time()
%63 = tail call i32 (...) @calc_sum_float()
%64 = tail call double (...) @get_time()
%65 = fsub double %64, %62
%66 = tail call double @get_mflops(double %65, i32 1)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0), double %65, double %66)
%68 = tail call i32 (...) @set_value_float()
%69 = tail call double (...) @get_time()
%70 = tail call i32 (...) @calc_cadd_float()
%71 = tail call double (...) @get_time()
%72 = fsub double %71, %69
%73 = tail call double @get_mflops(double %72, i32 1)
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0), double %72, double %73)
%75 = tail call i32 (...) @set_value_float()
%76 = tail call double (...) @get_time()
%77 = tail call i32 (...) @calc_cmp_float()
%78 = tail call double (...) @get_time()
%79 = fsub double %78, %76
%80 = tail call double @get_mflops(double %79, i32 3)
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0), double %79, double %80)
%82 = tail call i32 (...) @set_value_double()
%83 = tail call i32 (...) @calc_add_double()
%84 = tail call i32 (...) @set_value_double()
%85 = tail call double (...) @get_time()
%86 = tail call i32 (...) @calc_add_double()
%87 = tail call double (...) @get_time()
%88 = fsub double %87, %85
%89 = tail call double @get_mflops(double %88, i32 1)
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.15, i64 0, i64 0), double %88, double %89)
%91 = tail call i32 (...) @set_value_double()
%92 = tail call double (...) @get_time()
%93 = tail call i32 (...) @calc_mul_double()
%94 = tail call double (...) @get_time()
%95 = fsub double %94, %92
%96 = tail call double @get_mflops(double %95, i32 1)
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.16, i64 0, i64 0), double %95, double %96)
%98 = tail call i32 (...) @set_value_double()
%99 = tail call double (...) @get_time()
%100 = tail call i32 (...) @calc_div_double()
%101 = tail call double (...) @get_time()
%102 = fsub double %101, %99
%103 = tail call double @get_mflops(double %102, i32 1)
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0), double %102, double %103)
%105 = tail call i32 (...) @set_value_double()
%106 = tail call double (...) @get_time()
%107 = tail call i32 (...) @calc_mul_add_double()
%108 = tail call double (...) @get_time()
%109 = fsub double %108, %106
%110 = tail call double @get_mflops(double %109, i32 2)
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0), double %109, double %110)
%112 = tail call i32 (...) @set_value_double()
%113 = tail call double (...) @get_time()
%114 = tail call i32 (...) @calc_exp_double()
%115 = tail call double (...) @get_time()
%116 = fsub double %115, %113
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.19, i64 0, i64 0), double %116)
ret i32 0
}