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
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
# FRV testcase for break
|
|
# mach: all
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global tra
|
|
tra:
|
|
; Can't test break anymore in the user environment because it is the
|
|
; debugger's breakpoint insn. Just pass this test for now.
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
set_gr_spr tbr,gr7
|
|
and_gr_immed -4081,gr7 ; clear tbr.tt
|
|
inc_gr_immed 0xff0,gr7 ; break handler
|
|
set_bctrlr_0_0 gr7
|
|
set_spr_immed 128,lcr
|
|
|
|
test_spr_bits 0x4,2,0x1,psr ; psr.s is set
|
|
test_spr_bits 0x1,0,0x0,psr ; psr.et is clear
|
|
set_spr_addr ok1,lr
|
|
break
|
|
ret:
|
|
or_spr_immed 0x00000001,psr ; turn on psr.et
|
|
and_spr_immed 0xfffffffb,psr ; turn off psr.s
|
|
test_spr_bits 0x4,2,0x0,psr ; psr.s is clear
|
|
test_spr_bits 0x1,0,0x1,psr ; psr.et is set
|
|
set_spr_addr ok0,lr
|
|
break
|
|
ret1:
|
|
test_spr_bits 0x4,2,0x0,psr ; psr.s is clear
|
|
test_spr_bits 0x1,0,0x1,psr ; psr.et is set
|
|
pass
|
|
|
|
; check interrupt for second break
|
|
ok0: test_spr_addr ret1,bpcsr
|
|
test_spr_bits 0x1000,12,0x0,bpsr ; bpsr.bs is clear
|
|
test_spr_bits 0x0001,0,0x1,bpsr ; bpsr.et is set
|
|
test_spr_bits 0x4,2,0x1,psr ; psr.s is set
|
|
test_spr_bits 0x1,0,0x0,psr ; psr.et is clear
|
|
rett 0 ; nop
|
|
rett 1
|
|
|
|
; check interrupt for first break
|
|
ok1: test_spr_addr ret,bpcsr
|
|
test_spr_bits 0x1000,12,0x1,bpsr ; bpsr.bs is set
|
|
test_spr_bits 0x0001,0,0x0,bpsr ; bpsr.et is clear
|
|
test_spr_bits 0x4,2,0x1,psr ; psr.s is set
|
|
test_spr_bits 0x1,0,0x0,psr ; psr.et is clear
|
|
rett 0 ; nop
|
|
rett 1
|
|
|
|
|