_Complex long double test_cpowl(_Complex long double x,
                                _Complex long double y) {
  return __builtin_cpowl(x, y);
}


x86 assembly (clang, -O0):
<test_cpowl>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
lea    0x30(%rbp),%rax
lea    0x10(%rbp),%rcx
fldt   (%rcx)
fldt   0x10(%rcx)
fldt   (%rax)
fldt   0x10(%rax)
fxch   %st(3)
fstpt  -0x40(%rbp)
fxch   %st(1)
fstpt  -0x30(%rbp)
fstpt  -0x60(%rbp)
fstpt  -0x50(%rbp)
movaps -0x60(%rbp),%xmm0
movaps -0x50(%rbp),%xmm1
mov    %rsp,%rax
movaps %xmm1,0x30(%rax)
movaps %xmm0,0x20(%rax)
movaps -0x40(%rbp),%xmm0
movaps -0x30(%rbp),%xmm1
movaps %xmm1,0x10(%rax)
movaps %xmm0,(%rax)
call   1030 <cpowl@plt>
fstpt  -0x20(%rbp)
fstpt  -0x10(%rbp)
fldt   -0x10(%rbp)
fldt   -0x20(%rbp)
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_cpowl>:
sub    $0x88,%rsp
fldt   0x90(%rsp)
fldt   0xa0(%rsp)
fldt   0xb0(%rsp)
fldt   0xc0(%rsp)
fxch   %st(3)
fstpt  0x60(%rsp)
fxch   %st(1)
fstpt  0x70(%rsp)
fstpt  0x40(%rsp)
fstpt  0x50(%rsp)
movaps 0x40(%rsp),%xmm0
movaps 0x50(%rsp),%xmm1
movaps %xmm1,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps 0x60(%rsp),%xmm0
movaps 0x70(%rsp),%xmm1
movaps %xmm1,0x10(%rsp)
movaps %xmm0,(%rsp)
call   1030 <cpowl@plt>
add    $0x88,%rsp
ret

LLVM IR (-O0):
define { x86_fp80, x86_fp80 } @test_cpowl({ x86_fp80, x86_fp80 }* byval({ x86_fp80, x86_fp80 }) align 16 %0, { x86_fp80, x86_fp80 }* byval({ x86_fp80, x86_fp80 }) align 16 %1) {
%3 = alloca { x86_fp80, x86_fp80 }
%4 = alloca { x86_fp80, x86_fp80 }
%5 = alloca { x86_fp80, x86_fp80 }
%6 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %0, i32 0, i32 0
%7 = load x86_fp80, x86_fp80* %6
%8 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %0, i32 0, i32 1
%9 = load x86_fp80, x86_fp80* %8
%10 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %1, i32 0, i32 0
%11 = load x86_fp80, x86_fp80* %10
%12 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %1, i32 0, i32 1
%13 = load x86_fp80, x86_fp80* %12
%14 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %4, i32 0, i32 0
%15 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %4, i32 0, i32 1
store x86_fp80 %7, x86_fp80* %14
store x86_fp80 %9, x86_fp80* %15
%16 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %5, i32 0, i32 0
%17 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %5, i32 0, i32 1
store x86_fp80 %11, x86_fp80* %16
store x86_fp80 %13, x86_fp80* %17
%18 = call { x86_fp80, x86_fp80 } @cpowl({ x86_fp80, x86_fp80 }* byval({ x86_fp80, x86_fp80 }) align 16 %4, { x86_fp80, x86_fp80 }* byval({ x86_fp80, x86_fp80 }) align 16 %5)
%19 = extractvalue { x86_fp80, x86_fp80 } %18, 0
%20 = extractvalue { x86_fp80, x86_fp80 } %18, 1
%21 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %3, i32 0, i32 0
%22 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %3, i32 0, i32 1
store x86_fp80 %19, x86_fp80* %21
store x86_fp80 %20, x86_fp80* %22
%23 = load { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %3
ret { x86_fp80, x86_fp80 } %23
}

LLVM IR (-O2):
define { x86_fp80, x86_fp80 } @test_cpowl({ x86_fp80, x86_fp80 }* nocapture byval({ x86_fp80, x86_fp80 }) align 16 %0, { x86_fp80, x86_fp80 }* nocapture byval({ x86_fp80, x86_fp80 }) align 16 %1) {
%3 = alloca { x86_fp80, x86_fp80 }
%4 = alloca { x86_fp80, x86_fp80 }
%5 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %0, i64 0, i32 0
%6 = load x86_fp80, x86_fp80* %5
%7 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %0, i64 0, i32 1
%8 = load x86_fp80, x86_fp80* %7
%9 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %1, i64 0, i32 0
%10 = load x86_fp80, x86_fp80* %9
%11 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %1, i64 0, i32 1
%12 = load x86_fp80, x86_fp80* %11
%13 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %3, i64 0, i32 0
%14 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %3, i64 0, i32 1
store x86_fp80 %6, x86_fp80* %13
store x86_fp80 %8, x86_fp80* %14
%15 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %4, i64 0, i32 0
%16 = getelementptr inbounds { x86_fp80, x86_fp80 }, { x86_fp80, x86_fp80 }* %4, i64 0, i32 1
store x86_fp80 %10, x86_fp80* %15
store x86_fp80 %12, x86_fp80* %16
%17 = tail call { x86_fp80, x86_fp80 } @cpowl({ x86_fp80, x86_fp80 }* byval({ x86_fp80, x86_fp80 }) align 16 %3, { x86_fp80, x86_fp80 }* byval({ x86_fp80, x86_fp80 }) align 16 %4)
ret { x86_fp80, x86_fp80 } %17
}