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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double pow(float, double);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  float x = 0.1, y = 1.0;
  printf("ïðè Õ=0 âûðàæåíèå íå èìååò ñìûñëà\n");
  while (x < 1.1) {
    while (y < 2.5) {
      printf("x= %-15.1f y= %-15.5f z= %.3f\n\n", x, y,
             pow((x + y) / (x * y), 1.0 / 3.0));
      y += 0.1;
    }
    x += 0.1;
    y = 1.0;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xecd(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  0xebc(%rip),%xmm0
movss  %xmm0,-0xc(%rbp)
lea    0xed8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xea0(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1241 <main+0x121>
jmp    1177 <main+0x57>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe88(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1211 <main+0xf1>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x18(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x20(%rbp)
movss  -0x8(%rbp),%xmm0
addss  -0xc(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
mulss  -0xc(%rbp),%xmm1
divss  %xmm1,%xmm0
movsd  0xe52(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x20(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x18(%rbp),%xmm0
lea    0xe7e(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe19(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
jmp    1177 <main+0x57>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdf6(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
movss  0xdc9(%rip),%xmm0
movss  %xmm0,-0xc(%rbp)
jmp    1157 <main+0x37>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x20,%rsp
lea    0xf1c(%rip),%rdi
call   1030 <puts@plt>
movss  0xeb7(%rip),%xmm2
movsd  0xebf(%rip),%xmm0
movsd  0xec7(%rip),%xmm3
lea    0xed8(%rip),%rbx
movsd  %xmm0,0x10(%rsp)
movsd  0xeaa(%rip),%xmm5
movss  0xe8e(%rip),%xmm1
movss  %xmm2,0xc(%rsp)
nopl   0x0(%rax)
movsd  %xmm5,0x18(%rsp)
movaps %xmm2,%xmm0
addss  %xmm1,%xmm0
mulss  %xmm2,%xmm1
divss  %xmm1,%xmm0
movaps %xmm3,%xmm1
call   1050 <pow@plt>
movaps %xmm0,%xmm2
mov    %rbx,%rdi
movsd  0x10(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
mov    $0x3,%al
call   1040 <printf@plt>
movss  0xe4a(%rip),%xmm4
movsd  0xe62(%rip),%xmm0
movsd  0xe52(%rip),%xmm3
movss  0xc(%rsp),%xmm2
movsd  0x18(%rsp),%xmm1
addsd  %xmm0,%xmm1
cvtsd2ss %xmm1,%xmm1
xorps  %xmm5,%xmm5
cvtss2sd %xmm1,%xmm5
ucomiss %xmm1,%xmm4
ja     1180 <main+0x50>
movsd  0x10(%rsp),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm2,%xmm2
cvtsd2ss %xmm1,%xmm2
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
movsd  0xe22(%rip),%xmm1
ucomisd %xmm0,%xmm1
ja     1160 <main+0x30>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [61 x i8] c"\C3\AF\C3\B0\C3\A8 \C3\95=0 \C3\A2\C3\BB\C3\B0\C3\A0\C3\A6\C3\A5\C3\AD\C3\A8\C3\A5 \C3\AD\C3\A5 \C3\A8\C3\AC\C3\A5\C3\A5\C3\B2 \C3\B1\C3\AC\C3\BB\C3\B1\C3\AB\C3\A0\0A\00"
@.str.1 = [32 x i8] c"x= %-15.1f y= %-15.5f z= %.3f\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
store i32 0, i32* %1
store float 0x3FB99999A0000000, float* %2
store float 1.000000e+00, float* %3
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
br label %5
5: ; preds = %32, %0
%6 = load float, float* %2
%7 = fpext float %6 to double
%8 = fcmp olt double %7, 1.100000e+00
br i1 %8, label %9, label %37
9: ; preds = %5
br label %10
10: ; preds = %14, %9
%11 = load float, float* %3
%12 = fpext float %11 to double
%13 = fcmp olt double %12, 2.500000e+00
br i1 %13, label %14, label %32
14: ; preds = %10
%15 = load float, float* %2
%16 = fpext float %15 to double
%17 = load float, float* %3
%18 = fpext float %17 to double
%19 = load float, float* %2
%20 = load float, float* %3
%21 = fadd float %19, %20
%22 = load float, float* %2
%23 = load float, float* %3
%24 = fmul float %22, %23
%25 = fdiv float %21, %24
%26 = call double @pow(float %25, double 0x3FD5555555555555)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0), double %16, double %18, double %26)
%28 = load float, float* %3
%29 = fpext float %28 to double
%30 = fadd double %29, 1.000000e-01
%31 = fptrunc double %30 to float
store float %31, float* %3
br label %10
32: ; preds = %10
%33 = load float, float* %2
%34 = fpext float %33 to double
%35 = fadd double %34, 1.000000e-01
%36 = fptrunc double %35 to float
store float %36, float* %2
store float 1.000000e+00, float* %3
br label %5
37: ; preds = %5
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [32 x i8] c"x= %-15.1f y= %-15.5f z= %.3f\0A\0A\00"
@str = [60 x i8] c"\C3\AF\C3\B0\C3\A8 \C3\95=0 \C3\A2\C3\BB\C3\B0\C3\A0\C3\A6\C3\A5\C3\AD\C3\A8\C3\A5 \C3\AD\C3\A5 \C3\A8\C3\AC\C3\A5\C3\A5\C3\B2 \C3\B1\C3\AC\C3\BB\C3\B1\C3\AB\C3\A0\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str, i64 0, i64 0))
br label %2
2: ; preds = %0, %17
%3 = phi double [ 0x3FB99999A0000000, %0 ], [ %20, %17 ]
%4 = phi float [ 0x3FB99999A0000000, %0 ], [ %19, %17 ]
br label %5
5: ; preds = %2, %5
%6 = phi double [ 1.000000e+00, %2 ], [ %15, %5 ]
%7 = phi float [ 1.000000e+00, %2 ], [ %14, %5 ]
%8 = fadd float %4, %7
%9 = fmul float %4, %7
%10 = fdiv float %8, %9
%11 = tail call double @pow(float %10, double 0x3FD5555555555555)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0), double %3, double %6, double %11)
%13 = fadd double %6, 1.000000e-01
%14 = fptrunc double %13 to float
%15 = fpext float %14 to double
%16 = fcmp olt float %14, 2.500000e+00
br i1 %16, label %5, label %17
17: ; preds = %5
%18 = fadd double %3, 1.000000e-01
%19 = fptrunc double %18 to float
%20 = fpext float %19 to double
%21 = fcmp olt double %20, 1.100000e+00
br i1 %21, label %2, label %22
22: ; preds = %17
ret i32 0
}