Files
TheRock/compiler/amd-llvm/llvm/test/tools/llvm-mca/RISCV/SiFiveX100/zfh.test
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

74 lines
5.5 KiB
Plaintext

# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=riscv64 -mcpu=sifive-x180 -iterations=1 -instruction-tables=full %p/../Inputs/zfh.s | FileCheck %s
# CHECK: Resources:
# CHECK-NEXT: [0] - VLEN128X100SiFive7FDiv:1
# CHECK-NEXT: [1] - VLEN128X100SiFive7IDiv:1
# CHECK-NEXT: [2] - VLEN128X100SiFive7PipeA:1
# CHECK-NEXT: [3] - VLEN128X100SiFive7PipeAB:2 VLEN128X100SiFive7PipeA, VLEN128X100SiFive7PipeB
# CHECK-NEXT: [4] - VLEN128X100SiFive7PipeB:1
# CHECK-NEXT: [5] - VLEN128X100SiFive7VA1:1
# CHECK-NEXT: [6] - VLEN128X100SiFive7VCQ:1
# CHECK-NEXT: [7] - VLEN128X100SiFive7VL:1
# CHECK-NEXT: [8] - VLEN128X100SiFive7VS:1
# CHECK: Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-NEXT: [4]: MayLoad
# CHECK-NEXT: [5]: MayStore
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK-NEXT: [7]: Bypass Latency
# CHECK-NEXT: [8]: Resources (<Name> | <Name>[<ReleaseAtCycle>] | <Name>[<AcquireAtCycle>,<ReleaseAtCycle])
# CHECK-NEXT: [9]: LLVM Opcode Name
# CHECK: [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FADD_H fadd.h fs10, fs11, ft8
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FSUB_H fsub.h ft9, ft10, ft11
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FMUL_H fmul.h ft0, ft1, ft2
# CHECK-NEXT: 1 14 13.00 14 VLEN128X100SiFive7FDiv[13],VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FDIV_H fdiv.h ft3, ft4, ft5
# CHECK-NEXT: 1 14 13.00 14 VLEN128X100SiFive7FDiv[13],VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FSQRT_H fsqrt.h ft6, ft7
# CHECK-NEXT: 1 3 1.00 3 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FMIN_H fmin.h fa5, fa6, fa7
# CHECK-NEXT: 1 3 1.00 3 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FMAX_H fmax.h fs2, fs3, fs4
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FMADD_H fmadd.h fa0, fa1, fa2, ft11
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FMSUB_H fmsub.h fa4, fa5, fa6, fa7
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FNMSUB_H fnmsub.h fs2, fs3, fs4, fs5
# CHECK-NEXT: 1 4 1.00 4 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FNMADD_H fnmadd.h fs6, fs7, fs8, fs9
# CHECK-NEXT: 1 3 1.00 3 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FEQ_H feq.h a1, fs8, fs9
# CHECK-NEXT: 1 3 1.00 3 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FLT_H flt.h a2, fs10, fs11
# CHECK-NEXT: 1 3 1.00 3 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FLE_H fle.h a3, ft8, ft9
# CHECK-NEXT: 1 3 1.00 3 VLEN128X100SiFive7PipeAB,VLEN128X100SiFive7PipeB FCLASS_H fclass.h a3, ft10
# CHECK: Resources:
# CHECK-NEXT: [0] - VLEN128X100SiFive7FDiv
# CHECK-NEXT: [1] - VLEN128X100SiFive7IDiv
# CHECK-NEXT: [2] - VLEN128X100SiFive7PipeA
# CHECK-NEXT: [3] - VLEN128X100SiFive7PipeB
# CHECK-NEXT: [4] - VLEN128X100SiFive7VA1
# CHECK-NEXT: [5] - VLEN128X100SiFive7VCQ
# CHECK-NEXT: [6] - VLEN128X100SiFive7VL
# CHECK-NEXT: [7] - VLEN128X100SiFive7VS
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7]
# CHECK-NEXT: 26.00 - - 15.00 - - - -
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] Instructions:
# CHECK-NEXT: - - - 1.00 - - - - fadd.h fs10, fs11, ft8
# CHECK-NEXT: - - - 1.00 - - - - fsub.h ft9, ft10, ft11
# CHECK-NEXT: - - - 1.00 - - - - fmul.h ft0, ft1, ft2
# CHECK-NEXT: 13.00 - - 1.00 - - - - fdiv.h ft3, ft4, ft5
# CHECK-NEXT: 13.00 - - 1.00 - - - - fsqrt.h ft6, ft7
# CHECK-NEXT: - - - 1.00 - - - - fmin.h fa5, fa6, fa7
# CHECK-NEXT: - - - 1.00 - - - - fmax.h fs2, fs3, fs4
# CHECK-NEXT: - - - 1.00 - - - - fmadd.h fa0, fa1, fa2, ft11
# CHECK-NEXT: - - - 1.00 - - - - fmsub.h fa4, fa5, fa6, fa7
# CHECK-NEXT: - - - 1.00 - - - - fnmsub.h fs2, fs3, fs4, fs5
# CHECK-NEXT: - - - 1.00 - - - - fnmadd.h fs6, fs7, fs8, fs9
# CHECK-NEXT: - - - 1.00 - - - - feq.h a1, fs8, fs9
# CHECK-NEXT: - - - 1.00 - - - - flt.h a2, fs10, fs11
# CHECK-NEXT: - - - 1.00 - - - - fle.h a3, ft8, ft9
# CHECK-NEXT: - - - 1.00 - - - - fclass.h a3, ft10