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
52 lines
969 B
ArmAsm
52 lines
969 B
ArmAsm
;;; Test 68HC11 linker relaxation and fixup of brclr/brset branches
|
|
;;;
|
|
.sect .text
|
|
.globl _start
|
|
_start:
|
|
start:
|
|
brclr 140,x#200,L8 ; Branch adjustment covers the whole test
|
|
;;; The 'addd' is relaxed and we win 1 byte. The next brclr/brset
|
|
;;; branch must be fixed and reduced by 1. We check for different
|
|
;;; addressing modes because the instruction has different opcode and
|
|
;;; different lengths.
|
|
L1:
|
|
addd _toto
|
|
brclr 20,x,#3,L1
|
|
brclr 90,x,#99,L3 ; Likewise with forward branch
|
|
L2:
|
|
addd _toto
|
|
brclr 19,y,#4,L2
|
|
brclr 91,y,#98,L4
|
|
L3:
|
|
addd _toto
|
|
brset 18,x,#5,L3
|
|
brset 92,x,#97,L5
|
|
L4:
|
|
addd _toto
|
|
brset 17,y,#6,L4
|
|
brset 93,y,#96,L5
|
|
L5:
|
|
addd _toto
|
|
brset *_table,#7,L5
|
|
brset *_table+10,#95,L7
|
|
L6:
|
|
addd _toto
|
|
brclr *_table+1,#8,L6
|
|
brset *_table+11,#94,L8
|
|
L7:
|
|
addd _toto
|
|
brclr *_table+1,#8,L6
|
|
L8:
|
|
brclr 140,x#200,_start ; Branch adjustment covers the whole test
|
|
rts
|
|
|
|
.sect .page0
|
|
_bar:
|
|
.long 0
|
|
_toto:
|
|
.long 0
|
|
.skip 32
|
|
stack:
|
|
.skip 10
|
|
_table:
|