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
94 lines
2.6 KiB
ArmAsm
94 lines
2.6 KiB
ArmAsm
# RUN: rm -rf %t && split-file %s %t && cd %t
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+m,+f,+d,+v noncanonicalized_arch.s -o noncanonicalized_arch.o
|
|
# RUN: not llvm-objdump -d noncanonicalized_arch.o 2>&1 | FileCheck %s -DFILE=noncanonicalized_arch.o --check-prefix=NONCANON
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 invalid_arch.s -o invalid_arch.o
|
|
# RUN: not llvm-objdump -d invalid_arch.o 2>&1 | FileCheck %s -DFILE=invalid_arch.o --check-prefix=INVALID
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 unknown_i_version.s -o unknown_i_version.o
|
|
# RUN: llvm-objdump -d unknown_i_version.o 2>&1 | FileCheck %s --check-prefix=UNKNOWN-I-VERSION
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zicbom unknown_ext_version.s -o unknown_ext_version.o
|
|
# RUN: llvm-objdump -d unknown_ext_version.o 2>&1 | FileCheck %s --check-prefix=UNKNOWN-EXT-VERSION
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 unknown_ext_name.s -o unknown_ext_name.o
|
|
# RUN: llvm-objdump -d unknown_ext_name.o 2>&1 | FileCheck %s --check-prefix=UNKNOWN-EXT-NAME
|
|
|
|
#--- noncanonicalized_arch.s
|
|
# NONCANON: error: '[[FILE]]': arch string must begin with valid base ISA
|
|
# NONCANON-NOT: {{.}}
|
|
vsetvli a3, a2, e8, m8, tu, mu
|
|
|
|
.section .riscv.attributes,"",@0x70000003
|
|
.byte 0x41
|
|
.long .Lend-.riscv.attributes-1
|
|
.asciz "riscv" # vendor
|
|
.Lbegin:
|
|
.byte 1 # Tag_File
|
|
.long .Lend-.Lbegin
|
|
.byte 5 # Tag_RISCV_arch
|
|
.asciz "rv64gcv"
|
|
.Lend:
|
|
|
|
#--- invalid_arch.s
|
|
# INVALID: error: '[[FILE]]': arch string must begin with valid base ISA
|
|
# INVALID-NOT: {{.}}
|
|
nop
|
|
|
|
.section .riscv.attributes,"",@0x70000003
|
|
.byte 0x41
|
|
.long .Lend-.riscv.attributes-1
|
|
.asciz "riscv" # vendor
|
|
.Lbegin:
|
|
.byte 1 # Tag_File
|
|
.long .Lend-.Lbegin
|
|
.byte 5 # Tag_RISCV_arch
|
|
.asciz "nonsense"
|
|
.Lend:
|
|
|
|
#--- unknown_i_version.s
|
|
# UNKNOWN-I-VERSION: nop
|
|
nop
|
|
|
|
.section .riscv.attributes,"",@0x70000003
|
|
.byte 0x41
|
|
.long .Lend-.riscv.attributes-1
|
|
.asciz "riscv" # vendor
|
|
.Lbegin:
|
|
.byte 1 # Tag_File
|
|
.long .Lend-.Lbegin
|
|
.byte 5 # Tag_RISCV_arch
|
|
.asciz "rv32i99p99"
|
|
.Lend:
|
|
|
|
#--- unknown_ext_version.s
|
|
# UNKNOWN-EXT-VERSION: cbo.clean (t0)
|
|
cbo.clean (t0)
|
|
|
|
.section .riscv.attributes,"",@0x70000003
|
|
.byte 0x41
|
|
.long .Lend-.riscv.attributes-1
|
|
.asciz "riscv" # vendor
|
|
.Lbegin:
|
|
.byte 1 # Tag_File
|
|
.long .Lend-.Lbegin
|
|
.byte 5 # Tag_RISCV_arch
|
|
.asciz "rv32i2p0_zicbom0p1"
|
|
.Lend:
|
|
|
|
#--- unknown_ext_name.s
|
|
# UNKNOWN-EXT-NAME: nop
|
|
nop
|
|
|
|
.section .riscv.attributes,"",@0x70000003
|
|
.byte 0x41
|
|
.long .Lend-.riscv.attributes-1
|
|
.asciz "riscv" # vendor
|
|
.Lbegin:
|
|
.byte 1 # Tag_File
|
|
.long .Lend-.Lbegin
|
|
.byte 5 # Tag_RISCV_arch
|
|
.asciz "rv32i2p0_zmadeup1p0_smadeup1p0_xmadeup1p0_sxmadeup1p0"
|
|
.Lend:
|