brintos

brintos / llvm-project-archived public Read only

0
0
Text · 570 B · e755e33 Raw
20 lines · plain
1; RUN: llc -mtriple=hexagon -mcpu=hexagonv5 < %s | FileCheck %s2; Check that we generate double precision floating point add in V5.3 4; CHECK: call __hexagon_adddf35 6 7define i32 @main() nounwind {8entry:9  %a = alloca double, align 810  %b = alloca double, align 811  %c = alloca double, align 812  store volatile double 1.540000e+01, ptr %a, align 813  store volatile double 9.100000e+00, ptr %b, align 814  %0 = load volatile double, ptr %a, align 815  %1 = load volatile double, ptr %b, align 816  %add = fadd double %0, %117  store double %add, ptr %c, align 818  ret i32 019}20