Files
TheRock/compiler/amd-llvm/llvm/test/tools/llvm-mca/RISCV/SpacemitX100/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

79 lines
6.3 KiB
Plaintext

# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=riscv64 -mcpu=spacemit-x100 -iterations=1 -instruction-tables=full %p/../Inputs/zfh.s | FileCheck %s
# CHECK: Resources:
# CHECK-NEXT: [0] - SMTX100_BQ:2
# CHECK-NEXT: [1] - SMTX100_FQ:4 SMTX100_FQ0, SMTX100_FQ0, SMTX100_FQ1, SMTX100_FQ1
# CHECK-NEXT: [2] - SMTX100_FQ0:2
# CHECK-NEXT: [3] - SMTX100_FQ1:2
# CHECK-NEXT: [4] - SMTX100_IQ:4 SMTX100_IQ0, SMTX100_IQ0, SMTX100_IQ1, SMTX100_IQ1
# CHECK-NEXT: [5] - SMTX100_IQ0:2
# CHECK-NEXT: [6] - SMTX100_IQ1:2
# CHECK-NEXT: [7] - SMTX100_LSQ:4
# 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 3 0.25 3 SMTX100_FQ FADD_H fadd.h fs10, fs11, ft8
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FSUB_H fsub.h ft9, ft10, ft11
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FMUL_H fmul.h ft0, ft1, ft2
# CHECK-NEXT: 1 12 6.00 12 SMTX100_FQ[12],SMTX100_FQ0[12] FDIV_H fdiv.h ft3, ft4, ft5
# CHECK-NEXT: 1 12 6.00 12 SMTX100_FQ[12],SMTX100_FQ0[12] FSQRT_H fsqrt.h ft6, ft7
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FMIN_H fmin.h fa5, fa6, fa7
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FMAX_H fmax.h fs2, fs3, fs4
# CHECK-NEXT: 1 5 0.25 5 SMTX100_FQ FMADD_H fmadd.h fa0, fa1, fa2, ft11
# CHECK-NEXT: 1 5 0.25 5 SMTX100_FQ FMSUB_H fmsub.h fa4, fa5, fa6, fa7
# CHECK-NEXT: 1 5 0.25 5 SMTX100_FQ FNMSUB_H fnmsub.h fs2, fs3, fs4, fs5
# CHECK-NEXT: 1 5 0.25 5 SMTX100_FQ FNMADD_H fnmadd.h fs6, fs7, fs8, fs9
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FEQ_H feq.h a1, fs8, fs9
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FLT_H flt.h a2, fs10, fs11
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FLE_H fle.h a3, ft8, ft9
# CHECK-NEXT: 1 3 0.25 3 SMTX100_FQ FCLASS_H fclass.h a3, ft10
# CHECK: Resources:
# CHECK-NEXT: [0.0] - SMTX100_BQ
# CHECK-NEXT: [0.1] - SMTX100_BQ
# CHECK-NEXT: [1.0] - SMTX100_FQ0
# CHECK-NEXT: [1.1] - SMTX100_FQ0
# CHECK-NEXT: [2.0] - SMTX100_FQ1
# CHECK-NEXT: [2.1] - SMTX100_FQ1
# CHECK-NEXT: [3.0] - SMTX100_IQ0
# CHECK-NEXT: [3.1] - SMTX100_IQ0
# CHECK-NEXT: [4.0] - SMTX100_IQ1
# CHECK-NEXT: [4.1] - SMTX100_IQ1
# CHECK-NEXT: [5.0] - SMTX100_LSQ
# CHECK-NEXT: [5.1] - SMTX100_LSQ
# CHECK-NEXT: [5.2] - SMTX100_LSQ
# CHECK-NEXT: [5.3] - SMTX100_LSQ
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0.0] [0.1] [1.0] [1.1] [2.0] [2.1] [3.0] [3.1] [4.0] [4.1] [5.0] [5.1] [5.2] [5.3]
# CHECK-NEXT: - - 15.25 15.25 3.25 3.25 - - - - - - - -
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0.0] [0.1] [1.0] [1.1] [2.0] [2.1] [3.0] [3.1] [4.0] [4.1] [5.0] [5.1] [5.2] [5.3] Instructions:
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fadd.h fs10, fs11, ft8
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fsub.h ft9, ft10, ft11
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fmul.h ft0, ft1, ft2
# CHECK-NEXT: - - 6.00 6.00 - - - - - - - - - - fdiv.h ft3, ft4, ft5
# CHECK-NEXT: - - 6.00 6.00 - - - - - - - - - - fsqrt.h ft6, ft7
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fmin.h fa5, fa6, fa7
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fmax.h fs2, fs3, fs4
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fmadd.h fa0, fa1, fa2, ft11
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fmsub.h fa4, fa5, fa6, fa7
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fnmsub.h fs2, fs3, fs4, fs5
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fnmadd.h fs6, fs7, fs8, fs9
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - feq.h a1, fs8, fs9
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - flt.h a2, fs10, fs11
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fle.h a3, ft8, ft9
# CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - - - fclass.h a3, ft10