brintos

brintos / llvm-project-archived public Read only

0
0
Text · 601 B · 5c820fb Raw
20 lines · plain
1; RUN: llc -mtriple=hexagon -mcpu=hexagonv5 < %s | FileCheck %s2; Check that we generate single precision floating point multiply in V5.3 4; CHECK: r{{[0-9]+}} = sfmpy(r{{[0-9]+}},r{{[0-9]+}})5 6 7define i32 @main() nounwind {8entry:9  %a = alloca float, align 410  %b = alloca float, align 411  %c = alloca float, align 412  store volatile float 0x402ECCCCC0000000, ptr %a, align 413  store volatile float 0x4022333340000000, ptr %b, align 414  %0 = load volatile float, ptr %b, align 415  %1 = load volatile float, ptr %a, align 416  %mul = fmul float %0, %117  store float %mul, ptr %c, align 418  ret i32 019}20