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
114 lines
2.8 KiB
ArmAsm
114 lines
2.8 KiB
ArmAsm
# RUN: llvm-mc %s -triple=riscv32 -M no-aliases -mattr=+f -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-ENC %s
|
|
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+v < %s \
|
|
# RUN: | llvm-objdump -d --mattr=+v - \
|
|
# RUN: | FileCheck -check-prefix=CHECK-INST-ALIAS %s
|
|
#
|
|
# RUN: llvm-mc %s -triple=riscv64 -M no-aliases -mattr=+f -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-ENC %s
|
|
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+v < %s \
|
|
# RUN: | llvm-objdump -d --mattr=+v - \
|
|
# RUN: | FileCheck -check-prefix=CHECK-INST-ALIAS %s
|
|
|
|
##################################
|
|
# User Vector CSRs
|
|
##################################
|
|
|
|
# vstart
|
|
# name
|
|
# CHECK-INST: csrrs t1, vstart, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0x80,0x00]
|
|
# CHECK-INST-ALIAS: csrr t1, vstart
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vstart, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0x80,0x00]
|
|
# CHECK-INST-ALIAS: csrr t2, vstart
|
|
# name
|
|
csrrs t1, vstart, zero
|
|
# uimm12
|
|
csrrs t2, 0x008, zero
|
|
|
|
# vxsat
|
|
# name
|
|
# CHECK-INST: csrrs t1, vxsat, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0x90,0x00]
|
|
# CHECK-INST-ALIAS: csrr t1, vxsat
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vxsat, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0x90,0x00]
|
|
# CHECK-INST-ALIAS: csrr t2, vxsat
|
|
# name
|
|
csrrs t1, vxsat, zero
|
|
# uimm12
|
|
csrrs t2, 0x009, zero
|
|
|
|
# vxrm
|
|
# name
|
|
# CHECK-INST: csrrs t1, vxrm, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0xa0,0x00]
|
|
# CHECK-INST-ALIAS: csrr t1, vxrm
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vxrm, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0xa0,0x00]
|
|
# CHECK-INST-ALIAS: csrr t2, vxrm
|
|
# name
|
|
csrrs t1, vxrm, zero
|
|
# uimm12
|
|
csrrs t2, 0x00a, zero
|
|
|
|
# vcsr
|
|
# name
|
|
# CHECK-INST: csrrs t1, vcsr, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0xf0,0x00]
|
|
# CHECK-INST-ALIAS: csrr t1, vcsr
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vcsr, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0xf0,0x00]
|
|
# CHECK-INST-ALIAS: csrr t2, vcsr
|
|
# name
|
|
csrrs t1, vcsr, zero
|
|
# uimm12
|
|
csrrs t2, 0x00f, zero
|
|
|
|
# vl
|
|
# name
|
|
# CHECK-INST: csrrs t1, vl, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0x00,0xc2]
|
|
# CHECK-INST-ALIAS: csrr t1, vl
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vl, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0x00,0xc2]
|
|
# CHECK-INST-ALIAS: csrr t2, vl
|
|
# name
|
|
csrrs t1, vl, zero
|
|
# uimm12
|
|
csrrs t2, 0xc20, zero
|
|
|
|
# vtype
|
|
# name
|
|
# CHECK-INST: csrrs t1, vtype, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0x10,0xc2]
|
|
# CHECK-INST-ALIAS: csrr t1, vtype
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vtype, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0x10,0xc2]
|
|
# CHECK-INST-ALIAS: csrr t2, vtype
|
|
# name
|
|
csrrs t1, vtype, zero
|
|
# uimm12
|
|
csrrs t2, 0xc21, zero
|
|
|
|
# vlenb
|
|
# name
|
|
# CHECK-INST: csrrs t1, vlenb, zero
|
|
# CHECK-ENC: encoding: [0x73,0x23,0x20,0xc2]
|
|
# CHECK-INST-ALIAS: csrr t1, vlenb
|
|
# uimm12
|
|
# CHECK-INST: csrrs t2, vlenb, zero
|
|
# CHECK-ENC: encoding: [0xf3,0x23,0x20,0xc2]
|
|
# CHECK-INST-ALIAS: csrr t2, vlenb
|
|
# name
|
|
csrrs t1, vlenb, zero
|
|
# uimm12
|
|
csrrs t2, 0xc22, zero
|