Files
TheRock/compiler/amd-llvm/llvm/test/MC/Xtensa/boolean.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

59 lines
1.7 KiB
ArmAsm

# RUN: llvm-mc %s -triple=xtensa -show-encoding --mattr=+bool \
# RUN: | FileCheck -check-prefixes=CHECK %s
.align 4
// CHECK: .p2align 4
LBL0:
// CHECK: LBL0:
all4 b1, b4
// CHECK: all4 b1, b4 # encoding: [0x10,0x94,0x00]
all8 b1, b8
// CHECK: all8 b1, b8 # encoding: [0x10,0xb8,0x00]
andb b1, b2, b3
// CHECK: andb b1, b2, b3 # encoding: [0x30,0x12,0x02]
andbc b1, b2, b3
// CHECK: andbc b1, b2, b3 # encoding: [0x30,0x12,0x12]
orb b1, b2, b3
// CHECK: orb b1, b2, b3 # encoding: [0x30,0x12,0x22]
orbc b1, b2, b3
// CHECK: orbc b1, b2, b3 # encoding: [0x30,0x12,0x32]
xorb b1, b2, b3
// CHECK: xorb b1, b2, b3 # encoding: [0x30,0x12,0x42]
any4 b1, b4
// CHECK: any4 b1, b4 # encoding: [0x10,0x84,0x00]
any8 b1, b8
// CHECK: any8 b1, b8 # encoding: [0x10,0xa8,0x00]
bt b1, LBL0
// CHECK: bt b1, LBL0 # encoding: [0x76,0x11,A]
// CHECK-NEXT: # fixup A - offset: 0, value: LBL0, kind: fixup_xtensa_branch_8
bf b0, LBL0
// CHECK: bf b0, LBL0 # encoding: [0x76,0x00,A]
// CHECK-NEXT: # fixup A - offset: 0, value: LBL0, kind: fixup_xtensa_branch_8
movf a2, a3, b1
// CHECK: movf a2, a3, b1 # encoding: [0x10,0x23,0xc3]
movt a3, a4, b2
// CHECK: movt a3, a4, b2 # encoding: [0x20,0x34,0xd3]
xsr a3, br
// CHECK: xsr a3, br # encoding: [0x30,0x04,0x61]
xsr.br a3
// CHECK: xsr a3, br # encoding: [0x30,0x04,0x61]
xsr a3, 4
// CHECK: xsr a3, br # encoding: [0x30,0x04,0x61]