#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*/ test1(int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, long double, int);
int /*<<< orphan*/ test2(int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, long double, int /*<<< orphan*/,
                         long double, int /*<<< orphan*/, long double,
                         int /*<<< orphan*/, long double, int);
int /*<<< orphan*/ test3(double, double, double, double, double, double, double,
                         long double, double);
int /*<<< orphan*/ test4(double, double, double, double, double, double, double,
                         long double, double, long double, double, long double,
                         double, long double, double);
int main() {
  test1(0, 0, 0, 0, 0, 0, 0, 0.0L, 1234);
  test2(0, 0, 0, 0, 0, 0, 0, 0.0L, 0, 0.0L, 0, 0.0L, 0, 0.0L, 1234);
  test3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0L, 1234.0);
  test4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0L, 0.0, 0.0L, 0.0, 0.0L, 0.0,
        0.0L, 1234.0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %rsp,%rax
fldz
fstpt  0x10(%rax)
movl   $0x4d2,0x20(%rax)
movl   $0x0,(%rax)
xor    %r9d,%r9d
mov    %r9d,%edi
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1040 <test1@plt>
xor    %eax,%eax
mov    %rsp,%rax
fldz
fld    %st(0)
fstpt  0x70(%rax)
fld    %st(0)
fstpt  0x50(%rax)
fld    %st(0)
fstpt  0x30(%rax)
fstpt  0x10(%rax)
movl   $0x4d2,0x80(%rax)
movl   $0x0,0x60(%rax)
movl   $0x0,0x40(%rax)
movl   $0x0,0x20(%rax)
movl   $0x0,(%rax)
xor    %r9d,%r9d
mov    %r9d,%edi
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1060 <test2@plt>
mov    %rsp,%rax
fldz
fstpt  (%rax)
xorps  %xmm6,%xmm6
movsd  0xe19(%rip),%xmm7
movaps %xmm6,%xmm0
movaps %xmm6,%xmm1
movaps %xmm6,%xmm2
movaps %xmm6,%xmm3
movaps %xmm6,%xmm4
movaps %xmm6,%xmm5
call   1030 <test3@plt>
mov    %rsp,%rax
movabs $0x4093480000000000,%rcx
48 93 40
mov    %rcx,0x60(%rax)
fldz
fld    %st(0)
fstpt  0x50(%rax)
fld    %st(0)
fstpt  0x30(%rax)
fld    %st(0)
fstpt  0x10(%rax)
fstpt  (%rax)
movq   $0x0,0x40(%rax)
movq   $0x0,0x20(%rax)
xorps  %xmm7,%xmm7
movaps %xmm7,%xmm0
movaps %xmm7,%xmm1
movaps %xmm7,%xmm2
movaps %xmm7,%xmm3
movaps %xmm7,%xmm4
movaps %xmm7,%xmm5
movaps %xmm7,%xmm6
call   1050 <test4@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0xa8,%rsp
fldz
fld    %st(0)
fstpt  0x9c(%rsp)
fstpt  0x10(%rsp)
movl   $0x4d2,0x20(%rsp)
movl   $0x0,(%rsp)
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1040 <test1@plt>
fldt   0x9c(%rsp)
fld    %st(0)
fstpt  0x70(%rsp)
fld    %st(0)
fstpt  0x50(%rsp)
fld    %st(0)
fstpt  0x30(%rsp)
fstpt  0x10(%rsp)
movl   $0x4d2,0x80(%rsp)
movl   $0x0,0x60(%rsp)
movl   $0x0,0x40(%rsp)
movl   $0x0,0x20(%rsp)
movl   $0x0,(%rsp)
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1060 <test2@plt>
fldt   0x9c(%rsp)
fstpt  (%rsp)
movsd  0xe1c(%rip),%xmm7
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
xorps  %xmm3,%xmm3
xorps  %xmm4,%xmm4
xorps  %xmm5,%xmm5
xorps  %xmm6,%xmm6
call   1030 <test3@plt>
movabs $0x4093480000000000,%rax
48 93 40
mov    %rax,0x60(%rsp)
fldt   0x9c(%rsp)
fld    %st(0)
fstpt  0x50(%rsp)
fld    %st(0)
fstpt  0x30(%rsp)
fld    %st(0)
fstpt  0x10(%rsp)
fstpt  (%rsp)
movq   $0x0,0x40(%rsp)
movq   $0x0,0x20(%rsp)
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
xorps  %xmm3,%xmm3
xorps  %xmm4,%xmm4
xorps  %xmm5,%xmm5
xorps  %xmm6,%xmm6
xorps  %xmm7,%xmm7
call   1050 <test4@plt>
xor    %eax,%eax
add    $0xa8,%rsp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @test1(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, x86_fp80 0xK00000000000000000000, i32 1234)
%3 = call i32 @test2(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, x86_fp80 0xK00000000000000000000, i32 0, x86_fp80 0xK00000000000000000000, i32 0, x86_fp80 0xK00000000000000000000, i32 0, x86_fp80 0xK00000000000000000000, i32 1234)
%4 = call i32 @test3(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 1.234000e+03)
%5 = call i32 @test4(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 1.234000e+03)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @test1(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, x86_fp80 0xK00000000000000000000, i32 1234)
%2 = tail call i32 @test2(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, x86_fp80 0xK00000000000000000000, i32 0, x86_fp80 0xK00000000000000000000, i32 0, x86_fp80 0xK00000000000000000000, i32 0, x86_fp80 0xK00000000000000000000, i32 1234)
%3 = tail call i32 @test3(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 1.234000e+03)
%4 = tail call i32 @test4(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 0.000000e+00, x86_fp80 0xK00000000000000000000, double 1.234000e+03)
ret i32 0
}