brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · 138f402 Raw
55 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=riscv64 -mcpu=sifive-x390 -instruction-tables=full -iterations=1 < %s \3# RUN:   | FileCheck %s4 5div a0, a1, a26fdiv.s f1, f2, f37 8# CHECK:      Resources:9# CHECK-NEXT: [0]   - VLEN1024X300SiFive7FDiv:110# CHECK-NEXT: [1]   - VLEN1024X300SiFive7IDiv:111# CHECK-NEXT: [2]   - VLEN1024X300SiFive7PipeA:112# CHECK-NEXT: [3]   - VLEN1024X300SiFive7PipeAB:2 VLEN1024X300SiFive7PipeA, VLEN1024X300SiFive7PipeB13# CHECK-NEXT: [4]   - VLEN1024X300SiFive7PipeB:114# CHECK-NEXT: [5]   - VLEN1024X300SiFive7VA1:115# CHECK-NEXT: [6]   - VLEN1024X300SiFive7VA1OrVA2:2 VLEN1024X300SiFive7VA1, VLEN1024X300SiFive7VA216# CHECK-NEXT: [7]   - VLEN1024X300SiFive7VA2:117# CHECK-NEXT: [8]   - VLEN1024X300SiFive7VCQ:118# CHECK-NEXT: [9]   - VLEN1024X300SiFive7VL:119# CHECK-NEXT: [10]  - VLEN1024X300SiFive7VS:120 21# CHECK:      Instruction Info:22# CHECK-NEXT: [1]: #uOps23# CHECK-NEXT: [2]: Latency24# CHECK-NEXT: [3]: RThroughput25# CHECK-NEXT: [4]: MayLoad26# CHECK-NEXT: [5]: MayStore27# CHECK-NEXT: [6]: HasSideEffects (U)28# CHECK-NEXT: [7]: Bypass Latency29# CHECK-NEXT: [8]: Resources (<Name> | <Name>[<ReleaseAtCycle>] | <Name>[<AcquireAtCycle>,<ReleaseAtCycle])30# CHECK-NEXT: [9]: LLVM Opcode Name31 32# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]                                        [9]                        Instructions:33# CHECK-NEXT:  1      66    65.00                        66    VLEN1024X300SiFive7IDiv[65],VLEN1024X300SiFive7PipeAB,VLEN1024X300SiFive7PipeB DIV div	a0, a1, a234# CHECK-NEXT:  1      27    26.00                        27    VLEN1024X300SiFive7FDiv[26],VLEN1024X300SiFive7PipeAB,VLEN1024X300SiFive7PipeB FDIV_S fdiv.s	ft1, ft2, ft335 36# CHECK:      Resources:37# CHECK-NEXT: [0]   - VLEN1024X300SiFive7FDiv38# CHECK-NEXT: [1]   - VLEN1024X300SiFive7IDiv39# CHECK-NEXT: [2]   - VLEN1024X300SiFive7PipeA40# CHECK-NEXT: [3]   - VLEN1024X300SiFive7PipeB41# CHECK-NEXT: [4]   - VLEN1024X300SiFive7VA142# CHECK-NEXT: [5]   - VLEN1024X300SiFive7VA243# CHECK-NEXT: [6]   - VLEN1024X300SiFive7VCQ44# CHECK-NEXT: [7]   - VLEN1024X300SiFive7VL45# CHECK-NEXT: [8]   - VLEN1024X300SiFive7VS46 47# CHECK:      Resource pressure per iteration:48# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]49# CHECK-NEXT: 26.00  65.00   -     2.00    -      -      -      -      -50 51# CHECK:      Resource pressure by instruction:52# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    Instructions:53# CHECK-NEXT:  -     65.00   -     1.00    -      -      -      -      -     div	a0, a1, a254# CHECK-NEXT: 26.00   -      -     1.00    -      -      -      -      -     fdiv.s	ft1, ft2, ft355