1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
4 define void @foo(x86_fp80 %a, x86_fp80 %b, ptr %fp) {
7 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: fldt {{[0-9]+}}(%esp)
9 ; CHECK-NEXT: fldt {{[0-9]+}}(%esp)
10 ; CHECK-NEXT: faddp %st, %st(1)
11 ; CHECK-NEXT: fstps (%eax)
13 %c = fadd x86_fp80 %a, %b
14 %d = fptrunc x86_fp80 %c to float
15 store float %d, ptr %fp