RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
+
mfpcr a3,status
li a4,(1 << IRQ_COP)
slli a4,a4,SR_IM_SHIFT
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
+
mfpcr a3,status
li a4,(1 << IRQ_COP)
slli a4,a4,SR_IM_SHIFT
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler
RVTEST_RV64S
RVTEST_CODE_BEGIN
+ setpcr status, SR_EA # enable accelerator
setpcr status, SR_EI # enable interrupt
la a3,handler