#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 */
struct timespec {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ CLOCK_MONOTONIC;
int /*<<< orphan*/ clock_gettime(int /*<<< orphan*/, struct timespec *);
int /*<<< orphan*/ elapsed_time_hr(struct timespec, struct timespec, char *);
int /*<<< orphan*/ loop_timer(unsigned long);
int /*<<< orphan*/ loop_timer_nop(unsigned long);
int /*<<< orphan*/ printf(char *);
double rand();
int /*<<< orphan*/ srand(unsigned int);
scalar_t__ time(int /*<<< orphan*/ *);
int /*<<< orphan*/ warmup_loop(unsigned long);
int double_basic_op(char *opType, unsigned long reps) {
  int i;
  double a, b, c, d;
  char choice = (char)opType[0];
  srand((unsigned int)time(NULL));
  a = rand();
  b = rand();
  c = rand();
  d = rand();
  struct timespec start, end;
  warmup_loop(reps);
  loop_timer_nop(reps);
  loop_timer(reps);
  switch (choice) {
  case '+': {
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < 100; i++)
      c = a + b;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++)
      c = a + d;
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Addition - 1 op HR");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a + d;
      b = d + c;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Addition - 2 ops");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a + d;
      b = d + c;
      a = b + d;
      c = d + a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Addition - 4 ops");
    reps = reps * 4 / 5;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a + d;
      b = d + c;
      a = b + d;
      c = d + a;
      b = c + d;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Addition - 5 ops");
    reps = reps * 5 / 8;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a + d;
      b = d + c;
      a = b + d;
      c = d + a;
      b = c + d;
      c = d + b;
      a = d + c;
      b = a + d;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Addition - 8 ops");
    reps = reps * 4 / 5;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a + d;
      b = d + c;
      a = b + d;
      c = d + a;
      b = c + d;
      c = d + b;
      a = d + c;
      b = a + d;
      c = b + d;
      b = c + d;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Addition - 10 ops");
    break;
  }
  case '-': {
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < 100; i++)
      c = a - b;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++)
      c = a - b;
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Subtraction - 1 op");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a - b;
      a = b - c;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Subtraction - 2 ops");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a - b;
      a = b - c;
      b = a - c;
      c = c - a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Subtraction - 4 ops");
    reps = reps * 4 / 5;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a - b;
      a = b - c;
      b = a - c;
      c = c - a;
      b = b - a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Subtraction - 5 ops");
    reps = reps * 5 / 8;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a - b;
      a = b - c;
      b = a - c;
      c = c - a;
      b = b - a;
      c = c - b;
      a = a - c;
      b = b - c;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Integer Subtraction - 8 ops");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a - b;
      a = b - c;
      b = a - c;
      c = c - a;
      b = b - a;
      c = c - b;
      a = a - c;
      b = b - c;
      c = b - a;
      b = c - a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Subtraction - 10 ops");
    break;
  }
  case '*': {
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < 100; i++)
      c = a * b;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++)
      c = a * b;
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Multiplication - 1 op");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a * b;
      a = b * c;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Multiplication - 2 ops");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a * b;
      a = b * c;
      b = a * c;
      c = c * a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Multiplication - 4 ops");
    reps = reps * 4 / 5;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a * b;
      a = b * c;
      b = a * c;
      c = c * a;
      b = b * a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Multiplication - 5 ops");
    reps = reps * 5 / 8;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a * b;
      a = b * c;
      b = a * c;
      c = c * a;
      b = b * a;
      c = c * b;
      a = a * c;
      b = b * c;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Multiplication - 8 ops");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      c = a * b;
      a = b * c;
      b = a * c;
      c = c * a;
      b = b * a;
      c = c * b;
      a = a * c;
      b = b * c;
      c = b * a;
      b = c * a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Multiplication - 10 ops");
    break;
  }
  case '/': {
    volatile int r1, r2, r3, r4, r5, r6, r7, r8, r9, r10;
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < 100; i++)
      r1 = a / b;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++)
      r1 = a / b;
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Division - 1 op");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      r1 = a / b;
      r2 = b / c;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Division - 2 ops");
    reps = reps / 2;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      r1 = a / b;
      r2 = b / c;
      r3 = a / c;
      r4 = b / a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Division - 4 ops");
    reps = reps * 4 / 5;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      r1 = a / b;
      r2 = b / c;
      r3 = a / c;
      r4 = b / a;
      r5 = c / a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Division - 5 ops");
    reps = reps * 5 / 8;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      r1 = a / b;
      r2 = b / c;
      r3 = a / c;
      r4 = b / a;
      r5 = c / a;
      r6 = c / b;
      r7 = a / a;
      r8 = b / b;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Division - 8 ops");
    reps = reps * 4 / 5;
    clock_gettime(CLOCK_MONOTONIC, &start);
#pragma omp parallel private(i) firstprivate(a, b, c, d)
    for (i = 0; i < reps; i++) {
      r1 = a / b;
      r2 = b / c;
      r3 = a / c;
      r4 = b / a;
      r5 = c / a;
      r6 = c / b;
      r7 = a / a;
      r8 = b / b;
      r9 = c / c;
      r10 = r10 / a;
    }
    clock_gettime(CLOCK_MONOTONIC, &end);
    elapsed_time_hr(start, end, "Double Division - 10 ops");
    break;
  }
  default:
    printf("Only possible operation choices are '+', '-', '*' and '/'.\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<double_basic_op>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x39(%rbp)
xor    %eax,%eax
mov    %eax,-0x80(%rbp)
mov    %eax,%edi
call   10a0 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
mov    -0x80(%rbp),%eax
mov    %al,-0x79(%rbp)
call   10b0 <rand@plt>
mov    -0x79(%rbp),%al
movsd  %xmm0,-0x20(%rbp)
call   10b0 <rand@plt>
mov    -0x79(%rbp),%al
movsd  %xmm0,-0x28(%rbp)
call   10b0 <rand@plt>
mov    -0x79(%rbp),%al
movsd  %xmm0,-0x30(%rbp)
call   10b0 <rand@plt>
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rdi
call   1090 <warmup_loop@plt>
mov    -0x10(%rbp),%rdi
call   1070 <loop_timer_nop@plt>
mov    -0x10(%rbp),%rdi
call   1050 <loop_timer@plt>
movsbl -0x39(%rbp),%eax
add    $0xffffffd6,%eax
mov    %eax,%ecx
mov    %rcx,-0x78(%rbp)
sub    $0x5,%eax
ja     23d7 <double_basic_op+0x1247>
mov    -0x78(%rbp),%rax
lea    0x1dce(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x0,-0x14(%rbp)
cmpl   $0x64,-0x14(%rbp)
jge    1269 <double_basic_op+0xd9>
movsd  -0x20(%rbp),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1242 <double_basic_op+0xb2>
mov    0x3d78(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    12ad <double_basic_op+0x11d>
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1282 <double_basic_op+0xf2>
mov    0x3d34(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1d4c(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x3d04(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1330 <double_basic_op+0x1a0>
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12f6 <double_basic_op+0x166>
mov    0x3cb1(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1ce3(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x3c81(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    13d1 <double_basic_op+0x241>
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1379 <double_basic_op+0x1e9>
mov    0x3c10(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1c5a(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shl    $0x2,%rax
mov    $0x5,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x10(%rbp)
mov    0x3bd6(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    148b <double_basic_op+0x2fb>
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1424 <double_basic_op+0x294>
mov    0x3b56(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1bb8(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
imul   $0x5,-0x10(%rbp),%rax
shr    $0x3,%rax
mov    %rax,-0x10(%rbp)
mov    0x3b25(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1569 <double_basic_op+0x3d9>
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    14d5 <double_basic_op+0x345>
mov    0x3a78(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1af2(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shl    $0x2,%rax
mov    $0x5,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x10(%rbp)
mov    0x3a3e(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    166e <double_basic_op+0x4de>
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    15bc <double_basic_op+0x42c>
mov    0x3973(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1a05(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    23e3 <double_basic_op+0x1253>
movl   $0x0,-0x14(%rbp)
cmpl   $0x64,-0x14(%rbp)
jge    16c5 <double_basic_op+0x535>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    169e <double_basic_op+0x50e>
mov    0x391c(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1709 <double_basic_op+0x579>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    16de <double_basic_op+0x54e>
mov    0x38d8(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1983(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x38a8(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    178c <double_basic_op+0x5fc>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1752 <double_basic_op+0x5c2>
mov    0x3855(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x191a(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x3825(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    182d <double_basic_op+0x69d>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    17d5 <double_basic_op+0x645>
mov    0x37b4(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1894(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shl    $0x2,%rax
mov    $0x5,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x10(%rbp)
mov    0x377a(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    18e7 <double_basic_op+0x757>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1880 <double_basic_op+0x6f0>
mov    0x36fa(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x17f5(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
imul   $0x5,-0x10(%rbp),%rax
shr    $0x3,%rax
mov    %rax,-0x10(%rbp)
mov    0x36c9(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    19c5 <double_basic_op+0x835>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1931 <double_basic_op+0x7a1>
mov    0x361c(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1732(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x35ec(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1ac0 <double_basic_op+0x930>
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1a0e <double_basic_op+0x87e>
mov    0x3521(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1653(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    23e3 <double_basic_op+0x1253>
movl   $0x0,-0x14(%rbp)
cmpl   $0x64,-0x14(%rbp)
jge    1b17 <double_basic_op+0x987>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1af0 <double_basic_op+0x960>
mov    0x34ca(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1b5b <double_basic_op+0x9cb>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1b30 <double_basic_op+0x9a0>
mov    0x3486(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x15d4(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x3456(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1bde <double_basic_op+0xa4e>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1ba4 <double_basic_op+0xa14>
mov    0x3403(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x156e(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x33d3(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1c7f <double_basic_op+0xaef>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1c27 <double_basic_op+0xa97>
mov    0x3362(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x14eb(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shl    $0x2,%rax
mov    $0x5,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x10(%rbp)
mov    0x3328(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1d39 <double_basic_op+0xba9>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1cd2 <double_basic_op+0xb42>
mov    0x32a8(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x144f(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
imul   $0x5,-0x10(%rbp),%rax
shr    $0x3,%rax
mov    %rax,-0x10(%rbp)
mov    0x3277(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1e17 <double_basic_op+0xc87>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1d83 <double_basic_op+0xbf3>
mov    0x31ca(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x138f(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x319a(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1f12 <double_basic_op+0xd82>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1e60 <double_basic_op+0xcd0>
mov    0x30cf(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x12b2(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    23e3 <double_basic_op+0x1253>
movl   $0x0,-0x14(%rbp)
cmpl   $0x64,-0x14(%rbp)
jge    1f6b <double_basic_op+0xddb>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1f42 <double_basic_op+0xdb2>
mov    0x3076(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1fb1 <double_basic_op+0xe21>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1f84 <double_basic_op+0xdf4>
mov    0x3030(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1232(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x3000(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    2038 <double_basic_op+0xea8>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x50(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1ffa <double_basic_op+0xe6a>
mov    0x2fa9(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x11c2(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shr    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    0x2f79(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    20e1 <double_basic_op+0xf51>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x50(%rbp)
movsd  -0x20(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x54(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x58(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    2081 <double_basic_op+0xef1>
mov    0x2f00(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1131(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shl    $0x2,%rax
mov    $0x5,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x10(%rbp)
mov    0x2ec6(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    21a5 <double_basic_op+0x1015>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x50(%rbp)
movsd  -0x20(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x54(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    2134 <double_basic_op+0xfa4>
mov    0x2e3c(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0x1085(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
imul   $0x5,-0x10(%rbp),%rax
shr    $0x3,%rax
mov    %rax,-0x10(%rbp)
mov    0x2e0b(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    2293 <double_basic_op+0x1103>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x50(%rbp)
movsd  -0x20(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x54(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x5c(%rbp)
movsd  -0x30(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x60(%rbp)
movsd  -0x20(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x64(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x68(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    21ef <double_basic_op+0x105f>
mov    0x2d4e(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0xfaf(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    -0x10(%rbp),%rax
shl    $0x2,%rax
mov    $0x5,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x10(%rbp)
mov    0x2d14(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1040 <clock_gettime@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    23ae <double_basic_op+0x121e>
movsd  -0x20(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x4c(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x50(%rbp)
movsd  -0x20(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x54(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x5c(%rbp)
movsd  -0x30(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x60(%rbp)
movsd  -0x20(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x64(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x68(%rbp)
movsd  -0x30(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x6c(%rbp)
mov    -0x70(%rbp),%eax
cvtsi2sd %eax,%xmm0
divsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x70(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    22e6 <double_basic_op+0x1156>
mov    0x2c33(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
call   1040 <clock_gettime@plt>
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    0xeac(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    23e3 <double_basic_op+0x1253>
lea    0xeb4(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<double_basic_op>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rsi,%rbx
movsbl (%rdi),%ebp
xor    %edi,%edi
call   10a0 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movsd  %xmm0,0x48(%rsp)
xor    %eax,%eax
call   10b0 <rand@plt>
movsd  %xmm0,0x38(%rsp)
xor    %eax,%eax
call   10b0 <rand@plt>
movsd  %xmm0,0x40(%rsp)
xor    %eax,%eax
call   10b0 <rand@plt>
mov    %rbx,%rdi
call   1090 <warmup_loop@plt>
mov    %rbx,%rdi
call   1070 <loop_timer_nop@plt>
mov    %rbx,%rdi
call   1060 <loop_timer@plt>
add    $0xffffffd6,%ebp
cmp    $0x5,%ebp
ja     1b56 <double_basic_op+0x9c6>
lea    0xdf5(%rip),%rax
movslq (%rax,%rbp,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    0x2dcd(%rip),%rbp
mov    0x0(%rbp),%edi
lea    0x18(%rsp),%r14
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
lea    0x10(%rsp),%rbx
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xf04(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xef7(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xeeb(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xedf(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xed3(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xec7(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    1b62 <double_basic_op+0x9d2>
mov    0x2cbb(%rip),%rbp
mov    0x0(%rbp),%edi
lea    0x18(%rsp),%r14
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
lea    0x10(%rsp),%rbx
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xcbc(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xcac(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc9a(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc88(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc76(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc64(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    1b62 <double_basic_op+0x9d2>
mov    0x2ba9(%rip),%rbp
mov    0x0(%rbp),%edi
lea    0x18(%rsp),%r14
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
lea    0x10(%rsp),%rbx
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc3d(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc2d(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc1e(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc0f(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xc00(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1050 <clock_gettime@plt>
mov    0x0(%rbp),%edi
mov    %rbx,%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xbf2(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    1b62 <double_basic_op+0x9d2>
movsd  0x48(%rsp),%xmm0
divsd  0x38(%rsp),%xmm0
cvttsd2si %xmm0,%ebp
mov    $0x64,%eax
nop
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
add    $0xfffffff6,%eax
jne    1560 <double_basic_op+0x3d0>
mov    0x2a54(%rip),%r15
mov    (%r15),%edi
lea    0x18(%rsp),%rsi
call   1050 <clock_gettime@plt>
test   %rbx,%rbx
je     15fa <double_basic_op+0x46a>
lea    -0x1(%rbx),%rcx
mov    %ebx,%eax
and    $0x7,%eax
cmp    $0x7,%rcx
jb     15e6 <double_basic_op+0x456>
mov    %rbx,%rcx
and    $0xfffffffffffffff8,%rcx
nopl   0x0(%rax)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,0xc(%rsp)
add    $0xfffffffffffffff8,%rcx
jne    15c0 <double_basic_op+0x430>
test   %rax,%rax
je     15fa <double_basic_op+0x46a>
nopl   0x0(%rax,%rax,1)
mov    %ebp,0xc(%rsp)
add    $0xffffffffffffffff,%rax
jne    15f0 <double_basic_op+0x460>
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xbec(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    (%r15),%edi
lea    0x18(%rsp),%rsi
call   1050 <clock_gettime@plt>
cmp    $0x2,%rbx
jb     16be <double_basic_op+0x52e>
mov    %rbx,%rdx
movsd  0x38(%rsp),%xmm0
divsd  0x40(%rsp),%xmm0
cvttsd2si %xmm0,%eax
shr    %rdx
lea    -0x1(%rdx),%rsi
mov    %edx,%ecx
and    $0x7,%ecx
cmp    $0x7,%rsi
jb     16a6 <double_basic_op+0x516>
and    $0xfffffffffffffff8,%rdx
nopl   0x0(%rax,%rax,1)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
add    $0xfffffffffffffff8,%rdx
jne    1660 <double_basic_op+0x4d0>
test   %rcx,%rcx
je     16be <double_basic_op+0x52e>
nopl   0x0(%rax,%rax,1)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
add    $0xffffffffffffffff,%rcx
jne    16b0 <double_basic_op+0x520>
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xb3f(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    (%r15),%edi
lea    0x18(%rsp),%rsi
call   1050 <clock_gettime@plt>
cmp    $0x4,%rbx
jb     17b6 <double_basic_op+0x626>
movsd  0x38(%rsp),%xmm2
movapd %xmm2,%xmm0
movsd  0x40(%rsp),%xmm3
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%eax
movsd  0x48(%rsp),%xmm1
movapd %xmm1,%xmm0
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%ecx
mov    %rbx,%rdi
movapd %xmm2,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
shr    $0x2,%rdi
lea    -0x1(%rdi),%r8
mov    %edi,%esi
and    $0x3,%esi
cmp    $0x3,%r8
jb     1796 <double_basic_op+0x606>
and    $0xfffffffffffffffc,%rdi
cs nopw 0x0(%rax,%rax,1)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
add    $0xfffffffffffffffc,%rdi
jne    1750 <double_basic_op+0x5c0>
test   %rsi,%rsi
je     17b6 <double_basic_op+0x626>
nopl   0x0(%rax,%rax,1)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
add    $0xffffffffffffffff,%rsi
jne    17a0 <double_basic_op+0x610>
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0xa5f(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
and    $0xfffffffffffffffc,%rbx
movabs $0xcccccccccccccccd,%r12
cc cc cc
mov    %rbx,%rax
mul    %r12
mov    %rdx,%r14
shr    $0x2,%r14
mov    (%r15),%edi
lea    0x18(%rsp),%rsi
call   1050 <clock_gettime@plt>
cmp    $0x5,%rbx
jb     18e9 <double_basic_op+0x759>
movsd  0x38(%rsp),%xmm2
movapd %xmm2,%xmm0
movsd  0x40(%rsp),%xmm3
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%eax
movsd  0x48(%rsp),%xmm1
movapd %xmm1,%xmm0
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%ecx
movapd %xmm2,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%esi
cmp    $0x2,%r14
mov    $0x1,%ebx
cmovae %r14,%rbx
lea    -0x1(%rbx),%r8
mov    %ebx,%edi
and    $0x3,%edi
cmp    $0x3,%r8
jb     18c6 <double_basic_op+0x736>
and    $0xfffffffffffffffc,%rbx
nopl   0x0(%rax,%rax,1)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
add    $0xfffffffffffffffc,%rbx
jne    1870 <double_basic_op+0x6e0>
test   %rdi,%rdi
je     18e9 <double_basic_op+0x759>
neg    %rdi
xchg   %ax,%ax
mov    %ebp,0xc(%rsp)
mov    %eax,0x1c(%rsp)
mov    %ecx,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
inc    %rdi
jne    18d0 <double_basic_op+0x740>
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0x944(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
lea    (%r14,%r14,4),%r14
mov    %r14,%r13
shr    $0x3,%r13
mov    (%r15),%edi
lea    0x18(%rsp),%rsi
call   1050 <clock_gettime@plt>
cmp    $0x8,%r14
jb     1a22 <double_basic_op+0x892>
movsd  0x38(%rsp),%xmm2
movapd %xmm2,%xmm0
movsd  0x40(%rsp),%xmm3
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%r8d
movsd  0x48(%rsp),%xmm1
movapd %xmm1,%xmm0
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%r10d
movapd %xmm2,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%esi
movapd %xmm3,%xmm0
divsd  %xmm2,%xmm0
cvttsd2si %xmm0,%edi
movapd %xmm1,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%ebx
movapd %xmm2,%xmm0
divsd  %xmm2,%xmm0
cvttsd2si %xmm0,%eax
cmp    $0x2,%r13
mov    $0x1,%r9d
cmovae %r13,%r9
cmp    $0x10,%r14
jb     19fa <double_basic_op+0x86a>
mov    %r9,%rcx
and    $0xfffffffffffffffe,%rcx
nop
mov    %ebp,0xc(%rsp)
mov    %r8d,0x1c(%rsp)
mov    %r10d,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
mov    %edi,0x34(%rsp)
mov    %ebx,0x30(%rsp)
mov    %eax,0x2c(%rsp)
mov    %ebp,0xc(%rsp)
mov    %r8d,0x1c(%rsp)
mov    %r10d,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
mov    %edi,0x34(%rsp)
mov    %ebx,0x30(%rsp)
mov    %eax,0x2c(%rsp)
add    $0xfffffffffffffffe,%rcx
jne    19b0 <double_basic_op+0x820>
test   $0x1,%r9b
je     1a22 <double_basic_op+0x892>
mov    %ebp,0xc(%rsp)
mov    %r8d,0x1c(%rsp)
mov    %r10d,0x24(%rsp)
mov    %edx,0x20(%rsp)
mov    %esi,0x28(%rsp)
mov    %edi,0x34(%rsp)
mov    %ebx,0x30(%rsp)
mov    %eax,0x2c(%rsp)
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0x823(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
mov    (%r15),%edi
lea    0x18(%rsp),%rsi
call   1050 <clock_gettime@plt>
cmp    $0x10,%r14
movsd  0x48(%rsp),%xmm1
jb     1b33 <double_basic_op+0x9a3>
shl    $0x2,%r13
mov    %r13,%rax
mul    %r12
movsd  0x38(%rsp),%xmm2
movapd %xmm2,%xmm0
movsd  0x40(%rsp),%xmm3
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%r8d
movapd %xmm1,%xmm0
divsd  %xmm3,%xmm0
cvttsd2si %xmm0,%r9d
movapd %xmm2,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%r10d
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%r11d
movapd %xmm3,%xmm0
divsd  %xmm2,%xmm0
cvttsd2si %xmm0,%ebx
movapd %xmm1,%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
divsd  %xmm2,%xmm2
cvttsd2si %xmm2,%ecx
shr    $0x2,%rdx
divsd  %xmm3,%xmm3
cvttsd2si %xmm3,%esi
cmp    $0x2,%rdx
mov    $0x1,%edi
cmovae %rdx,%rdi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %ebp,0xc(%rsp)
mov    %r8d,0x1c(%rsp)
mov    %r9d,0x24(%rsp)
mov    %r10d,0x20(%rsp)
mov    %r11d,0x28(%rsp)
mov    %ebx,0x34(%rsp)
mov    %eax,0x30(%rsp)
mov    %ecx,0x2c(%rsp)
mov    %esi,0x54(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x50(%rsp),%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
mov    %edx,0x50(%rsp)
add    $0xffffffffffffffff,%rdi
jne    1af0 <double_basic_op+0x960>
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
call   1050 <clock_gettime@plt>
mov    0x18(%rsp),%edi
mov    0x10(%rsp),%esi
lea    0x72a(%rip),%rdx
call   1030 <elapsed_time_hr@plt>
jmp    1b62 <double_basic_op+0x9d2>
lea    0x735(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.timespec = type { i32 }
@CLOCK_MONOTONIC = global i32 0
@.str = [26 x i8] c"Double Addition - 1 op HR\00"
@.str.1 = [24 x i8] c"Double Addition - 2 ops\00"
@.str.2 = [24 x i8] c"Double Addition - 4 ops\00"
@.str.3 = [24 x i8] c"Double Addition - 5 ops\00"
@.str.4 = [24 x i8] c"Double Addition - 8 ops\00"
@.str.5 = [25 x i8] c"Double Addition - 10 ops\00"
@.str.6 = [26 x i8] c"Double Subtraction - 1 op\00"
@.str.7 = [27 x i8] c"Double Subtraction - 2 ops\00"
@.str.8 = [27 x i8] c"Double Subtraction - 4 ops\00"
@.str.9 = [27 x i8] c"Double Subtraction - 5 ops\00"
@.str.10 = [28 x i8] c"Integer Subtraction - 8 ops\00"
@.str.11 = [28 x i8] c"Double Subtraction - 10 ops\00"
@.str.12 = [29 x i8] c"Double Multiplication - 1 op\00"
@.str.13 = [30 x i8] c"Double Multiplication - 2 ops\00"
@.str.14 = [30 x i8] c"Double Multiplication - 4 ops\00"
@.str.15 = [30 x i8] c"Double Multiplication - 5 ops\00"
@.str.16 = [30 x i8] c"Double Multiplication - 8 ops\00"
@.str.17 = [31 x i8] c"Double Multiplication - 10 ops\00"
@.str.18 = [23 x i8] c"Double Division - 1 op\00"
@.str.19 = [24 x i8] c"Double Division - 2 ops\00"
@.str.20 = [24 x i8] c"Double Division - 4 ops\00"
@.str.21 = [24 x i8] c"Double Division - 5 ops\00"
@.str.22 = [24 x i8] c"Double Division - 8 ops\00"
@.str.23 = [25 x i8] c"Double Division - 10 ops\00"
@.str.24 = [60 x i8] c"Only possible operation choices are '+', '-', '*' and '/'.\0A\00"
define i32 @double_basic_op(i8* %0, i64 %1) {
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i32
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca i8
%11 = alloca %struct.timespec
%12 = alloca %struct.timespec
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
store i8* %0, i8** %3
store i64 %1, i64* %4
%23 = load i8*, i8** %3
%24 = getelementptr inbounds i8, i8* %23, i64 0
%25 = load i8, i8* %24
store i8 %25, i8* %10
%26 = call i64 @time(i32* null)
%27 = trunc i64 %26 to i32
%28 = call i32 @srand(i32 %27)
%29 = call double (...) @rand()
store double %29, double* %6
%30 = call double (...) @rand()
store double %30, double* %7
%31 = call double (...) @rand()
store double %31, double* %8
%32 = call double (...) @rand()
store double %32, double* %9
%33 = load i64, i64* %4
%34 = call i32 @warmup_loop(i64 %33)
%35 = load i64, i64* %4
%36 = call i32 @loop_timer_nop(i64 %35)
%37 = load i64, i64* %4
%38 = call i32 @loop_timer(i64 %37)
%39 = load i8, i8* %10
%40 = sext i8 %39 to i32
switch i32 %40, label %987 [
i32 43, label %41
i32 45, label %270
i32 42, label %498
i32 47, label %726
]
41: ; preds = %2
store i32 0, i32* %5
br label %42
42: ; preds = %49, %41
%43 = load i32, i32* %5
%44 = icmp slt i32 %43, 100
br i1 %44, label %45, label %52
45: ; preds = %42
%46 = load double, double* %6
%47 = load double, double* %7
%48 = fadd double %46, %47
store double %48, double* %8
br label %49
49: ; preds = %45
%50 = load i32, i32* %5
%51 = add nsw i32 %50, 1
store i32 %51, i32* %5
br label %42
52: ; preds = %42
%53 = load i32, i32* @CLOCK_MONOTONIC
%54 = call i32 @clock_gettime(i32 %53, %struct.timespec* %11)
store i32 0, i32* %5
br label %55
55: ; preds = %64, %52
%56 = load i32, i32* %5
%57 = sext i32 %56 to i64
%58 = load i64, i64* %4
%59 = icmp ult i64 %57, %58
br i1 %59, label %60, label %67
60: ; preds = %55
%61 = load double, double* %6
%62 = load double, double* %9
%63 = fadd double %61, %62
store double %63, double* %8
br label %64
64: ; preds = %60
%65 = load i32, i32* %5
%66 = add nsw i32 %65, 1
store i32 %66, i32* %5
br label %55
67: ; preds = %55
%68 = load i32, i32* @CLOCK_MONOTONIC
%69 = call i32 @clock_gettime(i32 %68, %struct.timespec* %12)
%70 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%71 = load i32, i32* %70
%72 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%73 = load i32, i32* %72
%74 = call i32 @elapsed_time_hr(i32 %71, i32 %73, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%75 = load i64, i64* %4
%76 = udiv i64 %75, 2
store i64 %76, i64* %4
%77 = load i32, i32* @CLOCK_MONOTONIC
%78 = call i32 @clock_gettime(i32 %77, %struct.timespec* %11)
store i32 0, i32* %5
br label %79
79: ; preds = %91, %67
%80 = load i32, i32* %5
%81 = sext i32 %80 to i64
%82 = load i64, i64* %4
%83 = icmp ult i64 %81, %82
br i1 %83, label %84, label %94
84: ; preds = %79
%85 = load double, double* %6
%86 = load double, double* %9
%87 = fadd double %85, %86
store double %87, double* %8
%88 = load double, double* %9
%89 = load double, double* %8
%90 = fadd double %88, %89
store double %90, double* %7
br label %91
91: ; preds = %84
%92 = load i32, i32* %5
%93 = add nsw i32 %92, 1
store i32 %93, i32* %5
br label %79
94: ; preds = %79
%95 = load i32, i32* @CLOCK_MONOTONIC
%96 = call i32 @clock_gettime(i32 %95, %struct.timespec* %12)
%97 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%98 = load i32, i32* %97
%99 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%100 = load i32, i32* %99
%101 = call i32 @elapsed_time_hr(i32 %98, i32 %100, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%102 = load i64, i64* %4
%103 = udiv i64 %102, 2
store i64 %103, i64* %4
%104 = load i32, i32* @CLOCK_MONOTONIC
%105 = call i32 @clock_gettime(i32 %104, %struct.timespec* %11)
store i32 0, i32* %5
br label %106
106: ; preds = %124, %94
%107 = load i32, i32* %5
%108 = sext i32 %107 to i64
%109 = load i64, i64* %4
%110 = icmp ult i64 %108, %109
br i1 %110, label %111, label %127
111: ; preds = %106
%112 = load double, double* %6
%113 = load double, double* %9
%114 = fadd double %112, %113
store double %114, double* %8
%115 = load double, double* %9
%116 = load double, double* %8
%117 = fadd double %115, %116
store double %117, double* %7
%118 = load double, double* %7
%119 = load double, double* %9
%120 = fadd double %118, %119
store double %120, double* %6
%121 = load double, double* %9
%122 = load double, double* %6
%123 = fadd double %121, %122
store double %123, double* %8
br label %124
124: ; preds = %111
%125 = load i32, i32* %5
%126 = add nsw i32 %125, 1
store i32 %126, i32* %5
br label %106
127: ; preds = %106
%128 = load i32, i32* @CLOCK_MONOTONIC
%129 = call i32 @clock_gettime(i32 %128, %struct.timespec* %12)
%130 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%131 = load i32, i32* %130
%132 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%133 = load i32, i32* %132
%134 = call i32 @elapsed_time_hr(i32 %131, i32 %133, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%135 = load i64, i64* %4
%136 = mul i64 %135, 4
%137 = udiv i64 %136, 5
store i64 %137, i64* %4
%138 = load i32, i32* @CLOCK_MONOTONIC
%139 = call i32 @clock_gettime(i32 %138, %struct.timespec* %11)
store i32 0, i32* %5
br label %140
140: ; preds = %161, %127
%141 = load i32, i32* %5
%142 = sext i32 %141 to i64
%143 = load i64, i64* %4
%144 = icmp ult i64 %142, %143
br i1 %144, label %145, label %164
145: ; preds = %140
%146 = load double, double* %6
%147 = load double, double* %9
%148 = fadd double %146, %147
store double %148, double* %8
%149 = load double, double* %9
%150 = load double, double* %8
%151 = fadd double %149, %150
store double %151, double* %7
%152 = load double, double* %7
%153 = load double, double* %9
%154 = fadd double %152, %153
store double %154, double* %6
%155 = load double, double* %9
%156 = load double, double* %6
%157 = fadd double %155, %156
store double %157, double* %8
%158 = load double, double* %8
%159 = load double, double* %9
%160 = fadd double %158, %159
store double %160, double* %7
br label %161
161: ; preds = %145
%162 = load i32, i32* %5
%163 = add nsw i32 %162, 1
store i32 %163, i32* %5
br label %140
164: ; preds = %140
%165 = load i32, i32* @CLOCK_MONOTONIC
%166 = call i32 @clock_gettime(i32 %165, %struct.timespec* %12)
%167 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%168 = load i32, i32* %167
%169 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%170 = load i32, i32* %169
%171 = call i32 @elapsed_time_hr(i32 %168, i32 %170, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%172 = load i64, i64* %4
%173 = mul i64 %172, 5
%174 = udiv i64 %173, 8
store i64 %174, i64* %4
%175 = load i32, i32* @CLOCK_MONOTONIC
%176 = call i32 @clock_gettime(i32 %175, %struct.timespec* %11)
store i32 0, i32* %5
br label %177
177: ; preds = %207, %164
%178 = load i32, i32* %5
%179 = sext i32 %178 to i64
%180 = load i64, i64* %4
%181 = icmp ult i64 %179, %180
br i1 %181, label %182, label %210
182: ; preds = %177
%183 = load double, double* %6
%184 = load double, double* %9
%185 = fadd double %183, %184
store double %185, double* %8
%186 = load double, double* %9
%187 = load double, double* %8
%188 = fadd double %186, %187
store double %188, double* %7
%189 = load double, double* %7
%190 = load double, double* %9
%191 = fadd double %189, %190
store double %191, double* %6
%192 = load double, double* %9
%193 = load double, double* %6
%194 = fadd double %192, %193
store double %194, double* %8
%195 = load double, double* %8
%196 = load double, double* %9
%197 = fadd double %195, %196
store double %197, double* %7
%198 = load double, double* %9
%199 = load double, double* %7
%200 = fadd double %198, %199
store double %200, double* %8
%201 = load double, double* %9
%202 = load double, double* %8
%203 = fadd double %201, %202
store double %203, double* %6
%204 = load double, double* %6
%205 = load double, double* %9
%206 = fadd double %204, %205
store double %206, double* %7
br label %207
207: ; preds = %182
%208 = load i32, i32* %5
%209 = add nsw i32 %208, 1
store i32 %209, i32* %5
br label %177
210: ; preds = %177
%211 = load i32, i32* @CLOCK_MONOTONIC
%212 = call i32 @clock_gettime(i32 %211, %struct.timespec* %12)
%213 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%214 = load i32, i32* %213
%215 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%216 = load i32, i32* %215
%217 = call i32 @elapsed_time_hr(i32 %214, i32 %216, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%218 = load i64, i64* %4
%219 = mul i64 %218, 4
%220 = udiv i64 %219, 5
store i64 %220, i64* %4
%221 = load i32, i32* @CLOCK_MONOTONIC
%222 = call i32 @clock_gettime(i32 %221, %struct.timespec* %11)
store i32 0, i32* %5
br label %223
223: ; preds = %259, %210
%224 = load i32, i32* %5
%225 = sext i32 %224 to i64
%226 = load i64, i64* %4
%227 = icmp ult i64 %225, %226
br i1 %227, label %228, label %262
228: ; preds = %223
%229 = load double, double* %6
%230 = load double, double* %9
%231 = fadd double %229, %230
store double %231, double* %8
%232 = load double, double* %9
%233 = load double, double* %8
%234 = fadd double %232, %233
store double %234, double* %7
%235 = load double, double* %7
%236 = load double, double* %9
%237 = fadd double %235, %236
store double %237, double* %6
%238 = load double, double* %9
%239 = load double, double* %6
%240 = fadd double %238, %239
store double %240, double* %8
%241 = load double, double* %8
%242 = load double, double* %9
%243 = fadd double %241, %242
store double %243, double* %7
%244 = load double, double* %9
%245 = load double, double* %7
%246 = fadd double %244, %245
store double %246, double* %8
%247 = load double, double* %9
%248 = load double, double* %8
%249 = fadd double %247, %248
store double %249, double* %6
%250 = load double, double* %6
%251 = load double, double* %9
%252 = fadd double %250, %251
store double %252, double* %7
%253 = load double, double* %7
%254 = load double, double* %9
%255 = fadd double %253, %254
store double %255, double* %8
%256 = load double, double* %8
%257 = load double, double* %9
%258 = fadd double %256, %257
store double %258, double* %7
br label %259
259: ; preds = %228
%260 = load i32, i32* %5
%261 = add nsw i32 %260, 1
store i32 %261, i32* %5
br label %223
262: ; preds = %223
%263 = load i32, i32* @CLOCK_MONOTONIC
%264 = call i32 @clock_gettime(i32 %263, %struct.timespec* %12)
%265 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%266 = load i32, i32* %265
%267 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%268 = load i32, i32* %267
%269 = call i32 @elapsed_time_hr(i32 %266, i32 %268, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
br label %989
270: ; preds = %2
store i32 0, i32* %5
br label %271
271: ; preds = %278, %270
%272 = load i32, i32* %5
%273 = icmp slt i32 %272, 100
br i1 %273, label %274, label %281
274: ; preds = %271
%275 = load double, double* %6
%276 = load double, double* %7
%277 = fsub double %275, %276
store double %277, double* %8
br label %278
278: ; preds = %274
%279 = load i32, i32* %5
%280 = add nsw i32 %279, 1
store i32 %280, i32* %5
br label %271
281: ; preds = %271
%282 = load i32, i32* @CLOCK_MONOTONIC
%283 = call i32 @clock_gettime(i32 %282, %struct.timespec* %11)
store i32 0, i32* %5
br label %284
284: ; preds = %293, %281
%285 = load i32, i32* %5
%286 = sext i32 %285 to i64
%287 = load i64, i64* %4
%288 = icmp ult i64 %286, %287
br i1 %288, label %289, label %296
289: ; preds = %284
%290 = load double, double* %6
%291 = load double, double* %7
%292 = fsub double %290, %291
store double %292, double* %8
br label %293
293: ; preds = %289
%294 = load i32, i32* %5
%295 = add nsw i32 %294, 1
store i32 %295, i32* %5
br label %284
296: ; preds = %284
%297 = load i32, i32* @CLOCK_MONOTONIC
%298 = call i32 @clock_gettime(i32 %297, %struct.timespec* %12)
%299 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%300 = load i32, i32* %299
%301 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%302 = load i32, i32* %301
%303 = call i32 @elapsed_time_hr(i32 %300, i32 %302, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
%304 = load i64, i64* %4
%305 = udiv i64 %304, 2
store i64 %305, i64* %4
%306 = load i32, i32* @CLOCK_MONOTONIC
%307 = call i32 @clock_gettime(i32 %306, %struct.timespec* %11)
store i32 0, i32* %5
br label %308
308: ; preds = %320, %296
%309 = load i32, i32* %5
%310 = sext i32 %309 to i64
%311 = load i64, i64* %4
%312 = icmp ult i64 %310, %311
br i1 %312, label %313, label %323
313: ; preds = %308
%314 = load double, double* %6
%315 = load double, double* %7
%316 = fsub double %314, %315
store double %316, double* %8
%317 = load double, double* %7
%318 = load double, double* %8
%319 = fsub double %317, %318
store double %319, double* %6
br label %320
320: ; preds = %313
%321 = load i32, i32* %5
%322 = add nsw i32 %321, 1
store i32 %322, i32* %5
br label %308
323: ; preds = %308
%324 = load i32, i32* @CLOCK_MONOTONIC
%325 = call i32 @clock_gettime(i32 %324, %struct.timespec* %12)
%326 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%327 = load i32, i32* %326
%328 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%329 = load i32, i32* %328
%330 = call i32 @elapsed_time_hr(i32 %327, i32 %329, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%331 = load i64, i64* %4
%332 = udiv i64 %331, 2
store i64 %332, i64* %4
%333 = load i32, i32* @CLOCK_MONOTONIC
%334 = call i32 @clock_gettime(i32 %333, %struct.timespec* %11)
store i32 0, i32* %5
br label %335
335: ; preds = %353, %323
%336 = load i32, i32* %5
%337 = sext i32 %336 to i64
%338 = load i64, i64* %4
%339 = icmp ult i64 %337, %338
br i1 %339, label %340, label %356
340: ; preds = %335
%341 = load double, double* %6
%342 = load double, double* %7
%343 = fsub double %341, %342
store double %343, double* %8
%344 = load double, double* %7
%345 = load double, double* %8
%346 = fsub double %344, %345
store double %346, double* %6
%347 = load double, double* %6
%348 = load double, double* %8
%349 = fsub double %347, %348
store double %349, double* %7
%350 = load double, double* %8
%351 = load double, double* %6
%352 = fsub double %350, %351
store double %352, double* %8
br label %353
353: ; preds = %340
%354 = load i32, i32* %5
%355 = add nsw i32 %354, 1
store i32 %355, i32* %5
br label %335
356: ; preds = %335
%357 = load i32, i32* @CLOCK_MONOTONIC
%358 = call i32 @clock_gettime(i32 %357, %struct.timespec* %12)
%359 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%360 = load i32, i32* %359
%361 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%362 = load i32, i32* %361
%363 = call i32 @elapsed_time_hr(i32 %360, i32 %362, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%364 = load i64, i64* %4
%365 = mul i64 %364, 4
%366 = udiv i64 %365, 5
store i64 %366, i64* %4
%367 = load i32, i32* @CLOCK_MONOTONIC
%368 = call i32 @clock_gettime(i32 %367, %struct.timespec* %11)
store i32 0, i32* %5
br label %369
369: ; preds = %390, %356
%370 = load i32, i32* %5
%371 = sext i32 %370 to i64
%372 = load i64, i64* %4
%373 = icmp ult i64 %371, %372
br i1 %373, label %374, label %393
374: ; preds = %369
%375 = load double, double* %6
%376 = load double, double* %7
%377 = fsub double %375, %376
store double %377, double* %8
%378 = load double, double* %7
%379 = load double, double* %8
%380 = fsub double %378, %379
store double %380, double* %6
%381 = load double, double* %6
%382 = load double, double* %8
%383 = fsub double %381, %382
store double %383, double* %7
%384 = load double, double* %8
%385 = load double, double* %6
%386 = fsub double %384, %385
store double %386, double* %8
%387 = load double, double* %7
%388 = load double, double* %6
%389 = fsub double %387, %388
store double %389, double* %7
br label %390
390: ; preds = %374
%391 = load i32, i32* %5
%392 = add nsw i32 %391, 1
store i32 %392, i32* %5
br label %369
393: ; preds = %369
%394 = load i32, i32* @CLOCK_MONOTONIC
%395 = call i32 @clock_gettime(i32 %394, %struct.timespec* %12)
%396 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%397 = load i32, i32* %396
%398 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%399 = load i32, i32* %398
%400 = call i32 @elapsed_time_hr(i32 %397, i32 %399, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%401 = load i64, i64* %4
%402 = mul i64 %401, 5
%403 = udiv i64 %402, 8
store i64 %403, i64* %4
%404 = load i32, i32* @CLOCK_MONOTONIC
%405 = call i32 @clock_gettime(i32 %404, %struct.timespec* %11)
store i32 0, i32* %5
br label %406
406: ; preds = %436, %393
%407 = load i32, i32* %5
%408 = sext i32 %407 to i64
%409 = load i64, i64* %4
%410 = icmp ult i64 %408, %409
br i1 %410, label %411, label %439
411: ; preds = %406
%412 = load double, double* %6
%413 = load double, double* %7
%414 = fsub double %412, %413
store double %414, double* %8
%415 = load double, double* %7
%416 = load double, double* %8
%417 = fsub double %415, %416
store double %417, double* %6
%418 = load double, double* %6
%419 = load double, double* %8
%420 = fsub double %418, %419
store double %420, double* %7
%421 = load double, double* %8
%422 = load double, double* %6
%423 = fsub double %421, %422
store double %423, double* %8
%424 = load double, double* %7
%425 = load double, double* %6
%426 = fsub double %424, %425
store double %426, double* %7
%427 = load double, double* %8
%428 = load double, double* %7
%429 = fsub double %427, %428
store double %429, double* %8
%430 = load double, double* %6
%431 = load double, double* %8
%432 = fsub double %430, %431
store double %432, double* %6
%433 = load double, double* %7
%434 = load double, double* %8
%435 = fsub double %433, %434
store double %435, double* %7
br label %436
436: ; preds = %411
%437 = load i32, i32* %5
%438 = add nsw i32 %437, 1
store i32 %438, i32* %5
br label %406
439: ; preds = %406
%440 = load i32, i32* @CLOCK_MONOTONIC
%441 = call i32 @clock_gettime(i32 %440, %struct.timespec* %12)
%442 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%443 = load i32, i32* %442
%444 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%445 = load i32, i32* %444
%446 = call i32 @elapsed_time_hr(i32 %443, i32 %445, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%447 = load i64, i64* %4
%448 = udiv i64 %447, 2
store i64 %448, i64* %4
%449 = load i32, i32* @CLOCK_MONOTONIC
%450 = call i32 @clock_gettime(i32 %449, %struct.timespec* %11)
store i32 0, i32* %5
br label %451
451: ; preds = %487, %439
%452 = load i32, i32* %5
%453 = sext i32 %452 to i64
%454 = load i64, i64* %4
%455 = icmp ult i64 %453, %454
br i1 %455, label %456, label %490
456: ; preds = %451
%457 = load double, double* %6
%458 = load double, double* %7
%459 = fsub double %457, %458
store double %459, double* %8
%460 = load double, double* %7
%461 = load double, double* %8
%462 = fsub double %460, %461
store double %462, double* %6
%463 = load double, double* %6
%464 = load double, double* %8
%465 = fsub double %463, %464
store double %465, double* %7
%466 = load double, double* %8
%467 = load double, double* %6
%468 = fsub double %466, %467
store double %468, double* %8
%469 = load double, double* %7
%470 = load double, double* %6
%471 = fsub double %469, %470
store double %471, double* %7
%472 = load double, double* %8
%473 = load double, double* %7
%474 = fsub double %472, %473
store double %474, double* %8
%475 = load double, double* %6
%476 = load double, double* %8
%477 = fsub double %475, %476
store double %477, double* %6
%478 = load double, double* %7
%479 = load double, double* %8
%480 = fsub double %478, %479
store double %480, double* %7
%481 = load double, double* %7
%482 = load double, double* %6
%483 = fsub double %481, %482
store double %483, double* %8
%484 = load double, double* %8
%485 = load double, double* %6
%486 = fsub double %484, %485
store double %486, double* %7
br label %487
487: ; preds = %456
%488 = load i32, i32* %5
%489 = add nsw i32 %488, 1
store i32 %489, i32* %5
br label %451
490: ; preds = %451
%491 = load i32, i32* @CLOCK_MONOTONIC
%492 = call i32 @clock_gettime(i32 %491, %struct.timespec* %12)
%493 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%494 = load i32, i32* %493
%495 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%496 = load i32, i32* %495
%497 = call i32 @elapsed_time_hr(i32 %494, i32 %496, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
br label %989
498: ; preds = %2
store i32 0, i32* %5
br label %499
499: ; preds = %506, %498
%500 = load i32, i32* %5
%501 = icmp slt i32 %500, 100
br i1 %501, label %502, label %509
502: ; preds = %499
%503 = load double, double* %6
%504 = load double, double* %7
%505 = fmul double %503, %504
store double %505, double* %8
br label %506
506: ; preds = %502
%507 = load i32, i32* %5
%508 = add nsw i32 %507, 1
store i32 %508, i32* %5
br label %499
509: ; preds = %499
%510 = load i32, i32* @CLOCK_MONOTONIC
%511 = call i32 @clock_gettime(i32 %510, %struct.timespec* %11)
store i32 0, i32* %5
br label %512
512: ; preds = %521, %509
%513 = load i32, i32* %5
%514 = sext i32 %513 to i64
%515 = load i64, i64* %4
%516 = icmp ult i64 %514, %515
br i1 %516, label %517, label %524
517: ; preds = %512
%518 = load double, double* %6
%519 = load double, double* %7
%520 = fmul double %518, %519
store double %520, double* %8
br label %521
521: ; preds = %517
%522 = load i32, i32* %5
%523 = add nsw i32 %522, 1
store i32 %523, i32* %5
br label %512
524: ; preds = %512
%525 = load i32, i32* @CLOCK_MONOTONIC
%526 = call i32 @clock_gettime(i32 %525, %struct.timespec* %12)
%527 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%528 = load i32, i32* %527
%529 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%530 = load i32, i32* %529
%531 = call i32 @elapsed_time_hr(i32 %528, i32 %530, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%532 = load i64, i64* %4
%533 = udiv i64 %532, 2
store i64 %533, i64* %4
%534 = load i32, i32* @CLOCK_MONOTONIC
%535 = call i32 @clock_gettime(i32 %534, %struct.timespec* %11)
store i32 0, i32* %5
br label %536
536: ; preds = %548, %524
%537 = load i32, i32* %5
%538 = sext i32 %537 to i64
%539 = load i64, i64* %4
%540 = icmp ult i64 %538, %539
br i1 %540, label %541, label %551
541: ; preds = %536
%542 = load double, double* %6
%543 = load double, double* %7
%544 = fmul double %542, %543
store double %544, double* %8
%545 = load double, double* %7
%546 = load double, double* %8
%547 = fmul double %545, %546
store double %547, double* %6
br label %548
548: ; preds = %541
%549 = load i32, i32* %5
%550 = add nsw i32 %549, 1
store i32 %550, i32* %5
br label %536
551: ; preds = %536
%552 = load i32, i32* @CLOCK_MONOTONIC
%553 = call i32 @clock_gettime(i32 %552, %struct.timespec* %12)
%554 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%555 = load i32, i32* %554
%556 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%557 = load i32, i32* %556
%558 = call i32 @elapsed_time_hr(i32 %555, i32 %557, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
%559 = load i64, i64* %4
%560 = udiv i64 %559, 2
store i64 %560, i64* %4
%561 = load i32, i32* @CLOCK_MONOTONIC
%562 = call i32 @clock_gettime(i32 %561, %struct.timespec* %11)
store i32 0, i32* %5
br label %563
563: ; preds = %581, %551
%564 = load i32, i32* %5
%565 = sext i32 %564 to i64
%566 = load i64, i64* %4
%567 = icmp ult i64 %565, %566
br i1 %567, label %568, label %584
568: ; preds = %563
%569 = load double, double* %6
%570 = load double, double* %7
%571 = fmul double %569, %570
store double %571, double* %8
%572 = load double, double* %7
%573 = load double, double* %8
%574 = fmul double %572, %573
store double %574, double* %6
%575 = load double, double* %6
%576 = load double, double* %8
%577 = fmul double %575, %576
store double %577, double* %7
%578 = load double, double* %8
%579 = load double, double* %6
%580 = fmul double %578, %579
store double %580, double* %8
br label %581
581: ; preds = %568
%582 = load i32, i32* %5
%583 = add nsw i32 %582, 1
store i32 %583, i32* %5
br label %563
584: ; preds = %563
%585 = load i32, i32* @CLOCK_MONOTONIC
%586 = call i32 @clock_gettime(i32 %585, %struct.timespec* %12)
%587 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%588 = load i32, i32* %587
%589 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%590 = load i32, i32* %589
%591 = call i32 @elapsed_time_hr(i32 %588, i32 %590, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%592 = load i64, i64* %4
%593 = mul i64 %592, 4
%594 = udiv i64 %593, 5
store i64 %594, i64* %4
%595 = load i32, i32* @CLOCK_MONOTONIC
%596 = call i32 @clock_gettime(i32 %595, %struct.timespec* %11)
store i32 0, i32* %5
br label %597
597: ; preds = %618, %584
%598 = load i32, i32* %5
%599 = sext i32 %598 to i64
%600 = load i64, i64* %4
%601 = icmp ult i64 %599, %600
br i1 %601, label %602, label %621
602: ; preds = %597
%603 = load double, double* %6
%604 = load double, double* %7
%605 = fmul double %603, %604
store double %605, double* %8
%606 = load double, double* %7
%607 = load double, double* %8
%608 = fmul double %606, %607
store double %608, double* %6
%609 = load double, double* %6
%610 = load double, double* %8
%611 = fmul double %609, %610
store double %611, double* %7
%612 = load double, double* %8
%613 = load double, double* %6
%614 = fmul double %612, %613
store double %614, double* %8
%615 = load double, double* %7
%616 = load double, double* %6
%617 = fmul double %615, %616
store double %617, double* %7
br label %618
618: ; preds = %602
%619 = load i32, i32* %5
%620 = add nsw i32 %619, 1
store i32 %620, i32* %5
br label %597
621: ; preds = %597
%622 = load i32, i32* @CLOCK_MONOTONIC
%623 = call i32 @clock_gettime(i32 %622, %struct.timespec* %12)
%624 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%625 = load i32, i32* %624
%626 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%627 = load i32, i32* %626
%628 = call i32 @elapsed_time_hr(i32 %625, i32 %627, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0))
%629 = load i64, i64* %4
%630 = mul i64 %629, 5
%631 = udiv i64 %630, 8
store i64 %631, i64* %4
%632 = load i32, i32* @CLOCK_MONOTONIC
%633 = call i32 @clock_gettime(i32 %632, %struct.timespec* %11)
store i32 0, i32* %5
br label %634
634: ; preds = %664, %621
%635 = load i32, i32* %5
%636 = sext i32 %635 to i64
%637 = load i64, i64* %4
%638 = icmp ult i64 %636, %637
br i1 %638, label %639, label %667
639: ; preds = %634
%640 = load double, double* %6
%641 = load double, double* %7
%642 = fmul double %640, %641
store double %642, double* %8
%643 = load double, double* %7
%644 = load double, double* %8
%645 = fmul double %643, %644
store double %645, double* %6
%646 = load double, double* %6
%647 = load double, double* %8
%648 = fmul double %646, %647
store double %648, double* %7
%649 = load double, double* %8
%650 = load double, double* %6
%651 = fmul double %649, %650
store double %651, double* %8
%652 = load double, double* %7
%653 = load double, double* %6
%654 = fmul double %652, %653
store double %654, double* %7
%655 = load double, double* %8
%656 = load double, double* %7
%657 = fmul double %655, %656
store double %657, double* %8
%658 = load double, double* %6
%659 = load double, double* %8
%660 = fmul double %658, %659
store double %660, double* %6
%661 = load double, double* %7
%662 = load double, double* %8
%663 = fmul double %661, %662
store double %663, double* %7
br label %664
664: ; preds = %639
%665 = load i32, i32* %5
%666 = add nsw i32 %665, 1
store i32 %666, i32* %5
br label %634
667: ; preds = %634
%668 = load i32, i32* @CLOCK_MONOTONIC
%669 = call i32 @clock_gettime(i32 %668, %struct.timespec* %12)
%670 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%671 = load i32, i32* %670
%672 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%673 = load i32, i32* %672
%674 = call i32 @elapsed_time_hr(i32 %671, i32 %673, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0))
%675 = load i64, i64* %4
%676 = udiv i64 %675, 2
store i64 %676, i64* %4
%677 = load i32, i32* @CLOCK_MONOTONIC
%678 = call i32 @clock_gettime(i32 %677, %struct.timespec* %11)
store i32 0, i32* %5
br label %679
679: ; preds = %715, %667
%680 = load i32, i32* %5
%681 = sext i32 %680 to i64
%682 = load i64, i64* %4
%683 = icmp ult i64 %681, %682
br i1 %683, label %684, label %718
684: ; preds = %679
%685 = load double, double* %6
%686 = load double, double* %7
%687 = fmul double %685, %686
store double %687, double* %8
%688 = load double, double* %7
%689 = load double, double* %8
%690 = fmul double %688, %689
store double %690, double* %6
%691 = load double, double* %6
%692 = load double, double* %8
%693 = fmul double %691, %692
store double %693, double* %7
%694 = load double, double* %8
%695 = load double, double* %6
%696 = fmul double %694, %695
store double %696, double* %8
%697 = load double, double* %7
%698 = load double, double* %6
%699 = fmul double %697, %698
store double %699, double* %7
%700 = load double, double* %8
%701 = load double, double* %7
%702 = fmul double %700, %701
store double %702, double* %8
%703 = load double, double* %6
%704 = load double, double* %8
%705 = fmul double %703, %704
store double %705, double* %6
%706 = load double, double* %7
%707 = load double, double* %8
%708 = fmul double %706, %707
store double %708, double* %7
%709 = load double, double* %7
%710 = load double, double* %6
%711 = fmul double %709, %710
store double %711, double* %8
%712 = load double, double* %8
%713 = load double, double* %6
%714 = fmul double %712, %713
store double %714, double* %7
br label %715
715: ; preds = %684
%716 = load i32, i32* %5
%717 = add nsw i32 %716, 1
store i32 %717, i32* %5
br label %679
718: ; preds = %679
%719 = load i32, i32* @CLOCK_MONOTONIC
%720 = call i32 @clock_gettime(i32 %719, %struct.timespec* %12)
%721 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%722 = load i32, i32* %721
%723 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%724 = load i32, i32* %723
%725 = call i32 @elapsed_time_hr(i32 %722, i32 %724, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.17, i64 0, i64 0))
br label %989
726: ; preds = %2
store i32 0, i32* %5
br label %727
727: ; preds = %735, %726
%728 = load i32, i32* %5
%729 = icmp slt i32 %728, 100
br i1 %729, label %730, label %738
730: ; preds = %727
%731 = load double, double* %6
%732 = load double, double* %7
%733 = fdiv double %731, %732
%734 = fptosi double %733 to i32
store volatile i32 %734, i32* %13
br label %735
735: ; preds = %730
%736 = load i32, i32* %5
%737 = add nsw i32 %736, 1
store i32 %737, i32* %5
br label %727
738: ; preds = %727
%739 = load i32, i32* @CLOCK_MONOTONIC
%740 = call i32 @clock_gettime(i32 %739, %struct.timespec* %11)
store i32 0, i32* %5
br label %741
741: ; preds = %751, %738
%742 = load i32, i32* %5
%743 = sext i32 %742 to i64
%744 = load i64, i64* %4
%745 = icmp ult i64 %743, %744
br i1 %745, label %746, label %754
746: ; preds = %741
%747 = load double, double* %6
%748 = load double, double* %7
%749 = fdiv double %747, %748
%750 = fptosi double %749 to i32
store volatile i32 %750, i32* %13
br label %751
751: ; preds = %746
%752 = load i32, i32* %5
%753 = add nsw i32 %752, 1
store i32 %753, i32* %5
br label %741
754: ; preds = %741
%755 = load i32, i32* @CLOCK_MONOTONIC
%756 = call i32 @clock_gettime(i32 %755, %struct.timespec* %12)
%757 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%758 = load i32, i32* %757
%759 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%760 = load i32, i32* %759
%761 = call i32 @elapsed_time_hr(i32 %758, i32 %760, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0))
%762 = load i64, i64* %4
%763 = udiv i64 %762, 2
store i64 %763, i64* %4
%764 = load i32, i32* @CLOCK_MONOTONIC
%765 = call i32 @clock_gettime(i32 %764, %struct.timespec* %11)
store i32 0, i32* %5
br label %766
766: ; preds = %780, %754
%767 = load i32, i32* %5
%768 = sext i32 %767 to i64
%769 = load i64, i64* %4
%770 = icmp ult i64 %768, %769
br i1 %770, label %771, label %783
771: ; preds = %766
%772 = load double, double* %6
%773 = load double, double* %7
%774 = fdiv double %772, %773
%775 = fptosi double %774 to i32
store volatile i32 %775, i32* %13
%776 = load double, double* %7
%777 = load double, double* %8
%778 = fdiv double %776, %777
%779 = fptosi double %778 to i32
store volatile i32 %779, i32* %14
br label %780
780: ; preds = %771
%781 = load i32, i32* %5
%782 = add nsw i32 %781, 1
store i32 %782, i32* %5
br label %766
783: ; preds = %766
%784 = load i32, i32* @CLOCK_MONOTONIC
%785 = call i32 @clock_gettime(i32 %784, %struct.timespec* %12)
%786 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%787 = load i32, i32* %786
%788 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%789 = load i32, i32* %788
%790 = call i32 @elapsed_time_hr(i32 %787, i32 %789, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0))
%791 = load i64, i64* %4
%792 = udiv i64 %791, 2
store i64 %792, i64* %4
%793 = load i32, i32* @CLOCK_MONOTONIC
%794 = call i32 @clock_gettime(i32 %793, %struct.timespec* %11)
store i32 0, i32* %5
br label %795
795: ; preds = %817, %783
%796 = load i32, i32* %5
%797 = sext i32 %796 to i64
%798 = load i64, i64* %4
%799 = icmp ult i64 %797, %798
br i1 %799, label %800, label %820
800: ; preds = %795
%801 = load double, double* %6
%802 = load double, double* %7
%803 = fdiv double %801, %802
%804 = fptosi double %803 to i32
store volatile i32 %804, i32* %13
%805 = load double, double* %7
%806 = load double, double* %8
%807 = fdiv double %805, %806
%808 = fptosi double %807 to i32
store volatile i32 %808, i32* %14
%809 = load double, double* %6
%810 = load double, double* %8
%811 = fdiv double %809, %810
%812 = fptosi double %811 to i32
store volatile i32 %812, i32* %15
%813 = load double, double* %7
%814 = load double, double* %6
%815 = fdiv double %813, %814
%816 = fptosi double %815 to i32
store volatile i32 %816, i32* %16
br label %817
817: ; preds = %800
%818 = load i32, i32* %5
%819 = add nsw i32 %818, 1
store i32 %819, i32* %5
br label %795
820: ; preds = %795
%821 = load i32, i32* @CLOCK_MONOTONIC
%822 = call i32 @clock_gettime(i32 %821, %struct.timespec* %12)
%823 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%824 = load i32, i32* %823
%825 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%826 = load i32, i32* %825
%827 = call i32 @elapsed_time_hr(i32 %824, i32 %826, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.20, i64 0, i64 0))
%828 = load i64, i64* %4
%829 = mul i64 %828, 4
%830 = udiv i64 %829, 5
store i64 %830, i64* %4
%831 = load i32, i32* @CLOCK_MONOTONIC
%832 = call i32 @clock_gettime(i32 %831, %struct.timespec* %11)
store i32 0, i32* %5
br label %833
833: ; preds = %859, %820
%834 = load i32, i32* %5
%835 = sext i32 %834 to i64
%836 = load i64, i64* %4
%837 = icmp ult i64 %835, %836
br i1 %837, label %838, label %862
838: ; preds = %833
%839 = load double, double* %6
%840 = load double, double* %7
%841 = fdiv double %839, %840
%842 = fptosi double %841 to i32
store volatile i32 %842, i32* %13
%843 = load double, double* %7
%844 = load double, double* %8
%845 = fdiv double %843, %844
%846 = fptosi double %845 to i32
store volatile i32 %846, i32* %14
%847 = load double, double* %6
%848 = load double, double* %8
%849 = fdiv double %847, %848
%850 = fptosi double %849 to i32
store volatile i32 %850, i32* %15
%851 = load double, double* %7
%852 = load double, double* %6
%853 = fdiv double %851, %852
%854 = fptosi double %853 to i32
store volatile i32 %854, i32* %16
%855 = load double, double* %8
%856 = load double, double* %6
%857 = fdiv double %855, %856
%858 = fptosi double %857 to i32
store volatile i32 %858, i32* %17
br label %859
859: ; preds = %838
%860 = load i32, i32* %5
%861 = add nsw i32 %860, 1
store i32 %861, i32* %5
br label %833
862: ; preds = %833
%863 = load i32, i32* @CLOCK_MONOTONIC
%864 = call i32 @clock_gettime(i32 %863, %struct.timespec* %12)
%865 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%866 = load i32, i32* %865
%867 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%868 = load i32, i32* %867
%869 = call i32 @elapsed_time_hr(i32 %866, i32 %868, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0))
%870 = load i64, i64* %4
%871 = mul i64 %870, 5
%872 = udiv i64 %871, 8
store i64 %872, i64* %4
%873 = load i32, i32* @CLOCK_MONOTONIC
%874 = call i32 @clock_gettime(i32 %873, %struct.timespec* %11)
store i32 0, i32* %5
br label %875
875: ; preds = %913, %862
%876 = load i32, i32* %5
%877 = sext i32 %876 to i64
%878 = load i64, i64* %4
%879 = icmp ult i64 %877, %878
br i1 %879, label %880, label %916
880: ; preds = %875
%881 = load double, double* %6
%882 = load double, double* %7
%883 = fdiv double %881, %882
%884 = fptosi double %883 to i32
store volatile i32 %884, i32* %13
%885 = load double, double* %7
%886 = load double, double* %8
%887 = fdiv double %885, %886
%888 = fptosi double %887 to i32
store volatile i32 %888, i32* %14
%889 = load double, double* %6
%890 = load double, double* %8
%891 = fdiv double %889, %890
%892 = fptosi double %891 to i32
store volatile i32 %892, i32* %15
%893 = load double, double* %7
%894 = load double, double* %6
%895 = fdiv double %893, %894
%896 = fptosi double %895 to i32
store volatile i32 %896, i32* %16
%897 = load double, double* %8
%898 = load double, double* %6
%899 = fdiv double %897, %898
%900 = fptosi double %899 to i32
store volatile i32 %900, i32* %17
%901 = load double, double* %8
%902 = load double, double* %7
%903 = fdiv double %901, %902
%904 = fptosi double %903 to i32
store volatile i32 %904, i32* %18
%905 = load double, double* %6
%906 = load double, double* %6
%907 = fdiv double %905, %906
%908 = fptosi double %907 to i32
store volatile i32 %908, i32* %19
%909 = load double, double* %7
%910 = load double, double* %7
%911 = fdiv double %909, %910
%912 = fptosi double %911 to i32
store volatile i32 %912, i32* %20
br label %913
913: ; preds = %880
%914 = load i32, i32* %5
%915 = add nsw i32 %914, 1
store i32 %915, i32* %5
br label %875
916: ; preds = %875
%917 = load i32, i32* @CLOCK_MONOTONIC
%918 = call i32 @clock_gettime(i32 %917, %struct.timespec* %12)
%919 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%920 = load i32, i32* %919
%921 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%922 = load i32, i32* %921
%923 = call i32 @elapsed_time_hr(i32 %920, i32 %922, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.22, i64 0, i64 0))
%924 = load i64, i64* %4
%925 = mul i64 %924, 4
%926 = udiv i64 %925, 5
store i64 %926, i64* %4
%927 = load i32, i32* @CLOCK_MONOTONIC
%928 = call i32 @clock_gettime(i32 %927, %struct.timespec* %11)
store i32 0, i32* %5
br label %929
929: ; preds = %976, %916
%930 = load i32, i32* %5
%931 = sext i32 %930 to i64
%932 = load i64, i64* %4
%933 = icmp ult i64 %931, %932
br i1 %933, label %934, label %979
934: ; preds = %929
%935 = load double, double* %6
%936 = load double, double* %7
%937 = fdiv double %935, %936
%938 = fptosi double %937 to i32
store volatile i32 %938, i32* %13
%939 = load double, double* %7
%940 = load double, double* %8
%941 = fdiv double %939, %940
%942 = fptosi double %941 to i32
store volatile i32 %942, i32* %14
%943 = load double, double* %6
%944 = load double, double* %8
%945 = fdiv double %943, %944
%946 = fptosi double %945 to i32
store volatile i32 %946, i32* %15
%947 = load double, double* %7
%948 = load double, double* %6
%949 = fdiv double %947, %948
%950 = fptosi double %949 to i32
store volatile i32 %950, i32* %16
%951 = load double, double* %8
%952 = load double, double* %6
%953 = fdiv double %951, %952
%954 = fptosi double %953 to i32
store volatile i32 %954, i32* %17
%955 = load double, double* %8
%956 = load double, double* %7
%957 = fdiv double %955, %956
%958 = fptosi double %957 to i32
store volatile i32 %958, i32* %18
%959 = load double, double* %6
%960 = load double, double* %6
%961 = fdiv double %959, %960
%962 = fptosi double %961 to i32
store volatile i32 %962, i32* %19
%963 = load double, double* %7
%964 = load double, double* %7
%965 = fdiv double %963, %964
%966 = fptosi double %965 to i32
store volatile i32 %966, i32* %20
%967 = load double, double* %8
%968 = load double, double* %8
%969 = fdiv double %967, %968
%970 = fptosi double %969 to i32
store volatile i32 %970, i32* %21
%971 = load volatile i32, i32* %22
%972 = sitofp i32 %971 to double
%973 = load double, double* %6
%974 = fdiv double %972, %973
%975 = fptosi double %974 to i32
store volatile i32 %975, i32* %22
br label %976
976: ; preds = %934
%977 = load i32, i32* %5
%978 = add nsw i32 %977, 1
store i32 %978, i32* %5
br label %929
979: ; preds = %929
%980 = load i32, i32* @CLOCK_MONOTONIC
%981 = call i32 @clock_gettime(i32 %980, %struct.timespec* %12)
%982 = getelementptr inbounds %struct.timespec, %struct.timespec* %11, i32 0, i32 0
%983 = load i32, i32* %982
%984 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%985 = load i32, i32* %984
%986 = call i32 @elapsed_time_hr(i32 %983, i32 %985, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0))
br label %989
987: ; preds = %2
%988 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.24, i64 0, i64 0))
br label %989
989: ; preds = %987, %979, %718, %490, %262
ret i32 0
}

LLVM IR (-O2):
%struct.timespec = type { i32 }
@CLOCK_MONOTONIC = global i32 0
@.str = [26 x i8] c"Double Addition - 1 op HR\00"
@.str.1 = [24 x i8] c"Double Addition - 2 ops\00"
@.str.2 = [24 x i8] c"Double Addition - 4 ops\00"
@.str.3 = [24 x i8] c"Double Addition - 5 ops\00"
@.str.4 = [24 x i8] c"Double Addition - 8 ops\00"
@.str.5 = [25 x i8] c"Double Addition - 10 ops\00"
@.str.6 = [26 x i8] c"Double Subtraction - 1 op\00"
@.str.7 = [27 x i8] c"Double Subtraction - 2 ops\00"
@.str.8 = [27 x i8] c"Double Subtraction - 4 ops\00"
@.str.9 = [27 x i8] c"Double Subtraction - 5 ops\00"
@.str.10 = [28 x i8] c"Integer Subtraction - 8 ops\00"
@.str.11 = [28 x i8] c"Double Subtraction - 10 ops\00"
@.str.12 = [29 x i8] c"Double Multiplication - 1 op\00"
@.str.13 = [30 x i8] c"Double Multiplication - 2 ops\00"
@.str.14 = [30 x i8] c"Double Multiplication - 4 ops\00"
@.str.15 = [30 x i8] c"Double Multiplication - 5 ops\00"
@.str.16 = [30 x i8] c"Double Multiplication - 8 ops\00"
@.str.17 = [31 x i8] c"Double Multiplication - 10 ops\00"
@.str.18 = [23 x i8] c"Double Division - 1 op\00"
@.str.19 = [24 x i8] c"Double Division - 2 ops\00"
@.str.20 = [24 x i8] c"Double Division - 4 ops\00"
@.str.21 = [24 x i8] c"Double Division - 5 ops\00"
@.str.22 = [24 x i8] c"Double Division - 8 ops\00"
@.str.23 = [25 x i8] c"Double Division - 10 ops\00"
@str = [59 x i8] c"Only possible operation choices are '+', '-', '*' and '/'.\00"
define i32 @double_basic_op(i8* nocapture %0, i64 %1) {
%3 = alloca %struct.timespec
%4 = alloca %struct.timespec
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = load i8, i8* %0
%16 = tail call i64 @time(i32* null)
%17 = trunc i64 %16 to i32
%18 = tail call i32 @srand(i32 %17)
%19 = tail call double (...) @rand()
%20 = tail call double (...) @rand()
%21 = tail call double (...) @rand()
%22 = tail call double (...) @rand()
%23 = bitcast %struct.timespec* %3 to i8*
%24 = bitcast %struct.timespec* %4 to i8*
%25 = tail call i32 @warmup_loop(i64 %1)
%26 = tail call i32 @loop_timer_nop(i64 %1)
%27 = tail call i32 @loop_timer(i64 %1)
%28 = sext i8 %15 to i32
switch i32 %28, label %380 [
i32 43, label %119
i32 45, label %74
i32 42, label %29
i32 47, label %164
]
29: ; preds = %2
%30 = load i32, i32* @CLOCK_MONOTONIC
%31 = call i32 @clock_gettime(i32 %30, %struct.timespec* %3)
%32 = load i32, i32* @CLOCK_MONOTONIC
%33 = call i32 @clock_gettime(i32 %32, %struct.timespec* %4)
%34 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%35 = load i32, i32* %34
%36 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 0
%37 = load i32, i32* %36
%38 = call i32 @elapsed_time_hr(i32 %35, i32 %37, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%39 = load i32, i32* @CLOCK_MONOTONIC
%40 = call i32 @clock_gettime(i32 %39, %struct.timespec* %3)
%41 = load i32, i32* @CLOCK_MONOTONIC
%42 = call i32 @clock_gettime(i32 %41, %struct.timespec* %4)
%43 = load i32, i32* %34
%44 = load i32, i32* %36
%45 = call i32 @elapsed_time_hr(i32 %43, i32 %44, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
%46 = load i32, i32* @CLOCK_MONOTONIC
%47 = call i32 @clock_gettime(i32 %46, %struct.timespec* %3)
%48 = load i32, i32* @CLOCK_MONOTONIC
%49 = call i32 @clock_gettime(i32 %48, %struct.timespec* %4)
%50 = load i32, i32* %34
%51 = load i32, i32* %36
%52 = call i32 @elapsed_time_hr(i32 %50, i32 %51, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%53 = load i32, i32* @CLOCK_MONOTONIC
%54 = call i32 @clock_gettime(i32 %53, %struct.timespec* %3)
%55 = load i32, i32* @CLOCK_MONOTONIC
%56 = call i32 @clock_gettime(i32 %55, %struct.timespec* %4)
%57 = load i32, i32* %34
%58 = load i32, i32* %36
%59 = call i32 @elapsed_time_hr(i32 %57, i32 %58, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0))
%60 = load i32, i32* @CLOCK_MONOTONIC
%61 = call i32 @clock_gettime(i32 %60, %struct.timespec* %3)
%62 = load i32, i32* @CLOCK_MONOTONIC
%63 = call i32 @clock_gettime(i32 %62, %struct.timespec* %4)
%64 = load i32, i32* %34
%65 = load i32, i32* %36
%66 = call i32 @elapsed_time_hr(i32 %64, i32 %65, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0))
%67 = load i32, i32* @CLOCK_MONOTONIC
%68 = call i32 @clock_gettime(i32 %67, %struct.timespec* %3)
%69 = load i32, i32* @CLOCK_MONOTONIC
%70 = call i32 @clock_gettime(i32 %69, %struct.timespec* %4)
%71 = load i32, i32* %34
%72 = load i32, i32* %36
%73 = call i32 @elapsed_time_hr(i32 %71, i32 %72, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.17, i64 0, i64 0))
br label %382
74: ; preds = %2
%75 = load i32, i32* @CLOCK_MONOTONIC
%76 = call i32 @clock_gettime(i32 %75, %struct.timespec* %3)
%77 = load i32, i32* @CLOCK_MONOTONIC
%78 = call i32 @clock_gettime(i32 %77, %struct.timespec* %4)
%79 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%80 = load i32, i32* %79
%81 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 0
%82 = load i32, i32* %81
%83 = call i32 @elapsed_time_hr(i32 %80, i32 %82, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
%84 = load i32, i32* @CLOCK_MONOTONIC
%85 = call i32 @clock_gettime(i32 %84, %struct.timespec* %3)
%86 = load i32, i32* @CLOCK_MONOTONIC
%87 = call i32 @clock_gettime(i32 %86, %struct.timespec* %4)
%88 = load i32, i32* %79
%89 = load i32, i32* %81
%90 = call i32 @elapsed_time_hr(i32 %88, i32 %89, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%91 = load i32, i32* @CLOCK_MONOTONIC
%92 = call i32 @clock_gettime(i32 %91, %struct.timespec* %3)
%93 = load i32, i32* @CLOCK_MONOTONIC
%94 = call i32 @clock_gettime(i32 %93, %struct.timespec* %4)
%95 = load i32, i32* %79
%96 = load i32, i32* %81
%97 = call i32 @elapsed_time_hr(i32 %95, i32 %96, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%98 = load i32, i32* @CLOCK_MONOTONIC
%99 = call i32 @clock_gettime(i32 %98, %struct.timespec* %3)
%100 = load i32, i32* @CLOCK_MONOTONIC
%101 = call i32 @clock_gettime(i32 %100, %struct.timespec* %4)
%102 = load i32, i32* %79
%103 = load i32, i32* %81
%104 = call i32 @elapsed_time_hr(i32 %102, i32 %103, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%105 = load i32, i32* @CLOCK_MONOTONIC
%106 = call i32 @clock_gettime(i32 %105, %struct.timespec* %3)
%107 = load i32, i32* @CLOCK_MONOTONIC
%108 = call i32 @clock_gettime(i32 %107, %struct.timespec* %4)
%109 = load i32, i32* %79
%110 = load i32, i32* %81
%111 = call i32 @elapsed_time_hr(i32 %109, i32 %110, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%112 = load i32, i32* @CLOCK_MONOTONIC
%113 = call i32 @clock_gettime(i32 %112, %struct.timespec* %3)
%114 = load i32, i32* @CLOCK_MONOTONIC
%115 = call i32 @clock_gettime(i32 %114, %struct.timespec* %4)
%116 = load i32, i32* %79
%117 = load i32, i32* %81
%118 = call i32 @elapsed_time_hr(i32 %116, i32 %117, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
br label %382
119: ; preds = %2
%120 = load i32, i32* @CLOCK_MONOTONIC
%121 = call i32 @clock_gettime(i32 %120, %struct.timespec* %3)
%122 = load i32, i32* @CLOCK_MONOTONIC
%123 = call i32 @clock_gettime(i32 %122, %struct.timespec* %4)
%124 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%125 = load i32, i32* %124
%126 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 0
%127 = load i32, i32* %126
%128 = call i32 @elapsed_time_hr(i32 %125, i32 %127, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%129 = load i32, i32* @CLOCK_MONOTONIC
%130 = call i32 @clock_gettime(i32 %129, %struct.timespec* %3)
%131 = load i32, i32* @CLOCK_MONOTONIC
%132 = call i32 @clock_gettime(i32 %131, %struct.timespec* %4)
%133 = load i32, i32* %124
%134 = load i32, i32* %126
%135 = call i32 @elapsed_time_hr(i32 %133, i32 %134, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%136 = load i32, i32* @CLOCK_MONOTONIC
%137 = call i32 @clock_gettime(i32 %136, %struct.timespec* %3)
%138 = load i32, i32* @CLOCK_MONOTONIC
%139 = call i32 @clock_gettime(i32 %138, %struct.timespec* %4)
%140 = load i32, i32* %124
%141 = load i32, i32* %126
%142 = call i32 @elapsed_time_hr(i32 %140, i32 %141, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%143 = load i32, i32* @CLOCK_MONOTONIC
%144 = call i32 @clock_gettime(i32 %143, %struct.timespec* %3)
%145 = load i32, i32* @CLOCK_MONOTONIC
%146 = call i32 @clock_gettime(i32 %145, %struct.timespec* %4)
%147 = load i32, i32* %124
%148 = load i32, i32* %126
%149 = call i32 @elapsed_time_hr(i32 %147, i32 %148, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%150 = load i32, i32* @CLOCK_MONOTONIC
%151 = call i32 @clock_gettime(i32 %150, %struct.timespec* %3)
%152 = load i32, i32* @CLOCK_MONOTONIC
%153 = call i32 @clock_gettime(i32 %152, %struct.timespec* %4)
%154 = load i32, i32* %124
%155 = load i32, i32* %126
%156 = call i32 @elapsed_time_hr(i32 %154, i32 %155, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%157 = load i32, i32* @CLOCK_MONOTONIC
%158 = call i32 @clock_gettime(i32 %157, %struct.timespec* %3)
%159 = load i32, i32* @CLOCK_MONOTONIC
%160 = call i32 @clock_gettime(i32 %159, %struct.timespec* %4)
%161 = load i32, i32* %124
%162 = load i32, i32* %126
%163 = call i32 @elapsed_time_hr(i32 %161, i32 %162, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
br label %382
164: ; preds = %2
%165 = bitcast i32* %5 to i8*
%166 = bitcast i32* %6 to i8*
%167 = bitcast i32* %7 to i8*
%168 = bitcast i32* %8 to i8*
%169 = bitcast i32* %9 to i8*
%170 = bitcast i32* %10 to i8*
%171 = bitcast i32* %11 to i8*
%172 = bitcast i32* %12 to i8*
%173 = bitcast i32* %13 to i8*
%174 = bitcast i32* %14 to i8*
%175 = fdiv double %19, %20
%176 = fptosi double %175 to i32
br label %177
177: ; preds = %177, %164
%178 = phi i32 [ 0, %164 ], [ %179, %177 ]
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
%179 = add nuw nsw i32 %178, 10
%180 = icmp eq i32 %179, 100
br i1 %180, label %181, label %177
181: ; preds = %177
%182 = load i32, i32* @CLOCK_MONOTONIC
%183 = call i32 @clock_gettime(i32 %182, %struct.timespec* %3)
%184 = icmp eq i64 %1, 0
br i1 %184, label %201, label %185
185: ; preds = %181
%186 = add i64 %1, -1
%187 = and i64 %1, 7
%188 = icmp ult i64 %186, 7
br i1 %188, label %195, label %189
189: ; preds = %185
%190 = and i64 %1, -8
br label %191
191: ; preds = %191, %189
%192 = phi i64 [ 0, %189 ], [ %193, %191 ]
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
store volatile i32 %176, i32* %5
%193 = add i64 %192, 8
%194 = icmp eq i64 %193, %190
br i1 %194, label %195, label %191
195: ; preds = %191, %185
%196 = icmp eq i64 %187, 0
br i1 %196, label %201, label %197
197: ; preds = %195, %197
%198 = phi i64 [ %199, %197 ], [ 0, %195 ]
store volatile i32 %176, i32* %5
%199 = add i64 %198, 1
%200 = icmp eq i64 %199, %187
br i1 %200, label %201, label %197
201: ; preds = %195, %197, %181
%202 = load i32, i32* @CLOCK_MONOTONIC
%203 = call i32 @clock_gettime(i32 %202, %struct.timespec* %4)
%204 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%205 = load i32, i32* %204
%206 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 0
%207 = load i32, i32* %206
%208 = call i32 @elapsed_time_hr(i32 %205, i32 %207, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0))
%209 = load i32, i32* @CLOCK_MONOTONIC
%210 = call i32 @clock_gettime(i32 %209, %struct.timespec* %3)
%211 = icmp ult i64 %1, 2
br i1 %211, label %231, label %212
212: ; preds = %201
%213 = lshr i64 %1, 1
%214 = fdiv double %20, %21
%215 = fptosi double %214 to i32
%216 = add nsw i64 %213, -1
%217 = and i64 %213, 7
%218 = icmp ult i64 %216, 7
br i1 %218, label %225, label %219
219: ; preds = %212
%220 = and i64 %213, 9223372036854775800
br label %221
221: ; preds = %221, %219
%222 = phi i64 [ 0, %219 ], [ %223, %221 ]
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
%223 = add i64 %222, 8
%224 = icmp eq i64 %223, %220
br i1 %224, label %225, label %221
225: ; preds = %221, %212
%226 = icmp eq i64 %217, 0
br i1 %226, label %231, label %227
227: ; preds = %225, %227
%228 = phi i64 [ %229, %227 ], [ 0, %225 ]
store volatile i32 %176, i32* %5
store volatile i32 %215, i32* %6
%229 = add i64 %228, 1
%230 = icmp eq i64 %229, %217
br i1 %230, label %231, label %227
231: ; preds = %225, %227, %201
%232 = load i32, i32* @CLOCK_MONOTONIC
%233 = call i32 @clock_gettime(i32 %232, %struct.timespec* %4)
%234 = load i32, i32* %204
%235 = load i32, i32* %206
%236 = call i32 @elapsed_time_hr(i32 %234, i32 %235, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0))
%237 = load i32, i32* @CLOCK_MONOTONIC
%238 = call i32 @clock_gettime(i32 %237, %struct.timespec* %3)
%239 = icmp ult i64 %1, 4
br i1 %239, label %263, label %240
240: ; preds = %231
%241 = lshr i64 %1, 2
%242 = fdiv double %20, %21
%243 = fptosi double %242 to i32
%244 = fdiv double %19, %21
%245 = fptosi double %244 to i32
%246 = fdiv double %20, %19
%247 = fptosi double %246 to i32
%248 = add nsw i64 %241, -1
%249 = and i64 %241, 3
%250 = icmp ult i64 %248, 3
br i1 %250, label %257, label %251
251: ; preds = %240
%252 = and i64 %241, 4611686018427387900
br label %253
253: ; preds = %253, %251
%254 = phi i64 [ 0, %251 ], [ %255, %253 ]
store volatile i32 %176, i32* %5
store volatile i32 %243, i32* %6
store volatile i32 %245, i32* %7
store volatile i32 %247, i32* %8
store volatile i32 %176, i32* %5
store volatile i32 %243, i32* %6
store volatile i32 %245, i32* %7
store volatile i32 %247, i32* %8
store volatile i32 %176, i32* %5
store volatile i32 %243, i32* %6
store volatile i32 %245, i32* %7
store volatile i32 %247, i32* %8
store volatile i32 %176, i32* %5
store volatile i32 %243, i32* %6
store volatile i32 %245, i32* %7
store volatile i32 %247, i32* %8
%255 = add i64 %254, 4
%256 = icmp eq i64 %255, %252
br i1 %256, label %257, label %253
257: ; preds = %253, %240
%258 = icmp eq i64 %249, 0
br i1 %258, label %263, label %259
259: ; preds = %257, %259
%260 = phi i64 [ %261, %259 ], [ 0, %257 ]
store volatile i32 %176, i32* %5
store volatile i32 %243, i32* %6
store volatile i32 %245, i32* %7
store volatile i32 %247, i32* %8
%261 = add i64 %260, 1
%262 = icmp eq i64 %261, %249
br i1 %262, label %263, label %259
263: ; preds = %257, %259, %231
%264 = load i32, i32* @CLOCK_MONOTONIC
%265 = call i32 @clock_gettime(i32 %264, %struct.timespec* %4)
%266 = load i32, i32* %204
%267 = load i32, i32* %206
%268 = call i32 @elapsed_time_hr(i32 %266, i32 %267, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.20, i64 0, i64 0))
%269 = and i64 %1, -4
%270 = udiv i64 %269, 5
%271 = load i32, i32* @CLOCK_MONOTONIC
%272 = call i32 @clock_gettime(i32 %271, %struct.timespec* %3)
%273 = icmp ult i64 %269, 5
br i1 %273, label %299, label %274
274: ; preds = %263
%275 = fdiv double %20, %21
%276 = fptosi double %275 to i32
%277 = fdiv double %19, %21
%278 = fptosi double %277 to i32
%279 = fdiv double %20, %19
%280 = fptosi double %279 to i32
%281 = fdiv double %21, %19
%282 = fptosi double %281 to i32
%283 = call i64 @llvm.umax.i64(i64 %270, i64 1)
%284 = add nsw i64 %283, -1
%285 = and i64 %283, 3
%286 = icmp ult i64 %284, 3
br i1 %286, label %293, label %287
287: ; preds = %274
%288 = and i64 %283, 4611686018427387900
br label %289
289: ; preds = %289, %287
%290 = phi i64 [ 0, %287 ], [ %291, %289 ]
store volatile i32 %176, i32* %5
store volatile i32 %276, i32* %6
store volatile i32 %278, i32* %7
store volatile i32 %280, i32* %8
store volatile i32 %282, i32* %9
store volatile i32 %176, i32* %5
store volatile i32 %276, i32* %6
store volatile i32 %278, i32* %7
store volatile i32 %280, i32* %8
store volatile i32 %282, i32* %9
store volatile i32 %176, i32* %5
store volatile i32 %276, i32* %6
store volatile i32 %278, i32* %7
store volatile i32 %280, i32* %8
store volatile i32 %282, i32* %9
store volatile i32 %176, i32* %5
store volatile i32 %276, i32* %6
store volatile i32 %278, i32* %7
store volatile i32 %280, i32* %8
store volatile i32 %282, i32* %9
%291 = add i64 %290, 4
%292 = icmp eq i64 %291, %288
br i1 %292, label %293, label %289
293: ; preds = %289, %274
%294 = icmp eq i64 %285, 0
br i1 %294, label %299, label %295
295: ; preds = %293, %295
%296 = phi i64 [ %297, %295 ], [ 0, %293 ]
store volatile i32 %176, i32* %5
store volatile i32 %276, i32* %6
store volatile i32 %278, i32* %7
store volatile i32 %280, i32* %8
store volatile i32 %282, i32* %9
%297 = add i64 %296, 1
%298 = icmp eq i64 %297, %285
br i1 %298, label %299, label %295
299: ; preds = %293, %295, %263
%300 = load i32, i32* @CLOCK_MONOTONIC
%301 = call i32 @clock_gettime(i32 %300, %struct.timespec* %4)
%302 = load i32, i32* %204
%303 = load i32, i32* %206
%304 = call i32 @elapsed_time_hr(i32 %302, i32 %303, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0))
%305 = mul i64 %270, 5
%306 = lshr i64 %305, 3
%307 = load i32, i32* @CLOCK_MONOTONIC
%308 = call i32 @clock_gettime(i32 %307, %struct.timespec* %3)
%309 = icmp ult i64 %305, 8
br i1 %309, label %337, label %310
310: ; preds = %299
%311 = fdiv double %20, %21
%312 = fptosi double %311 to i32
%313 = fdiv double %19, %21
%314 = fptosi double %313 to i32
%315 = fdiv double %20, %19
%316 = fptosi double %315 to i32
%317 = fdiv double %21, %19
%318 = fptosi double %317 to i32
%319 = fdiv double %21, %20
%320 = fptosi double %319 to i32
%321 = fdiv double %19, %19
%322 = fptosi double %321 to i32
%323 = fdiv double %20, %20
%324 = fptosi double %323 to i32
%325 = call i64 @llvm.umax.i64(i64 %306, i64 1)
%326 = and i64 %325, 1
%327 = icmp ult i64 %305, 16
br i1 %327, label %334, label %328
328: ; preds = %310
%329 = and i64 %325, 2305843009213693950
br label %330
330: ; preds = %330, %328
%331 = phi i64 [ 0, %328 ], [ %332, %330 ]
store volatile i32 %176, i32* %5
store volatile i32 %312, i32* %6
store volatile i32 %314, i32* %7
store volatile i32 %316, i32* %8
store volatile i32 %318, i32* %9
store volatile i32 %320, i32* %10
store volatile i32 %322, i32* %11
store volatile i32 %324, i32* %12
store volatile i32 %176, i32* %5
store volatile i32 %312, i32* %6
store volatile i32 %314, i32* %7
store volatile i32 %316, i32* %8
store volatile i32 %318, i32* %9
store volatile i32 %320, i32* %10
store volatile i32 %322, i32* %11
store volatile i32 %324, i32* %12
%332 = add i64 %331, 2
%333 = icmp eq i64 %332, %329
br i1 %333, label %334, label %330
334: ; preds = %330, %310
%335 = icmp eq i64 %326, 0
br i1 %335, label %337, label %336
336: ; preds = %334
store volatile i32 %176, i32* %5
store volatile i32 %312, i32* %6
store volatile i32 %314, i32* %7
store volatile i32 %316, i32* %8
store volatile i32 %318, i32* %9
store volatile i32 %320, i32* %10
store volatile i32 %322, i32* %11
store volatile i32 %324, i32* %12
br label %337
337: ; preds = %336, %334, %299
%338 = load i32, i32* @CLOCK_MONOTONIC
%339 = call i32 @clock_gettime(i32 %338, %struct.timespec* %4)
%340 = load i32, i32* %204
%341 = load i32, i32* %206
%342 = call i32 @elapsed_time_hr(i32 %340, i32 %341, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.22, i64 0, i64 0))
%343 = load i32, i32* @CLOCK_MONOTONIC
%344 = call i32 @clock_gettime(i32 %343, %struct.timespec* %3)
%345 = icmp ult i64 %305, 16
br i1 %345, label %374, label %346
346: ; preds = %337
%347 = shl nuw nsw i64 %306, 2
%348 = udiv i64 %347, 5
%349 = fdiv double %20, %21
%350 = fptosi double %349 to i32
%351 = fdiv double %19, %21
%352 = fptosi double %351 to i32
%353 = fdiv double %20, %19
%354 = fptosi double %353 to i32
%355 = fdiv double %21, %19
%356 = fptosi double %355 to i32
%357 = fdiv double %21, %20
%358 = fptosi double %357 to i32
%359 = fdiv double %19, %19
%360 = fptosi double %359 to i32
%361 = fdiv double %20, %20
%362 = fptosi double %361 to i32
%363 = fdiv double %21, %21
%364 = fptosi double %363 to i32
%365 = call i64 @llvm.umax.i64(i64 %348, i64 1)
br label %366
366: ; preds = %346, %366
%367 = phi i64 [ 0, %346 ], [ %372, %366 ]
store volatile i32 %176, i32* %5
store volatile i32 %350, i32* %6
store volatile i32 %352, i32* %7
store volatile i32 %354, i32* %8
store volatile i32 %356, i32* %9
store volatile i32 %358, i32* %10
store volatile i32 %360, i32* %11
store volatile i32 %362, i32* %12
store volatile i32 %364, i32* %13
%368 = load volatile i32, i32* %14
%369 = sitofp i32 %368 to double
%370 = fdiv double %369, %19
%371 = fptosi double %370 to i32
store volatile i32 %371, i32* %14
%372 = add nuw nsw i64 %367, 1
%373 = icmp eq i64 %372, %365
br i1 %373, label %374, label %366
374: ; preds = %366, %337
%375 = load i32, i32* @CLOCK_MONOTONIC
%376 = call i32 @clock_gettime(i32 %375, %struct.timespec* %4)
%377 = load i32, i32* %204
%378 = load i32, i32* %206
%379 = call i32 @elapsed_time_hr(i32 %377, i32 %378, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0))
br label %382
380: ; preds = %2
%381 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str, i64 0, i64 0))
br label %382
382: ; preds = %380, %374, %29, %74, %119
ret i32 0
}