Files
TheRock/compiler/amd-llvm/llvm/test/MC/Xtensa/code_density.s
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

69 lines
1.3 KiB
ArmAsm

# RUN: llvm-mc %s -triple=xtensa -show-encoding --mattr=+density \
# RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
.align 4
LBL0:
# Instruction format RRRN
# CHECK-INST: add.n a2, a3, a4
# CHECK: encoding: [0x4a,0x23]
add.n a2, a3, a4
# Instruction format RRRN
# CHECK-INST: addi.n a2, a3, 3
# CHECK: encoding: [0x3b,0x23]
addi.n a2, a3, 3
# Instruction format RRRN
# CHECK-INST: addi.n a2, a3, -1
# CHECK: encoding: [0x0b,0x23]
addi.n a2, a3, -1
# Instruction format RI6
# CHECK-INST: beqz.n a3, LBL1
# CHECK: encoding: [0x8c'A',0x03'A']
beqz.n a3, LBL1
# Instruction format RI6
# CHECK-INST: bnez.n a3, LBL1
# CHECK: encoding: [0xcc'A',0x03'A']
bnez.n a3, LBL1
# Instruction format RRRN
# CHECK-INST: ill.n
# CHECK: encoding: [0x6d,0xf0]
ill.n
# Instruction format RRRN
# CHECK-INST: l32i.n a2, a3, 12
# CHECK: encoding: [0x28,0x33]
l32i.n a2, a3, 12
# Instruction format RRRN
# CHECK-INST: mov.n a2, a3
# CHECK: encoding: [0x2d,0x03]
mov.n a2, a3
# Instruction format RI7
# CHECK-INST: movi.n a2, -32
# CHECK: encoding: [0x6c,0x02]
movi.n a2, -32
# Instruction format RRRN
# CHECK-INST: nop.n
# CHECK: encoding: [0x3d,0xf0]
nop.n
# Instruction format RRRN
# CHECK-INST: ret.n
# CHECK: encoding: [0x0d,0xf0]
ret.n
# Instruction format RRRN
# CHECK-INST: s32i.n a2, a3, 12
# CHECK: encoding: [0x29,0x33]
s32i.n a2, a3, 12
.align 4
LBL1: