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
70 lines
2.0 KiB
ArmAsm
70 lines
2.0 KiB
ArmAsm
# RUN: not llvm-mc -triple riscv32 < %s 2>&1 \
|
|
# RUN: | FileCheck --implicit-check-not=error: %s
|
|
|
|
# CHECK: :[[#@LINE+1]]:8: error: expected identifier
|
|
.option
|
|
|
|
# CHECK: :[[#@LINE+1]]:9: error: expected identifier
|
|
.option 123
|
|
|
|
# CHECK: :[[#@LINE+1]]:9: error: expected identifier
|
|
.option "str"
|
|
|
|
# CHECK: :[[#@LINE+1]]:13: error: expected newline
|
|
.option rvc foo
|
|
|
|
# CHECK: :[[#@LINE+1]]:23: error: unexpected token, expected + or -
|
|
.option arch, +f, +d, rv32ifd, -d
|
|
|
|
# CHECK: :[[#@LINE+1]]:22: error: expected newline
|
|
.option arch, rv32ifd, +f, +d
|
|
|
|
# CHECK: :[[#@LINE+1]]:16: error: unexpected token, expected identifier
|
|
.option arch, +"c"
|
|
|
|
# CHECK: :[[#@LINE+1]]:16: error: unknown extension feature
|
|
.option arch, +x
|
|
|
|
# CHECK: :[[#@LINE+1]]:16: error: unknown extension feature
|
|
.option arch, +relax
|
|
|
|
# CHECK: :[[#@LINE+1]]:16: error: unexpected token, expected identifier
|
|
.option arch, +
|
|
|
|
# CHECK: :[[#@LINE+1]]:18: error: expected comma
|
|
.option arch, +c foo
|
|
|
|
# CHECK: :[[#@LINE+1]]:16: error: extension version number parsing not currently implemented
|
|
.option arch, +c2p0
|
|
|
|
.option arch, +d
|
|
# CHECK: :[[#@LINE+1]]:16: error: can't disable f extension; d extension requires f extension
|
|
.option arch, -f
|
|
|
|
# CHECK: :[[#@LINE+1]]:16: error: can't disable zicsr extension; f extension requires zicsr extension
|
|
.option arch, -zicsr
|
|
|
|
# CHECK: :[[#@LINE+1]]:20: error: 'f' and 'zfinx' extensions are incompatible
|
|
.option arch, +f, +zfinx
|
|
|
|
## Make sure the above error isn't sticky
|
|
.option arch, +f
|
|
|
|
# CHECK: :[[#@LINE+1]]:13: error: expected newline
|
|
.option rvc foo
|
|
|
|
# CHECK: :[[#@LINE+1]]:12: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'arch', 'relax', 'norelax', 'exact', or 'noexact'
|
|
.option bar
|
|
|
|
# CHECK: :[[#@LINE+1]]:12: error: .option pop with no .option push
|
|
.option pop
|
|
|
|
# CHECK: :[[#@LINE+1]]:14: error: expected newline
|
|
.option push 123
|
|
|
|
# CHECK: :[[#@LINE+1]]:13: error: expected newline
|
|
.option pop 123
|
|
|
|
# CHECK: :[[#@LINE+1]]:15: error: bad arch string switching from rv32 to rv64
|
|
.option arch, rv64gc
|