brintos

brintos / llvm-project-archived public Read only

0
0
Text · 533 B · d1e7b18 Raw
18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- | FileCheck %s3 4define void @foo(x86_fp80 %a, x86_fp80 %b, ptr %fp) {5; CHECK-LABEL: foo:6; CHECK:       # %bb.0:7; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax8; 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)12; CHECK-NEXT:    retl13	%c = fadd x86_fp80 %a, %b14	%d = fptrunc x86_fp80 %c to float15	store float %d, ptr %fp16	ret void17}18