#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*/ d16(double, double, double, double, double, double, double,
                       double, double, double, double, double, double, double,
                       double, double);
void t(double *x) {
  d16(x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10], x[11],
      x[12], x[13], x[14], x[15]);
}


x86 assembly (clang, -O0):
<t>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm3
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm4
mov    -0x8(%rbp),%rax
movsd  0x28(%rax),%xmm5
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm6
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm7
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm15
mov    -0x8(%rbp),%rax
movsd  0x48(%rax),%xmm14
mov    -0x8(%rbp),%rax
movsd  0x50(%rax),%xmm13
mov    -0x8(%rbp),%rax
movsd  0x58(%rax),%xmm12
mov    -0x8(%rbp),%rax
movsd  0x60(%rax),%xmm11
mov    -0x8(%rbp),%rax
movsd  0x68(%rax),%xmm10
mov    -0x8(%rbp),%rax
movsd  0x70(%rax),%xmm9
mov    -0x8(%rbp),%rax
movsd  0x78(%rax),%xmm8
movsd  %xmm15,(%rsp)
movsd  %xmm14,0x8(%rsp)
movsd  %xmm13,0x10(%rsp)
movsd  %xmm12,0x18(%rsp)
movsd  %xmm11,0x20(%rsp)
movsd  %xmm10,0x28(%rsp)
movsd  %xmm9,0x30(%rsp)
movsd  %xmm8,0x38(%rsp)
call   1030 <d16@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<t>:
sub    $0x48,%rsp
movsd  (%rdi),%xmm0
movsd  0x8(%rdi),%xmm1
movsd  0x10(%rdi),%xmm2
movsd  0x18(%rdi),%xmm3
movsd  0x20(%rdi),%xmm4
movsd  0x28(%rdi),%xmm5
movsd  0x30(%rdi),%xmm6
movsd  0x38(%rdi),%xmm7
movups 0x40(%rdi),%xmm8
movups 0x50(%rdi),%xmm9
movups 0x60(%rdi),%xmm10
movups 0x70(%rdi),%xmm11
movups %xmm11,0x30(%rsp)
movups %xmm10,0x20(%rsp)
movups %xmm9,0x10(%rsp)
movups %xmm8,(%rsp)
call   1030 <d16@plt>
add    $0x48,%rsp
ret

LLVM IR (-O0):
define void @t(double* %0) {
%2 = alloca double*
store double* %0, double** %2
%3 = load double*, double** %2
%4 = getelementptr inbounds double, double* %3, i64 0
%5 = load double, double* %4
%6 = load double*, double** %2
%7 = getelementptr inbounds double, double* %6, i64 1
%8 = load double, double* %7
%9 = load double*, double** %2
%10 = getelementptr inbounds double, double* %9, i64 2
%11 = load double, double* %10
%12 = load double*, double** %2
%13 = getelementptr inbounds double, double* %12, i64 3
%14 = load double, double* %13
%15 = load double*, double** %2
%16 = getelementptr inbounds double, double* %15, i64 4
%17 = load double, double* %16
%18 = load double*, double** %2
%19 = getelementptr inbounds double, double* %18, i64 5
%20 = load double, double* %19
%21 = load double*, double** %2
%22 = getelementptr inbounds double, double* %21, i64 6
%23 = load double, double* %22
%24 = load double*, double** %2
%25 = getelementptr inbounds double, double* %24, i64 7
%26 = load double, double* %25
%27 = load double*, double** %2
%28 = getelementptr inbounds double, double* %27, i64 8
%29 = load double, double* %28
%30 = load double*, double** %2
%31 = getelementptr inbounds double, double* %30, i64 9
%32 = load double, double* %31
%33 = load double*, double** %2
%34 = getelementptr inbounds double, double* %33, i64 10
%35 = load double, double* %34
%36 = load double*, double** %2
%37 = getelementptr inbounds double, double* %36, i64 11
%38 = load double, double* %37
%39 = load double*, double** %2
%40 = getelementptr inbounds double, double* %39, i64 12
%41 = load double, double* %40
%42 = load double*, double** %2
%43 = getelementptr inbounds double, double* %42, i64 13
%44 = load double, double* %43
%45 = load double*, double** %2
%46 = getelementptr inbounds double, double* %45, i64 14
%47 = load double, double* %46
%48 = load double*, double** %2
%49 = getelementptr inbounds double, double* %48, i64 15
%50 = load double, double* %49
%51 = call i32 @d16(double %5, double %8, double %11, double %14, double %17, double %20, double %23, double %26, double %29, double %32, double %35, double %38, double %41, double %44, double %47, double %50)
ret void
}

LLVM IR (-O2):
define void @t(double* nocapture %0) {
%2 = load double, double* %0
%3 = getelementptr inbounds double, double* %0, i64 1
%4 = load double, double* %3
%5 = getelementptr inbounds double, double* %0, i64 2
%6 = load double, double* %5
%7 = getelementptr inbounds double, double* %0, i64 3
%8 = load double, double* %7
%9 = getelementptr inbounds double, double* %0, i64 4
%10 = load double, double* %9
%11 = getelementptr inbounds double, double* %0, i64 5
%12 = load double, double* %11
%13 = getelementptr inbounds double, double* %0, i64 6
%14 = load double, double* %13
%15 = getelementptr inbounds double, double* %0, i64 7
%16 = load double, double* %15
%17 = getelementptr inbounds double, double* %0, i64 8
%18 = load double, double* %17
%19 = getelementptr inbounds double, double* %0, i64 9
%20 = load double, double* %19
%21 = getelementptr inbounds double, double* %0, i64 10
%22 = load double, double* %21
%23 = getelementptr inbounds double, double* %0, i64 11
%24 = load double, double* %23
%25 = getelementptr inbounds double, double* %0, i64 12
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %0, i64 13
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %0, i64 14
%30 = load double, double* %29
%31 = getelementptr inbounds double, double* %0, i64 15
%32 = load double, double* %31
%33 = tail call i32 @d16(double %2, double %4, double %6, double %8, double %10, double %12, double %14, double %16, double %18, double %20, double %22, double %24, double %26, double %28, double %30, double %32)
ret void
}