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
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
# RUN: llvm-mc -triple=xtensa -mattr=+density -disassemble %s | FileCheck -check-prefixes=CHECK-DENSITY %s
|
|
# RUN: not llvm-mc -triple=xtensa -disassemble %s 2>&1 | FileCheck --implicit-check-not=warning: -check-prefixes=CHECK-CORE %s
|
|
|
|
## Verify that binary code is correctly disassembled with
|
|
## code density option enabled. Also verify that dissasembling without
|
|
## density option generates warnings.
|
|
|
|
[0x4a, 0x23]
|
|
# CHECK-DENSITY: add.n a2, a3, a4
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x3b, 0x23]
|
|
# CHECK-DENSITY: addi.n a2, a3, 3
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x9c, 0x03]
|
|
# CHECK-DENSITY: beqz.n a3, . +20
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0xcc, 0xe3]
|
|
# CHECK-DENSITY: bnez.n a3, . +18
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x6d, 0xf0]
|
|
# CHECK-DENSITY: ill.n
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x28, 0x33]
|
|
# CHECK-DENSITY: l32i.n a2, a3, 12
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x2d, 0x03]
|
|
# CHECK-DENSITY: mov.n a2, a3
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x0d, 0xf0]
|
|
# CHECK-DENSITY: ret.n
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x29, 0x33]
|
|
# CHECK-DENSITY: s32i.n a2, a3, 12
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x6c, 0x02]
|
|
# CHECK-DENSITY: movi.n a2, -32
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|
|
|
|
[0x3d, 0xf0]
|
|
# CHECK-DENSITY: nop.n
|
|
# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding
|