void tst_notint(float *pf, double *pd, _Complex double *pc) {
  *pf = abs(*pf);
  *pd = labs(*pd);
  *pc = abs(*pc);
}


x86 assembly (clang, -O0):
<tst_notint>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rax
cvttss2si (%rax),%edi
call   1030 <abs@plt>
cvtsi2ss %eax,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
cvttsd2si (%rax),%rdi
call   1040 <labs@plt>
cvtsi2sd %rax,%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
cvttsd2si (%rax),%edi
call   1030 <abs@plt>
cvtsi2sd %eax,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tst_notint>:
cvttss2si (%rdi),%eax
mov    %eax,%ecx
neg    %ecx
cmovs  %eax,%ecx
cvtsi2ss %ecx,%xmm0
movss  %xmm0,(%rdi)
cvttsd2si (%rsi),%rax
mov    %rax,%rcx
neg    %rcx
cmovs  %rax,%rcx
xorps  %xmm0,%xmm0
cvtsi2sd %rcx,%xmm0
movsd  %xmm0,(%rsi)
cvttsd2si (%rdx),%eax
mov    %eax,%ecx
neg    %ecx
cmovs  %eax,%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
movsd  %xmm0,(%rdx)
movq   $0x0,0x8(%rdx)
ret

LLVM IR (-O0):
define void @tst_notint(float* %0, double* %1, { double, double }* %2) {
%4 = alloca float*
%5 = alloca double*
%6 = alloca { double, double }*
store float* %0, float** %4
store double* %1, double** %5
store { double, double }* %2, { double, double }** %6
%7 = load float*, float** %4
%8 = load float, float* %7
%9 = fptosi float %8 to i32
%10 = call i32 @abs(i32 %9)
%11 = sitofp i32 %10 to float
%12 = load float*, float** %4
store float %11, float* %12
%13 = load double*, double** %5
%14 = load double, double* %13
%15 = fptosi double %14 to i64
%16 = call i64 @labs(i64 %15)
%17 = sitofp i64 %16 to double
%18 = load double*, double** %5
store double %17, double* %18
%19 = load { double, double }*, { double, double }** %6
%20 = getelementptr inbounds { double, double }, { double, double }* %19, i32 0, i32 0
%21 = load double, double* %20
%22 = fptosi double %21 to i32
%23 = call i32 @abs(i32 %22)
%24 = sitofp i32 %23 to double
%25 = load { double, double }*, { double, double }** %6
%26 = getelementptr inbounds { double, double }, { double, double }* %25, i32 0, i32 0
%27 = getelementptr inbounds { double, double }, { double, double }* %25, i32 0, i32 1
store double %24, double* %26
store double 0.000000e+00, double* %27
ret void
}

LLVM IR (-O2):
define void @tst_notint(float* nocapture %0, double* nocapture %1, { double, double }* nocapture %2) {
%4 = load float, float* %0
%5 = fptosi float %4 to i32
%6 = tail call i32 @llvm.abs.i32(i32 %5, i1 true)
%7 = sitofp i32 %6 to float
store float %7, float* %0
%8 = load double, double* %1
%9 = fptosi double %8 to i64
%10 = tail call i64 @llvm.abs.i64(i64 %9, i1 true)
%11 = sitofp i64 %10 to double
store double %11, double* %1
%12 = getelementptr inbounds { double, double }, { double, double }* %2, i64 0, i32 0
%13 = load double, double* %12
%14 = fptosi double %13 to i32
%15 = tail call i32 @llvm.abs.i32(i32 %14, i1 true)
%16 = sitofp i32 %15 to double
%17 = getelementptr inbounds { double, double }, { double, double }* %2, i64 0, i32 1
store double %16, double* %12
store double 0.000000e+00, double* %17
ret void
}