Files
TheRock/compiler/amd-llvm/llvm/test/MC/AVR/inst-family-set-clr-flag.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

141 lines
2.7 KiB
ArmAsm

; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -dr - | FileCheck --check-prefix=CHECK-INST %s
foo:
; Flag set operations
; SEC
bset 0
sec
; SEZ
bset 1
sez
; SEN
bset 2
sen
; SEV
bset 3
sev
; SES
bset 4
ses
; SEH
bset 5
seh
; SET
bset 6
set
; SEI
bset 7
sei
; Flag clear operations
; CLC
bclr 0
clc
; CLZ
bclr 1
clz
; CLN
bclr 2
cln
; CLV
bclr 3
clv
; CLS
bclr 4
cls
; CLH
bclr 5
clh
; CLT
bclr 6
clt
; CLI
bclr 7
cli
; CHECK: sec ; encoding: [0x08,0x94]
; CHECK: sec ; encoding: [0x08,0x94]
; CHECK: sez ; encoding: [0x18,0x94]
; CHECK: sez ; encoding: [0x18,0x94]
; CHECK: sen ; encoding: [0x28,0x94]
; CHECK: sen ; encoding: [0x28,0x94]
; CHECK: sev ; encoding: [0x38,0x94]
; CHECK: sev ; encoding: [0x38,0x94]
; CHECK: ses ; encoding: [0x48,0x94]
; CHECK: ses ; encoding: [0x48,0x94]
; CHECK: seh ; encoding: [0x58,0x94]
; CHECK: seh ; encoding: [0x58,0x94]
; CHECK: set ; encoding: [0x68,0x94]
; CHECK: set ; encoding: [0x68,0x94]
; CHECK: sei ; encoding: [0x78,0x94]
; CHECK: sei ; encoding: [0x78,0x94]
; CHECK: clc ; encoding: [0x88,0x94]
; CHECK: clc ; encoding: [0x88,0x94]
; CHECK: clz ; encoding: [0x98,0x94]
; CHECK: clz ; encoding: [0x98,0x94]
; CHECK: cln ; encoding: [0xa8,0x94]
; CHECK: cln ; encoding: [0xa8,0x94]
; CHECK: clv ; encoding: [0xb8,0x94]
; CHECK: clv ; encoding: [0xb8,0x94]
; CHECK: cls ; encoding: [0xc8,0x94]
; CHECK: cls ; encoding: [0xc8,0x94]
; CHECK: clh ; encoding: [0xd8,0x94]
; CHECK: clh ; encoding: [0xd8,0x94]
; CHECK: clt ; encoding: [0xe8,0x94]
; CHECK: clt ; encoding: [0xe8,0x94]
; CHECK: cli ; encoding: [0xf8,0x94]
; CHECK: cli ; encoding: [0xf8,0x94]
; CHECK-INST: sec
; CHECK-INST: sec
; CHECK-INST: sez
; CHECK-INST: sez
; CHECK-INST: sen
; CHECK-INST: sen
; CHECK-INST: sev
; CHECK-INST: sev
; CHECK-INST: ses
; CHECK-INST: ses
; CHECK-INST: seh
; CHECK-INST: seh
; CHECK-INST: set
; CHECK-INST: set
; CHECK-INST: sei
; CHECK-INST: sei
; CHECK-INST: clc
; CHECK-INST: clc
; CHECK-INST: clz
; CHECK-INST: clz
; CHECK-INST: cln
; CHECK-INST: cln
; CHECK-INST: clv
; CHECK-INST: clv
; CHECK-INST: cls
; CHECK-INST: cls
; CHECK-INST: clh
; CHECK-INST: clh
; CHECK-INST: clt
; CHECK-INST: clt
; CHECK-INST: cli
; CHECK-INST: cli