Files
TheRock/compiler/amd-llvm/llvm/test/tools/llvm-mca/X86/LunarlakeP/resources-xsave.s
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

61 lines
2.8 KiB
ArmAsm

# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=lunarlake -instruction-tables < %s | FileCheck %s
xgetbv
xrstor (%rax)
xrstors (%rax)
xsave (%rax)
xsetbv
# 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: [1] [2] [3] [4] [5] [6] Instructions:
# CHECK-NEXT: 23 4 3.33 U xgetbv
# CHECK-NEXT: 31 37 5.25 * * U xrstor (%rax)
# CHECK-NEXT: 31 37 5.25 * * U xrstors (%rax)
# CHECK-NEXT: 140 42 15.00 * * U xsave (%rax)
# CHECK-NEXT: 54 5 8.67 * * U xsetbv
# CHECK: Resources:
# CHECK-NEXT: [0] - LNLPPort00
# CHECK-NEXT: [1] - LNLPPort01
# CHECK-NEXT: [2] - LNLPPort02
# CHECK-NEXT: [3] - LNLPPort03
# CHECK-NEXT: [4] - LNLPPort04
# CHECK-NEXT: [5] - LNLPPort05
# CHECK-NEXT: [6] - LNLPPort10
# CHECK-NEXT: [7] - LNLPPort11
# CHECK-NEXT: [8] - LNLPPort20
# CHECK-NEXT: [9] - LNLPPort21
# CHECK-NEXT: [10] - LNLPPort22
# CHECK-NEXT: [11] - LNLPPort25
# CHECK-NEXT: [12] - LNLPPort26
# CHECK-NEXT: [13] - LNLPPort27
# CHECK-NEXT: [14] - LNLPPortInvalid
# CHECK-NEXT: [15] - LNLPVPort00
# CHECK-NEXT: [16] - LNLPVPort01
# CHECK-NEXT: [17] - LNLPVPort02
# CHECK-NEXT: [18] - LNLPVPort03
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]
# CHECK-NEXT: 32.33 22.33 32.33 22.33 32.33 22.33 0.50 0.50 2.00 2.00 2.00 0.33 0.33 0.33 - 25.00 25.00 28.50 28.50
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] Instructions:
# CHECK-NEXT: 3.83 2.83 3.83 2.83 3.83 2.83 - - - - - - - - - 0.75 0.75 0.75 0.75 xgetbv
# CHECK-NEXT: 2.67 0.33 2.67 0.33 2.67 0.33 - - 0.33 0.33 0.33 - - - - 5.25 5.25 5.25 5.25 xrstor (%rax)
# CHECK-NEXT: 2.67 0.33 2.67 0.33 2.67 0.33 - - 0.33 0.33 0.33 - - - - 5.25 5.25 5.25 5.25 xrstors (%rax)
# CHECK-NEXT: 14.67 10.00 14.67 10.00 14.67 10.00 0.50 0.50 1.33 1.33 1.33 0.33 0.33 0.33 - 13.25 13.25 16.75 16.75 xsave (%rax)
# CHECK-NEXT: 8.50 8.83 8.50 8.83 8.50 8.83 - - - - - - - - - 0.50 0.50 0.50 0.50 xsetbv