Files
TheRock/compiler/amd-llvm/llvm/test/MC/AArch64/armv9.7a-memsys.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

135 lines
4.6 KiB
ArmAsm

// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+lscp < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+lscp < %s \
// RUN: | llvm-objdump -d --mattr=+lscp --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+lscp < %s \
// RUN: | llvm-objdump -d --mattr=-lscp --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+lscp < %s \
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
// RUN: | llvm-mc -triple=aarch64 -mattr=+lscp -disassemble -show-encoding \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// Armv9.7-A Contention Management Hints (FEAT_CMH).
shuh
// CHECK-INST: shuh
// CHECK-ENCODING: encoding: [0x5f,0x26,0x03,0xd5]
shuh ph
// CHECK-INST: shuh ph
// CHECK-ENCODING: encoding: [0x7f,0x26,0x03,0xd5]
stcph
// CHECK-INST: stcph
// CHECK-ENCODING: [0x9f,0x26,0x03,0xd5]
ldap x0, x1, [x2]
// CHECK-INST: ldap x0, x1, [x2]
// CHECK-ENCODING: encoding: [0x40,0x58,0x41,0xd9]
// CHECK-ERROR: error: instruction requires: lscp
// CHECK-UNKNOWN: d9415840 <unknown>
ldap x0, x1, [x2, #0]
// CHECK-INST: ldap x0, x1, [x2]
// CHECK-ENCODING: encoding: [0x40,0x58,0x41,0xd9]
// CHECK-ERROR: error: instruction requires: lscp
// CHECK-UNKNOWN: d9415840 <unknown>
ldapp x0, x1, [x2]
// CHECK-INST: ldapp x0, x1, [x2]
// CHECK-ENCODING: encoding: [0x40,0x78,0x41,0xd9]
// CHECK-ERROR: error: instruction requires: lscp
// CHECK-UNKNOWN: d9417840 <unknown>
ldapp x0, x1, [x2, #0]
// CHECK-INST: ldapp x0, x1, [x2]
// CHECK-ENCODING: encoding: [0x40,0x78,0x41,0xd9]
// CHECK-ERROR: error: instruction requires: lscp
// CHECK-UNKNOWN: d9417840 <unknown>
stlp x0, x1, [x2, #0]
// CHECK-INST: stlp x0, x1, [x2]
// CHECK-ENCODING: encoding: [0x40,0x58,0x01,0xd9]
// CHECK-ERROR: error: instruction requires: lscp
// CHECK-UNKNOWN: d9015840 <unknown>
stlp x0, x1, [x2]
// CHECK-INST: stlp x0, x1, [x2]
// CHECK-ENCODING: encoding: [0x40,0x58,0x01,0xd9]
// CHECK-ERROR: error: instruction requires: lscp
// CHECK-UNKNOWN: d9015840 <unknown>
mrs x3, VTLBID0_EL2
// CHECK-INST: mrs x3, VTLBID0_EL2
// CHECK-ENCODING: encoding: [0x03,0x28,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2803
mrs x3, VTLBID1_EL2
// CHECK-INST: mrs x3, VTLBID1_EL2
// CHECK-ENCODING: encoding: [0x23,0x28,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2823
mrs x3, VTLBID2_EL2
// CHECK-INST: mrs x3, VTLBID2_EL2
// CHECK-ENCODING: encoding: [0x43,0x28,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2843
mrs x3, VTLBID3_EL2
// CHECK-INST: mrs x3, VTLBID3_EL2
// CHECK-ENCODING: encoding: [0x63,0x28,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2863
mrs x3, VTLBIDOS0_EL2
// CHECK-INST: mrs x3, VTLBIDOS0_EL2
// CHECK-ENCODING: encoding: [0x03,0x29,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2903
mrs x3, VTLBIDOS1_EL2
// CHECK-INST: mrs x3, VTLBIDOS1_EL2
// CHECK-ENCODING: encoding: [0x23,0x29,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2923
mrs x3, VTLBIDOS2_EL2
// CHECK-INST: mrs x3, VTLBIDOS2_EL2
// CHECK-ENCODING: encoding: [0x43,0x29,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2943
mrs x3, VTLBIDOS3_EL2
// CHECK-INST: mrs x3, VTLBIDOS3_EL2
// CHECK-ENCODING: encoding: [0x63,0x29,0x3c,0xd5]
// CHECK-UNKNOWN: d53c2963
mrs x3, TLBIDIDR_EL1
// CHECK-INST: mrs x3, TLBIDIDR_EL1
// CHECK-ENCODING: encoding: [0xc3,0xa4,0x38,0xd5]
// CHECK-UNKNOWN: d538a4c3
msr VTLBID0_EL2, x3
// CHECK-INST: msr VTLBID0_EL2, x3
// CHECK-ENCODING: encoding: [0x03,0x28,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2803
msr VTLBID1_EL2, x3
// CHECK-INST: msr VTLBID1_EL2, x3
// CHECK-ENCODING: encoding: [0x23,0x28,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2823
msr VTLBID2_EL2, x3
// CHECK-INST: msr VTLBID2_EL2, x3
// CHECK-ENCODING: encoding: [0x43,0x28,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2843
msr VTLBID3_EL2, x3
// CHECK-INST: msr VTLBID3_EL2, x3
// CHECK-ENCODING: encoding: [0x63,0x28,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2863
msr VTLBIDOS0_EL2, x3
// CHECK-INST: msr VTLBIDOS0_EL2, x3
// CHECK-ENCODING: encoding: [0x03,0x29,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2903
msr VTLBIDOS1_EL2, x3
// CHECK-INST: msr VTLBIDOS1_EL2, x3
// CHECK-ENCODING: encoding: [0x23,0x29,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2923
msr VTLBIDOS2_EL2, x3
// CHECK-INST: msr VTLBIDOS2_EL2, x3
// CHECK-ENCODING: encoding: [0x43,0x29,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2943
msr VTLBIDOS3_EL2, x3
// CHECK-INST: msr VTLBIDOS3_EL2, x3
// CHECK-ENCODING: encoding: [0x63,0x29,0x1c,0xd5]
// CHECK-UNKNOWN: d51c2963