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
39 lines
858 B
Plaintext
39 lines
858 B
Plaintext
# FRV testcase
|
|
# mach: fr500 fr550 fr400
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global tra
|
|
tra:
|
|
and_spr_immed 0x3fffffff,hsr0 ; no caches enabled
|
|
|
|
and_spr_immed -4081,tbr ; clear tbr.tt
|
|
set_gr_spr tbr,gr7
|
|
inc_gr_immed 0x070,gr7 ; address of exception handler
|
|
set_bctrlr_0_0 gr7
|
|
inc_gr_immed 0x790,gr7 ; address of exception handler
|
|
set_bctrlr_0_0 gr7
|
|
set_spr_immed 128,lcr
|
|
set_psr_et 1
|
|
set_spr_addr ok0,lr
|
|
|
|
set_gr_addr ill1,gr7
|
|
set_mem_immed 0x81f80000,gr7 ; unknown opcode: 7E
|
|
ill1: tira gr0,0 ; should be overridden
|
|
ill2: nop ; also illegal, but prev has priority
|
|
bad0: fail
|
|
|
|
; check interrupt
|
|
ok0: test_spr_addr ill1,pcsr
|
|
test_spr_immed 1,esfr1 ; esr0 active
|
|
test_spr_bits 0x3f,0,0xb,esr0
|
|
movsg psr,gr28
|
|
srli gr28,28,gr28
|
|
subicc gr28,0x3,gr0,icc3 ; is fr550?
|
|
beq icc3,0,no_epcr
|
|
test_spr_addr ill1,epcr0
|
|
no_epcr:
|
|
pass
|