#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*/ atof(char *);
float fabs(int /*<<< orphan*/);
float frand(float, float);
int /*<<< orphan*/ initfrand();
int /*<<< orphan*/ matmat_mult(float *, float *, float *);
int /*<<< orphan*/ print_vec_float(float *);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ sse_matmat_mult(float *, float *, float *);
int main(int argc, char *argv[]) {
  float mat1[4 * 4], mat2[4 * 4], res1[4 * 4], res2[4 * 4], err[4 * 4];
  float range = 0.0;
  int i;
  initfrand();
  if (argc > 1)
    range = fabs(atof(argv[1]));
  if (range == 0.0)
    range = 1000.0;
  for (i = 0; i < 16; i++) {
    mat1[i] = frand(-range, range);
    mat2[i] = frand(-range, range);
  }
  sse_matmat_mult(mat1, mat2, res2);
  matmat_mult(mat1, mat2, res1);
  printf("ref = \n");
  for (i = 0; i < 4; i++)
    print_vec_float(&res1[4 * i]);
  printf("SSE = \n");
  for (i = 0; i < 4; i++)
    print_vec_float(&res2[4 * i]);
  printf("err [%%] = \n");
  for (i = 0; i < 16; i++)
    err[i] = 100.0 * (1.0 - res1[i] / res2[i]);
  for (i = 0; i < 4; i++)
    print_vec_float(&err[4 * i]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x154(%rbp)
ff
mov    $0x0,%al
call   1060 <initfrand@plt>
cmpl   $0x1,-0x8(%rbp)
jle    11d1 <main+0x51>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
mov    %eax,%edi
call   1080 <fabs@plt>
movss  %xmm0,-0x154(%rbp)
ff
movss  -0x154(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1200 <main+0x80>
jp     1200 <main+0x80>
movss  0xe08(%rip),%xmm0
movss  %xmm0,-0x154(%rbp)
ff
movl   $0x0,-0x158(%rbp)
cmpl   $0x10,-0x158(%rbp)
jge    128c <main+0x10c>
movss  -0x154(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x154(%rbp),%xmm1
ff
call   1090 <frand@plt>
movslq -0x158(%rbp),%rax
movss  %xmm0,-0x50(%rbp,%rax,4)
movss  -0x154(%rbp),%xmm0
ff
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x154(%rbp),%xmm1
ff
call   1090 <frand@plt>
movslq -0x158(%rbp),%rax
movss  %xmm0,-0x90(%rbp,%rax,4)
ff ff
mov    -0x158(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x158(%rbp)
jmp    120a <main+0x8a>
lea    -0x50(%rbp),%rdi
lea    -0x90(%rbp),%rsi
lea    -0x110(%rbp),%rdx
call   1070 <sse_matmat_mult@plt>
lea    -0x50(%rbp),%rdi
lea    -0x90(%rbp),%rsi
lea    -0xd0(%rbp),%rdx
call   1030 <matmat_mult@plt>
lea    0xd57(%rip),%rdi
call   1050 <printf@plt>
movl   $0x0,-0x158(%rbp)
cmpl   $0x4,-0x158(%rbp)
jge    130f <main+0x18f>
mov    -0x158(%rbp),%eax
shl    $0x2,%eax
cltq
lea    -0xd0(%rbp),%rdi
shl    $0x2,%rax
add    %rax,%rdi
call   10a0 <print_vec_float@plt>
mov    -0x158(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x158(%rbp)
jmp    12d0 <main+0x150>
lea    0xd0a(%rip),%rdi
call   1050 <printf@plt>
movl   $0x0,-0x158(%rbp)
cmpl   $0x4,-0x158(%rbp)
jge    1364 <main+0x1e4>
mov    -0x158(%rbp),%eax
shl    $0x2,%eax
cltq
lea    -0x110(%rbp),%rdi
shl    $0x2,%rax
add    %rax,%rdi
call   10a0 <print_vec_float@plt>
mov    -0x158(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x158(%rbp)
jmp    1325 <main+0x1a5>
lea    0xcbd(%rip),%rdi
call   1050 <printf@plt>
movl   $0x0,-0x158(%rbp)
cmpl   $0x10,-0x158(%rbp)
jge    13eb <main+0x26b>
movslq -0x158(%rbp),%rax
movss  -0xd0(%rbp,%rax,4),%xmm0
ff ff
movslq -0x158(%rbp),%rax
divss  -0x110(%rbp,%rax,4),%xmm0
ff ff
cvtss2sd %xmm0,%xmm0
movsd  0xc5d(%rip),%xmm1
subsd  %xmm0,%xmm1
movsd  0xc49(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movslq -0x158(%rbp),%rax
movss  %xmm0,-0x150(%rbp,%rax,4)
ff ff
mov    -0x158(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x158(%rbp)
jmp    137a <main+0x1fa>
movl   $0x0,-0x158(%rbp)
cmpl   $0x4,-0x158(%rbp)
jge    1434 <main+0x2b4>
mov    -0x158(%rbp),%eax
shl    $0x2,%eax
cltq
lea    -0x150(%rbp),%rdi
shl    $0x2,%rax
add    %rax,%rdi
call   10a0 <print_vec_float@plt>
mov    -0x158(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x158(%rbp)
jmp    13f5 <main+0x275>
xor    %eax,%eax
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x168,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
xor    %eax,%eax
call   1070 <initfrand@plt>
xorps  %xmm1,%xmm1
xorps  %xmm0,%xmm0
cmp    $0x2,%ebp
jl     11c7 <main+0x37>
mov    0x8(%rbx),%rdi
call   1050 <atof@plt>
mov    %eax,%edi
call   1090 <fabs@plt>
xorps  %xmm1,%xmm1
cmpeqss %xmm0,%xmm1
movss  0xe2c(%rip),%xmm2
andps  %xmm1,%xmm2
andnps %xmm0,%xmm1
orps   %xmm2,%xmm1
movaps %xmm1,%xmm0
xorps  0xe29(%rip),%xmm0
movaps %xmm0,(%rsp)
xor    %ebx,%ebx
movaps %xmm1,0x10(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movaps (%rsp),%xmm0
call   10a0 <frand@plt>
movss  %xmm0,0x120(%rsp,%rbx,4)
movaps (%rsp),%xmm0
movaps 0x10(%rsp),%xmm1
call   10a0 <frand@plt>
movaps 0x10(%rsp),%xmm1
movss  %xmm0,0xe0(%rsp,%rbx,4)
add    $0x1,%rbx
cmp    $0x10,%rbx
jne    1200 <main+0x70>
lea    0x120(%rsp),%rbp
lea    0xe0(%rsp),%rbx
lea    0x60(%rsp),%r14
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sse_matmat_mult@plt>
lea    0xa0(%rsp),%r15
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <matmat_mult@plt>
lea    0xdd5(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
call   10b0 <print_vec_float@plt>
lea    0xb0(%rsp),%rdi
call   10b0 <print_vec_float@plt>
lea    0xc0(%rsp),%rdi
call   10b0 <print_vec_float@plt>
lea    0xd0(%rsp),%rdi
call   10b0 <print_vec_float@plt>
lea    0xda1(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   10b0 <print_vec_float@plt>
lea    0x70(%rsp),%rdi
call   10b0 <print_vec_float@plt>
lea    0x80(%rsp),%rdi
call   10b0 <print_vec_float@plt>
lea    0x90(%rsp),%rdi
call   10b0 <print_vec_float@plt>
lea    0xd55(%rip),%rdi
call   1060 <printf@plt>
movaps 0xa0(%rsp),%xmm0
divps  0x60(%rsp),%xmm0
cvtps2pd %xmm0,%xmm1
movaps 0xb0(%rsp),%xmm3
movhlps %xmm0,%xmm0
cvtps2pd %xmm0,%xmm4
movaps 0xc0(%rsp),%xmm2
movapd 0xd02(%rip),%xmm0
movapd %xmm0,%xmm5
subpd  %xmm1,%xmm5
movapd %xmm0,%xmm6
subpd  %xmm4,%xmm6
movapd 0xcfa(%rip),%xmm1
mulpd  %xmm1,%xmm5
cvtpd2ps %xmm5,%xmm4
mulpd  %xmm1,%xmm6
cvtpd2ps %xmm6,%xmm5
unpcklpd %xmm5,%xmm4
divps  0x70(%rsp),%xmm3
cvtps2pd %xmm3,%xmm5
movhlps %xmm3,%xmm3
cvtps2pd %xmm3,%xmm3
movapd %xmm0,%xmm6
subpd  %xmm5,%xmm6
movapd %xmm0,%xmm5
subpd  %xmm3,%xmm5
movaps 0xd0(%rsp),%xmm3
mulpd  %xmm1,%xmm5
mulpd  %xmm1,%xmm6
cvtpd2ps %xmm6,%xmm6
cvtpd2ps %xmm5,%xmm5
movapd %xmm4,0x20(%rsp)
unpcklpd %xmm5,%xmm6
lea    0x30(%rsp),%r14
movapd %xmm6,0x30(%rsp)
divps  0x80(%rsp),%xmm2
cvtps2pd %xmm2,%xmm4
movhlps %xmm2,%xmm2
cvtps2pd %xmm2,%xmm2
movapd %xmm0,%xmm5
subpd  %xmm4,%xmm5
movapd %xmm0,%xmm4
subpd  %xmm2,%xmm4
mulpd  %xmm1,%xmm5
cvtpd2ps %xmm5,%xmm2
mulpd  %xmm1,%xmm4
cvtpd2ps %xmm4,%xmm4
unpcklpd %xmm4,%xmm2
divps  0x90(%rsp),%xmm3
cvtps2pd %xmm3,%xmm4
lea    0x40(%rsp),%rbp
movhlps %xmm3,%xmm3
cvtps2pd %xmm3,%xmm3
movapd %xmm0,%xmm5
subpd  %xmm4,%xmm5
subpd  %xmm3,%xmm0
mulpd  %xmm1,%xmm0
mulpd  %xmm1,%xmm5
cvtpd2ps %xmm5,%xmm1
cvtpd2ps %xmm0,%xmm0
movapd %xmm2,0x40(%rsp)
unpcklpd %xmm0,%xmm1
lea    0x50(%rsp),%rbx
movapd %xmm1,0x50(%rsp)
lea    0x20(%rsp),%rdi
call   10b0 <print_vec_float@plt>
mov    %r14,%rdi
call   10b0 <print_vec_float@plt>
mov    %rbp,%rdi
call   10b0 <print_vec_float@plt>
mov    %rbx,%rdi
call   10b0 <print_vec_float@plt>
xor    %eax,%eax
add    $0x168,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [8 x i8] c"ref = \0A\00"
@.str.1 = [8 x i8] c"SSE = \0A\00"
@.str.2 = [13 x i8] c"err [%%] = \0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [16 x float]
%7 = alloca [16 x float]
%8 = alloca [16 x float]
%9 = alloca [16 x float]
%10 = alloca [16 x float]
%11 = alloca float
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store float 0.000000e+00, float* %11
%13 = call i32 (...) @initfrand()
%14 = load i32, i32* %4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %22
16: ; preds = %2
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 1
%19 = load i8*, i8** %18
%20 = call i32 @atof(i8* %19)
%21 = call float @fabs(i32 %20)
store float %21, float* %11
br label %22
22: ; preds = %16, %2
%23 = load float, float* %11
%24 = fpext float %23 to double
%25 = fcmp oeq double %24, 0.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %22
store float 1.000000e+03, float* %11
br label %27
27: ; preds = %26, %22
store i32 0, i32* %12
br label %28
28: ; preds = %46, %27
%29 = load i32, i32* %12
%30 = icmp slt i32 %29, 16
br i1 %30, label %31, label %49
31: ; preds = %28
%32 = load float, float* %11
%33 = fneg float %32
%34 = load float, float* %11
%35 = call float @frand(float %33, float %34)
%36 = load i32, i32* %12
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 %37
store float %35, float* %38
%39 = load float, float* %11
%40 = fneg float %39
%41 = load float, float* %11
%42 = call float @frand(float %40, float %41)
%43 = load i32, i32* %12
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 %44
store float %42, float* %45
br label %46
46: ; preds = %31
%47 = load i32, i32* %12
%48 = add nsw i32 %47, 1
store i32 %48, i32* %12
br label %28
49: ; preds = %28
%50 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 0
%51 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 0
%52 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 0
%53 = call i32 @sse_matmat_mult(float* %50, float* %51, float* %52)
%54 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 0
%55 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 0
%56 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 0
%57 = call i32 @matmat_mult(float* %54, float* %55, float* %56)
%58 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %12
br label %59
59: ; preds = %68, %49
%60 = load i32, i32* %12
%61 = icmp slt i32 %60, 4
br i1 %61, label %62, label %71
62: ; preds = %59
%63 = load i32, i32* %12
%64 = mul nsw i32 4, %63
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 %65
%67 = call i32 @print_vec_float(float* %66)
br label %68
68: ; preds = %62
%69 = load i32, i32* %12
%70 = add nsw i32 %69, 1
store i32 %70, i32* %12
br label %59
71: ; preds = %59
%72 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %12
br label %73
73: ; preds = %82, %71
%74 = load i32, i32* %12
%75 = icmp slt i32 %74, 4
br i1 %75, label %76, label %85
76: ; preds = %73
%77 = load i32, i32* %12
%78 = mul nsw i32 4, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 %79
%81 = call i32 @print_vec_float(float* %80)
br label %82
82: ; preds = %76
%83 = load i32, i32* %12
%84 = add nsw i32 %83, 1
store i32 %84, i32* %12
br label %73
85: ; preds = %73
%86 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %12
br label %87
87: ; preds = %107, %85
%88 = load i32, i32* %12
%89 = icmp slt i32 %88, 16
br i1 %89, label %90, label %110
90: ; preds = %87
%91 = load i32, i32* %12
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 %92
%94 = load float, float* %93
%95 = load i32, i32* %12
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 %96
%98 = load float, float* %97
%99 = fdiv float %94, %98
%100 = fpext float %99 to double
%101 = fsub double 1.000000e+00, %100
%102 = fmul double 1.000000e+02, %101
%103 = fptrunc double %102 to float
%104 = load i32, i32* %12
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 %105
store float %103, float* %106
br label %107
107: ; preds = %90
%108 = load i32, i32* %12
%109 = add nsw i32 %108, 1
store i32 %109, i32* %12
br label %87
110: ; preds = %87
store i32 0, i32* %12
br label %111
111: ; preds = %120, %110
%112 = load i32, i32* %12
%113 = icmp slt i32 %112, 4
br i1 %113, label %114, label %123
114: ; preds = %111
%115 = load i32, i32* %12
%116 = mul nsw i32 4, %115
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 %117
%119 = call i32 @print_vec_float(float* %118)
br label %120
120: ; preds = %114
%121 = load i32, i32* %12
%122 = add nsw i32 %121, 1
store i32 %122, i32* %12
br label %111
123: ; preds = %111
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [13 x i8] c"err [%%] = \0A\00"
@str = [7 x i8] c"ref = \00"
@str.3 = [7 x i8] c"SSE = \00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [16 x float]
%4 = alloca [16 x float]
%5 = alloca [16 x float]
%6 = alloca [16 x float]
%7 = alloca [16 x float]
%8 = bitcast [16 x float]* %3 to i8*
%9 = bitcast [16 x float]* %4 to i8*
%10 = bitcast [16 x float]* %5 to i8*
%11 = bitcast [16 x float]* %6 to i8*
%12 = bitcast [16 x float]* %7 to i8*
%13 = tail call i32 (...) @initfrand()
%14 = icmp sgt i32 %0, 1
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = getelementptr inbounds i8*, i8** %1, i64 1
%17 = load i8*, i8** %16
%18 = tail call i32 @atof(i8* %17)
%19 = tail call float @fabs(i32 %18)
br label %20
20: ; preds = %15, %2
%21 = phi float [ %19, %15 ], [ 0.000000e+00, %2 ]
%22 = fcmp oeq float %21, 0.000000e+00
%23 = select i1 %22, float 1.000000e+03, float %21
%24 = fneg float %23
br label %25
25: ; preds = %20, %25
%26 = phi i64 [ 0, %20 ], [ %31, %25 ]
%27 = tail call float @frand(float %24, float %23)
%28 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 %26
store float %27, float* %28
%29 = tail call float @frand(float %24, float %23)
%30 = getelementptr inbounds [16 x float], [16 x float]* %4, i64 0, i64 %26
store float %29, float* %30
%31 = add nuw nsw i64 %26, 1
%32 = icmp eq i64 %31, 16
br i1 %32, label %33, label %25
33: ; preds = %25
%34 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 0
%35 = getelementptr inbounds [16 x float], [16 x float]* %4, i64 0, i64 0
%36 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 0
%37 = call i32 @sse_matmat_mult(float* %34, float* %35, float* %36)
%38 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 0
%39 = call i32 @matmat_mult(float* %34, float* %35, float* %38)
%40 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%41 = call i32 @print_vec_float(float* %38)
%42 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 4
%43 = call i32 @print_vec_float(float* %42)
%44 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 8
%45 = call i32 @print_vec_float(float* %44)
%46 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 12
%47 = call i32 @print_vec_float(float* %46)
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.3, i64 0, i64 0))
%49 = call i32 @print_vec_float(float* %36)
%50 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 4
%51 = call i32 @print_vec_float(float* %50)
%52 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 8
%53 = call i32 @print_vec_float(float* %52)
%54 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 12
%55 = call i32 @print_vec_float(float* %54)
%56 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%57 = bitcast [16 x float]* %5 to <4 x float>*
%58 = load <4 x float>, <4 x float>* %57
%59 = bitcast [16 x float]* %6 to <4 x float>*
%60 = load <4 x float>, <4 x float>* %59
%61 = fdiv <4 x float> %58, %60
%62 = fpext <4 x float> %61 to <4 x double>
%63 = fsub <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %62
%64 = fmul <4 x double> %63, <double 1.000000e+02, double 1.000000e+02, double 1.000000e+02, double 1.000000e+02>
%65 = fptrunc <4 x double> %64 to <4 x float>
%66 = bitcast [16 x float]* %7 to <4 x float>*
store <4 x float> %65, <4 x float>* %66
%67 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 4
%68 = bitcast float* %67 to <4 x float>*
%69 = load <4 x float>, <4 x float>* %68
%70 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 4
%71 = bitcast float* %70 to <4 x float>*
%72 = load <4 x float>, <4 x float>* %71
%73 = fdiv <4 x float> %69, %72
%74 = fpext <4 x float> %73 to <4 x double>
%75 = fsub <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %74
%76 = fmul <4 x double> %75, <double 1.000000e+02, double 1.000000e+02, double 1.000000e+02, double 1.000000e+02>
%77 = fptrunc <4 x double> %76 to <4 x float>
%78 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 4
%79 = bitcast float* %78 to <4 x float>*
store <4 x float> %77, <4 x float>* %79
%80 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 8
%81 = bitcast float* %80 to <4 x float>*
%82 = load <4 x float>, <4 x float>* %81
%83 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 8
%84 = bitcast float* %83 to <4 x float>*
%85 = load <4 x float>, <4 x float>* %84
%86 = fdiv <4 x float> %82, %85
%87 = fpext <4 x float> %86 to <4 x double>
%88 = fsub <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %87
%89 = fmul <4 x double> %88, <double 1.000000e+02, double 1.000000e+02, double 1.000000e+02, double 1.000000e+02>
%90 = fptrunc <4 x double> %89 to <4 x float>
%91 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 8
%92 = bitcast float* %91 to <4 x float>*
store <4 x float> %90, <4 x float>* %92
%93 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 12
%94 = bitcast float* %93 to <4 x float>*
%95 = load <4 x float>, <4 x float>* %94
%96 = getelementptr inbounds [16 x float], [16 x float]* %6, i64 0, i64 12
%97 = bitcast float* %96 to <4 x float>*
%98 = load <4 x float>, <4 x float>* %97
%99 = fdiv <4 x float> %95, %98
%100 = fpext <4 x float> %99 to <4 x double>
%101 = fsub <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %100
%102 = fmul <4 x double> %101, <double 1.000000e+02, double 1.000000e+02, double 1.000000e+02, double 1.000000e+02>
%103 = fptrunc <4 x double> %102 to <4 x float>
%104 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 12
%105 = bitcast float* %104 to <4 x float>*
store <4 x float> %103, <4 x float>* %105
%106 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 0
%107 = call i32 @print_vec_float(float* %106)
%108 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 4
%109 = call i32 @print_vec_float(float* %108)
%110 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 8
%111 = call i32 @print_vec_float(float* %110)
%112 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 12
%113 = call i32 @print_vec_float(float* %112)
ret i32 0
}