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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, float);
int main(void) {
  float a = 0x7FFFFFFF;
  printf("648 - 64 = %d\n", 648 - 64);
  printf("648 - 65 = %d\n", 648 - 65);
  printf("a      = %f\n", a);
  printf("a - 64 = %f\n", a - 64);
  printf("a - 65 = %f\n", a - 65);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xee9(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
lea    0xee1(%rip),%rdi
movss  0xed1(%rip),%xmm0
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
movss  0xeb9(%rip),%xmm0
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
movss  0xe92(%rip),%xmm1
subss  %xmm1,%xmm0
lea    0xec2(%rip),%rdi
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
movss  0xe71(%rip),%xmm1
subss  %xmm1,%xmm0
lea    0xeb2(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xef8(%rip),%rdi
movss  0xee0(%rip),%xmm0
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
movss  0xed0(%rip),%xmm0
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
movss  0xec0(%rip),%xmm0
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
movss  0xeac(%rip),%xmm0
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
movss  0xe9c(%rip),%xmm0
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [15 x i8] c"648 - 64 = %d\0A\00"
@.str.1 = [15 x i8] c"648 - 65 = %d\0A\00"
@.str.2 = [13 x i8] c"a = %f\0A\00"
@.str.3 = [13 x i8] c"a - 64 = %f\0A\00"
@.str.4 = [13 x i8] c"a - 65 = %f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
store i32 0, i32* %1
store float 0x41E0000000000000, float* %2
%3 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float 5.840000e+02)
%4 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), float 5.830000e+02)
%5 = load float, float* %2
%6 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), float %5)
%7 = load float, float* %2
%8 = fsub float %7, 6.400000e+01
%9 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), float %8)
%10 = load float, float* %2
%11 = fsub float %10, 6.500000e+01
%12 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), float %11)
ret i32 0
}

LLVM IR (-O2):
@.str = [15 x i8] c"648 - 64 = %d\0A\00"
@.str.1 = [15 x i8] c"648 - 65 = %d\0A\00"
@.str.2 = [13 x i8] c"a = %f\0A\00"
@.str.3 = [13 x i8] c"a - 64 = %f\0A\00"
@.str.4 = [13 x i8] c"a - 65 = %f\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), float 5.840000e+02)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), float 5.830000e+02)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), float 0x41E0000000000000)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), float 0x41E0000000000000)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), float 0x41DFFFFFE0000000)
ret i32 0
}