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
163 lines
5.4 KiB
ArmAsm
163 lines
5.4 KiB
ArmAsm
// RUN: llvm-mc -triple=aarch64 -show-encoding < %s \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj < %s \
|
|
// RUN: | llvm-objdump -d --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST
|
|
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
|
|
// RUN: llvm-mc -triple=aarch64 -show-encoding < %s \
|
|
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
|
|
// RUN: | llvm-mc -triple=aarch64 -disassemble -show-encoding \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
|
|
|
|
// sysp #<op1>, <Cn>, <Cm>, #<op2>{, <Xt1>, <Xt2>}
|
|
// registers with 128-bit formats (op0, op1, Cn, Cm, op2)
|
|
// For sysp, op0 is 0
|
|
|
|
sysp #0, c2, c0, #0, x0, x1// TTBR0_EL1 3 0 2 0 0
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #1, x0, x1// TTBR1_EL1 3 0 2 0 1
|
|
// CHECK-INST: sysp #0, c2, c0, #1, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x20,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c7, c4, #0, x0, x1// PAR_EL1 3 0 7 4 0
|
|
// CHECK-INST: sysp #0, c7, c4, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x74,0x48,0xd5]
|
|
|
|
sysp #0, c13, c0, #3, x0, x1 // RCWSMASK_EL1 3 0 13 0 3
|
|
// CHECK-INST: sysp #0, c13, c0, #3, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x60,0xd0,0x48,0xd5]
|
|
|
|
sysp #0, c13, c0, #6, x0, x1 // RCWMASK_EL1 3 0 13 0 6
|
|
// CHECK-INST: sysp #0, c13, c0, #6, x0, x1
|
|
// CHECK-ENCODING: encoding: [0xc0,0xd0,0x48,0xd5]
|
|
|
|
sysp #4, c2, c0, #0, x0, x1// TTBR0_EL2 3 4 2 0 0
|
|
// CHECK-INST: sysp #4, c2, c0, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x20,0x4c,0xd5]
|
|
|
|
sysp #4, c2, c0, #1, x0, x1// TTBR1_EL2 3 4 2 0 1
|
|
// CHECK-INST: sysp #4, c2, c0, #1, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x20,0x20,0x4c,0xd5]
|
|
|
|
sysp #4, c2, c1, #0, x0, x1// VTTBR_EL2 3 4 2 1 0
|
|
// CHECK-INST: sysp #4, c2, c1, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x21,0x4c,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x0, x1
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #1, x0, x1
|
|
// CHECK-INST: sysp #0, c2, c0, #1, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x20,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c7, c4, #0, x0, x1
|
|
// CHECK-INST: sysp #0, c7, c4, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x74,0x48,0xd5]
|
|
|
|
sysp #0, c13, c0, #3, x0, x1
|
|
// CHECK-INST: sysp #0, c13, c0, #3, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x60,0xd0,0x48,0xd5]
|
|
|
|
sysp #0, c13, c0, #6, x0, x1
|
|
// CHECK-INST: sysp #0, c13, c0, #6, x0, x1
|
|
// CHECK-ENCODING: encoding: [0xc0,0xd0,0x48,0xd5]
|
|
|
|
sysp #4, c2, c0, #0, x0, x1
|
|
// CHECK-INST: sysp #4, c2, c0, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x20,0x4c,0xd5]
|
|
|
|
sysp #4, c2, c0, #1, x0, x1
|
|
// CHECK-INST: sysp #4, c2, c0, #1, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x20,0x20,0x4c,0xd5]
|
|
|
|
sysp #4, c2, c1, #0, x0, x1
|
|
// CHECK-INST: sysp #4, c2, c1, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x21,0x4c,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x0, x1
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x0, x1
|
|
// CHECK-ENCODING: encoding: [0x00,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x2, x3
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x2, x3
|
|
// CHECK-ENCODING: encoding: [0x02,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x4, x5
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x4, x5
|
|
// CHECK-ENCODING: encoding: [0x04,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x6, x7
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x6, x7
|
|
// CHECK-ENCODING: encoding: [0x06,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x8, x9
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x8, x9
|
|
// CHECK-ENCODING: encoding: [0x08,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x10, x11
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x10, x11
|
|
// CHECK-ENCODING: encoding: [0x0a,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x12, x13
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x12, x13
|
|
// CHECK-ENCODING: encoding: [0x0c,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x14, x15
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x14, x15
|
|
// CHECK-ENCODING: encoding: [0x0e,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x16, x17
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x16, x17
|
|
// CHECK-ENCODING: encoding: [0x10,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x18, x19
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x18, x19
|
|
// CHECK-ENCODING: encoding: [0x12,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x20, x21
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x20, x21
|
|
// CHECK-ENCODING: encoding: [0x14,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x22, x23
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x22, x23
|
|
// CHECK-ENCODING: encoding: [0x16,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x24, x25
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x24, x25
|
|
// CHECK-ENCODING: encoding: [0x18,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x26, x27
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x26, x27
|
|
// CHECK-ENCODING: encoding: [0x1a,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x28, x29
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x28, x29
|
|
// CHECK-ENCODING: encoding: [0x1c,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x30, x31
|
|
// CHECK-INST: sysp #0, c2, c0, #0, x30, xzr
|
|
// CHECK-ENCODING: encoding: [0x1e,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x31, x31
|
|
// CHECK-INST: sysp #0, c2, c0, #0
|
|
// CHECK-ENCODING: encoding: [0x1f,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, xzr, xzr
|
|
// CHECK-INST: sysp #0, c2, c0, #0
|
|
// CHECK-ENCODING: encoding: [0x1f,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, x31, xzr
|
|
// CHECK-INST: sysp #0, c2, c0, #0
|
|
// CHECK-ENCODING: encoding: [0x1f,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0, xzr, x31
|
|
// CHECK-INST: sysp #0, c2, c0, #0
|
|
// CHECK-ENCODING: encoding: [0x1f,0x20,0x48,0xd5]
|
|
|
|
sysp #0, c2, c0, #0
|
|
// CHECK-INST: sysp #0, c2, c0, #0
|
|
// CHECK-ENCODING: encoding: [0x1f,0x20,0x48,0xd5]
|