Files
TheRock/debug-tools/rocgdb/source/sim/testsuite/cris/asm/op3.ms
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

99 lines
1.5 KiB
Plaintext

# mach: crisv0 crisv3 crisv8 crisv10
# output: ee19cd0b\nee197761\nccff2244\n55aa77ff\nffffaa77\naa\n4243ab11\n424377ab\nfdedaaf0\n4242dd68\n4242dd68\n40025567\n57eb77ff\n55aa77ff\n
.include "testutils.inc"
.data
x:
.dword 0x55aa77ff
.dword 0xccff2244
.dword 0x88ccee19
start
move.d x,r10
moveq 0,r3
moveq 12,r4
add.d [r10+6],r4,r3
test_cc 1 0 0 0
dumpr3 ; ee19cd0b
move.d 0x1267,r7
subu.w [r10+2],r3,r8
test_cc 1 0 0 0
move.d r8,r3
dumpr3 ; ee197761
moveq 1,r8
bound.d [r10+r8.d],r3,r5
test_move_cc 1 0 0 0
move.d r5,r3
dumpr3 ; ccff2244
; Also applies to move insns. Bleah.
moveq 0,r5
bdap 0,r10
move.d [r3],r5
test_move_cc 0 0 0 0
dumpr3 ; 55aa77ff
moveq 0,r5
bdap 1,r10
movs.w [r3],r5
test_move_cc 1 0 0 0
dumpr3 ; ffffaa77
moveq 0,r5
bdap 2,r10
movu.b [r3],r5
test_move_cc 0 0 0 0
dumpr3 ; aa
move.d 0x42435567,r8
bdap 2,r10
adds.w [r3],r8
test_cc 0 0 0 0
dumpr3 ; 4243ab11
move.d 0x42435567,r8
bdap 4,r10
addu.w [r3],r8
test_cc 0 0 0 0
dumpr3 ; 424377ab
move.d 0x42435567,r8
bdap 1,r10
sub.d [r3],r8
test_cc 1 0 0 1
dumpr3 ; fdedaaf0
move.d 0x42435567,r8
bdap 0,r10
subs.w [r3],r8
test_cc 0 0 0 0
dumpr3 ; 4242dd68
move.d 0x42435567,r8
bdap 0,r10
subu.w [r3],r8
test_cc 0 0 0 0
dumpr3 ; 4242dd68
move.d 0x42435567,r8
bdap 0,r10
and.d [r3],r8
test_move_cc 0 0 0 0
dumpr3 ; 40025567
move.d 0x42435567,r8
bdap 0,r10
or.d [r3],r8
test_move_cc 0 0 0 0
dumpr3 ; 57eb77ff
move.d 0xc2435567,r8
bdap 0,r10
bound.d [r3],r8
test_move_cc 0 0 0 0
dumpr3 ; 55aa77ff
quit