brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · c55bb78 Raw
61 lines · plain
1# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z14 -start-before=postrapseudos %s -o - \2# RUN:   | FileCheck %s3#4# Test shortening of fused fp operations.5 6--- |7  define double @fun0(double %f1, double %f2, double %acc) { ret double 0.0 }8...9 10# CHECK-LABEL: fun0:11# CHECK:      madbr   %f0, %f4, %f212# CHECK-NEXT: wfmadb  %f0, %f4, %v16, %f013# CHECK-NEXT: wfmadb  %f0, %f4, %f0, %f214# CHECK-NEXT: maebr   %f0, %f4, %f215# CHECK-NEXT: wfmasb  %f0, %f4, %v16, %f016# CHECK-NEXT: wfmasb  %f0, %f4, %f0, %f217# CHECK-NEXT: msdbr   %f0, %f4, %f218# CHECK-NEXT: wfmsdb  %f0, %f4, %v16, %f019# CHECK-NEXT: wfmsdb  %f0, %f4, %f0, %f220# CHECK-NEXT: msebr   %f0, %f4, %f221# CHECK-NEXT: wfmssb  %f0, %f4, %v16, %f022# CHECK-NEXT: wfmssb  %f0, %f4, %f0, %f223# CHECK-NEXT: br      %r1424---25name:            fun026alignment:       1627tracksRegLiveness: true28liveins:29  - { reg: '$f0d' }30  - { reg: '$f2d' }31  - { reg: '$f4d' }32frameInfo:33  maxAlignment:    134  maxCallFrameSize: 035fixedStack:36  - { id: 0, offset: -160, size: 8, alignment: 8 }37machineFunctionInfo: {}38body:             |39  bb.0 (%ir-block.0):40    liveins: $f0d, $f2d, $f4d, $f16d41  42    renamable $f0d = nofpexcept WFMADB renamable $f4d, renamable $f2d, renamable $f0d, implicit $fpc43    renamable $f0d = nofpexcept WFMADB renamable $f4d, renamable $f16d, renamable $f0d, implicit $fpc44    renamable $f0d = nofpexcept WFMADB renamable $f4d, renamable $f0d, renamable $f2d, implicit $fpc45 46    renamable $f0s = nofpexcept WFMASB renamable $f4s, renamable $f2s, renamable $f0s, implicit $fpc47    renamable $f0s = nofpexcept WFMASB renamable $f4s, renamable $f16s, renamable $f0s, implicit $fpc48    renamable $f0s = nofpexcept WFMASB renamable $f4s, renamable $f0s, renamable $f2s, implicit $fpc49 50    renamable $f0d = nofpexcept WFMSDB renamable $f4d, renamable $f2d, renamable $f0d, implicit $fpc51    renamable $f0d = nofpexcept WFMSDB renamable $f4d, renamable $f16d, renamable $f0d, implicit $fpc52    renamable $f0d = nofpexcept WFMSDB renamable $f4d, renamable $f0d, renamable $f2d, implicit $fpc53 54    renamable $f0s = nofpexcept WFMSSB renamable $f4s, renamable $f2s, renamable $f0s, implicit $fpc55    renamable $f0s = nofpexcept WFMSSB renamable $f4s, renamable $f16s, renamable $f0s, implicit $fpc56    renamable $f0s = nofpexcept WFMSSB renamable $f4s, renamable $f0s, renamable $f2s, implicit $fpc57 58    Return implicit $f0d59 60...61