call7h(us, ul, ui, c, i, s, l, f, uc, d) unsigned short us;
unsigned long ul;
unsigned int ui;
char c;
int i;
short s;
long l;
float f;
unsigned char uc;
double d;
{ call7i(ul, ui, c, i, s, l, f, uc, d, us); }


x86 assembly (clang, -O0):
<call7h>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %r9d,-0x44(%rbp)
mov    %ecx,%eax
mov    -0x44(%rbp),%ecx
mov    %eax,-0x40(%rbp)
mov    %edx,%eax
mov    -0x40(%rbp),%edx
mov    %eax,-0x3c(%rbp)
mov    %rsi,%rax
mov    -0x3c(%rbp),%esi
mov    %rax,-0x38(%rbp)
mov    %edi,%r9d
mov    -0x38(%rbp),%rdi
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%r10
cvtsd2ss %xmm0,%xmm0
mov    %r9w,-0x6(%rbp)
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %dl,-0x15(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %cx,-0x1e(%rbp)
movss  %xmm0,-0x24(%rbp)
mov    %al,-0x25(%rbp)
movsd  %xmm1,-0x30(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%esi
movsbl -0x15(%rbp),%edx
mov    -0x1c(%rbp),%ecx
movswl -0x1e(%rbp),%r8d
mov    0x10(%rbp),%r9
movss  -0x24(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movzbl -0x25(%rbp),%r10d
movsd  -0x30(%rbp),%xmm1
movzwl -0x6(%rbp),%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
mov    $0x2,%al
call   1030 <call7i@plt>
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<call7h>:
push   %rbx
mov    %r8d,%eax
mov    0x10(%rsp),%r10
movzbl 0x18(%rsp),%r11d
cvtsd2ss %xmm0,%xmm0
movsbl %cl,%ecx
movswl %r9w,%r8d
cvtss2sd %xmm0,%xmm0
movzwl %di,%ebx
mov    %rsi,%rdi
mov    %edx,%esi
mov    %ecx,%edx
mov    %eax,%ecx
mov    %r10,%r9
mov    $0x2,%al
push   %rbx
push   %r11
call   1030 <call7i@plt>
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define i32 @call7h(i32 %0, i64 %1, i32 %2, i32 %3, i32 %4, i32 %5, i64 %6, double %7, i32 %8, double %9) {
%11 = alloca i32
%12 = alloca i16
%13 = alloca i64
%14 = alloca i32
%15 = alloca i8
%16 = alloca i32
%17 = alloca i16
%18 = alloca i64
%19 = alloca float
%20 = alloca i8
%21 = alloca double
%22 = trunc i32 %0 to i16
%23 = trunc i32 %3 to i8
%24 = trunc i32 %5 to i16
%25 = fptrunc double %7 to float
%26 = trunc i32 %8 to i8
store i16 %22, i16* %12
store i64 %1, i64* %13
store i32 %2, i32* %14
store i8 %23, i8* %15
store i32 %4, i32* %16
store i16 %24, i16* %17
store i64 %6, i64* %18
store float %25, float* %19
store i8 %26, i8* %20
store double %9, double* %21
%27 = load i64, i64* %13
%28 = load i32, i32* %14
%29 = load i8, i8* %15
%30 = sext i8 %29 to i32
%31 = load i32, i32* %16
%32 = load i16, i16* %17
%33 = sext i16 %32 to i32
%34 = load i64, i64* %18
%35 = load float, float* %19
%36 = fpext float %35 to double
%37 = load i8, i8* %20
%38 = zext i8 %37 to i32
%39 = load double, double* %21
%40 = load i16, i16* %12
%41 = zext i16 %40 to i32
%42 = call i32 (i64, i32, i32, i32, i32, i64, double, i32, double, i32, ...) bitcast (i32 (...)* @call7i to i32 (i64, i32, i32, i32, i32, i64, double, i32, double, i32, ...)*)(i64 %27, i32 %28, i32 %30, i32 %31, i32 %33, i64 %34, double %36, i32 %38, double %39, i32 %41)
%43 = load i32, i32* %11
ret i32 %43
}

LLVM IR (-O2):
define i32 @call7h(i32 %0, i64 %1, i32 %2, i32 %3, i32 %4, i32 %5, i64 %6, double %7, i32 %8, double %9) {
%11 = fptrunc double %7 to float
%12 = shl i32 %3, 24
%13 = ashr exact i32 %12, 24
%14 = shl i32 %5, 16
%15 = ashr exact i32 %14, 16
%16 = fpext float %11 to double
%17 = and i32 %8, 255
%18 = and i32 %0, 65535
%19 = tail call i32 (i64, i32, i32, i32, i32, i64, double, i32, double, i32, ...) bitcast (i32 (...)* @call7i to i32 (i64, i32, i32, i32, i32, i64, double, i32, double, i32, ...)*)(i64 %1, i32 %2, i32 %13, i32 %4, i32 %15, i64 %6, double %16, i32 %17, double %9, i32 %18)
ret i32 undef
}