Files
TheRock/debug-tools/rocgdb/source/sim/testsuite/bfin/brcc.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

165 lines
1.7 KiB
ArmAsm

# mach: bfin
.include "testutils.inc"
start
/* Stall tests */
r0 = 0;
r1 = 1;
loadsym p0, foo;
p1 = p0;
pass_1:
cc = r0;
nop;
nop;
if cc jump _fail_1;
[p0++] = p0;
[p0++] = p0;
r7 = p0;
r5 = CC;
P1 += 8;
r6 = p1;
CC = R6 == R7;
if !CC jump _failure;
cc = R5;
if !cc jump over;
_fail_1:
[p0++] = p0;
[p0++] = p0;
back:
if !cc jump skip(bp);
_fail_2:
[p0++] = p0;
[p0++] = p0;
over:
if cc jump _fail_3(bp);
[p0++] = p0;
[p0++] = p0;
r7=p0;
R5=cc;
P1 += 8;
R6 = P1;
CC = R6 == R7;
if !CC jump _failure;
CC = R5;
if !cc jump back(bp);
_fail_3:
[p0++] = p0;
[p0++] = p0;
skip:
[p0++] = p0;
[p0++] = p0;
[p0++] = p0;
r7=p0;
P1 += 0xc;
R6 = P1;
CC = R6 == R7;
if !CC jump _failure;
next:
[p0++] = p0;
r7=p0;
P1 += 4;
R6 = P1;
CC = R6 == R7;
if !CC jump _failure;
pass_2:
cc = r1;
nop;
nop;
if !cc jump _fail_4;
[p0++] = p0;
[p0++] = p0;
r7=p0;
R5 = cc;
P1 += 8;
R6 = P1;
CC = R6 == R7;
if !CC jump _failure;
cc = R5;
if cc jump over_2;
_fail_4:
[p0++] = p0;
[p0++] = p0;
P1 += 8;
back_2:
if cc jump skip_2 (bp);
_fail_5:
[p0++] = p0;
[p0++] = p0;
P1 += 8;
over_2:
if !cc jump _fail_6 (bp);
[p0++] = p0;
[p0++] = p0;
r7=p0;
R5 = cc;
P1 += 8;
R6 = P1;
CC = R6 == R7;
if !CC jump _failure;
cc = R5;
if cc jump back_2 (bp);
_fail_6:
[p0++] = p0;
[p0++] = p0;
skip_2:
[p0++] = p0;
[p0++] = p0;
[p0++] = p0;
r7=p0;
R5 = cc;
P1 += 0xc;
R6 = P1;
CC = R6 == R7;
if !CC jump _failure;
cc = r5;
if cc jump next_2 (bp);
next_2:
[p0++] = p0;
[p0++] = p0;
P1 += 8;
r7=p0;
r6 = P1;
CC = R6 == R7;
if !CC jump _failure;
cc = r0;
_halt:
pass;
_fail_7:
[p0++] = p0;
_failure:
fail;
.data
foo:
.space (0x100)