Home | History | Annotate | Download | only in SPARC
      1 ; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
      2 
      3 ; CHECK-LABEL: fmuls_fix_test
      4 ; CHECK:       fstod %f20, %f2
      5 ; CHECK:       fstod %f21, %f3
      6 ; CHECK:       fmuld %f2, %f3, %f8
      7 ; CHECK:       fstod %f20, %f0
      8 define double @fmuls_fix_test() {
      9 entry:
     10   %a = alloca float, align 4
     11   %b = alloca float, align 4
     12   store float 0x402ECCCCC0000000, float* %a, align 4
     13   store float 0x4022333340000000, float* %b, align 4
     14   %0 = load float, float* %b, align 4
     15   %1 = load float, float* %a, align 4
     16   %mul = tail call double asm sideeffect "fmuls $0, $1, $2", "={f20},{f21},{f8}"(float* %a, float* %b)
     17 
     18   ret double %mul
     19 }
     20