1 ; RUN: llc -mtriple=powerpc-unknown-linux-gnu -O0 < %s | FileCheck %s 2 define double @foo() #0 { 3 entry: 4 %a = alloca double, align 8 5 %b = alloca double, align 8 6 %0 = load double, double* %a, align 8 7 %1 = load double, double* %b, align 8 8 %add = fadd double %0, %1 9 ret double %add 10 11 ; CHECK-LABEL: __adddf3 12 } 13 14 define double @foo1() #0 { 15 entry: 16 %a = alloca double, align 8 17 %b = alloca double, align 8 18 %0 = load double, double* %a, align 8 19 %1 = load double, double* %b, align 8 20 %mul = fmul double %0, %1 21 ret double %mul 22 23 ; CHECK-LABEL: __muldf3 24 } 25 26 define double @foo2() #0 { 27 entry: 28 %a = alloca double, align 8 29 %b = alloca double, align 8 30 %0 = load double, double* %a, align 8 31 %1 = load double, double* %b, align 8 32 %sub = fsub double %0, %1 33 ret double %sub 34 35 ; CHECK-LABEL: __subdf3 36 } 37 38 define double @foo3() #0 { 39 entry: 40 %a = alloca double, align 8 41 %b = alloca double, align 8 42 %0 = load double, double* %a, align 8 43 %1 = load double, double* %b, align 8 44 %div = fdiv double %0, %1 45 ret double %div 46 47 ; CHECK-LABEL: __divdf3 48 } 49 50 attributes #0 = {"use-soft-float"="true" } 51