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
123 lines
4.4 KiB
ArmAsm
123 lines
4.4 KiB
ArmAsm
# RUN: not llvm-mc -triple riscv32 -mattr=+e,+zca < %s 2>&1 | FileCheck %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zca < %s \
|
|
# RUN: | llvm-objdump --mattr=+e,+zca -M no-aliases -d -r - \
|
|
# RUN: | FileCheck -check-prefix=CHECK-DIS %s
|
|
# RUN: not llvm-mc -triple riscv64 -mattr=+e,+zca < %s 2>&1 | FileCheck %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zca < %s \
|
|
# RUN: | llvm-objdump --mattr=+e,+zca -M no-aliases -d -r - \
|
|
# RUN: | FileCheck -check-prefix=CHECK-DIS %s
|
|
|
|
# Perform a simple check that registers x16-x31 (and the equivalent ABI names)
|
|
# are rejected for RV32E/RV64E, when both assembling and disassembling.
|
|
|
|
.option push
|
|
.option exact
|
|
# CHECK-DIS: 00001837 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x16, 1
|
|
# CHECK-DIS: 000028b7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x17, 2
|
|
# CHECK-DIS: 00003937 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x18, 3
|
|
# CHECK-DIS: 000049b7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x19, 4
|
|
# CHECK-DIS: 00005a37 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x20, 5
|
|
# CHECK-DIS: 00006ab7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x21, 6
|
|
# CHECK-DIS: 00007b37 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x22, 7
|
|
# CHECK-DIS: 00008bb7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x23, 8
|
|
# CHECK-DIS: 00009c37 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x24, 9
|
|
# CHECK-DIS: 0000acb7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x25, 10
|
|
# CHECK-DIS: 0000bd37 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x26, 11
|
|
# CHECK-DIS: 0000cdb7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x27, 12
|
|
# CHECK-DIS: 0000de37 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x28, 13
|
|
# CHECK-DIS: 0000eeb7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x29, 14
|
|
# CHECK-DIS: 0000ff37 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x30, 15
|
|
# CHECK-DIS: 00010fb7 <unknown>
|
|
# CHECK: :[[@LINE+1]]:5: error: invalid operand for instruction
|
|
lui x31, 16
|
|
|
|
# CHECK-DIS: 00011817 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc a6, 17
|
|
# CHECK-DIS: 00012897 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc a7, 18
|
|
# CHECK-DIS: 00013917 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s2, 19
|
|
# CHECK-DIS: 00014997 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s3, 20
|
|
# CHECK-DIS: 00015a17 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s4, 21
|
|
# CHECK-DIS: 00016a97 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s5, 22
|
|
# CHECK-DIS: 00017b17 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s6, 23
|
|
# CHECK-DIS: 00018b97 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s7, 24
|
|
# CHECK-DIS: 00019c17 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s8, 25
|
|
# CHECK-DIS: 0001ac97 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s9, 26
|
|
# CHECK-DIS: 0001bd17 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s10, 27
|
|
# CHECK-DIS: 0001cd97 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc s11, 28
|
|
# CHECK-DIS: 0001de17 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc t3, 29
|
|
# CHECK-DIS: 0001ee97 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc t4, 30
|
|
# CHECK-DIS: 0001ff17 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc t5, 31
|
|
# CHECK-DIS: 00020f97 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
auipc t6, 32
|
|
.option pop
|
|
|
|
# CHECK-DIS: 0f81 <unknown>
|
|
# CHECK: :[[@LINE+1]]:8: error: register must be a GPR excluding zero (x0)
|
|
c.addi x31, 0
|
|
# CHECK-DIS: 9846 <unknown>
|
|
# CHECK: :[[@LINE+1]]:7: error: invalid operand for instruction
|
|
c.add x16, x17
|
|
# CHECK-DIS: 8046 <unknown>
|
|
# CHECK: :[[@LINE+1]]:10: error: register must be a GPR excluding zero (x0)
|
|
c.mv x0, x17
|