1 #*****************************************************************************
3 #-----------------------------------------------------------------------------
5 # Test illegal tvec command trap.
8 #include "riscv_test.h"
9 #include "test_macros.h"
18 csrw evec,a3 # set exception handler
22 slli a4,a4,SR_IM_SHIFT
23 or a3,a3,a4 # enable IM[COP]
40 li a4,HWACHA_CAUSE_ILLEGAL_CFG
48 # make sure vector unit has cleared out
97 .dword 0xdeadbeefcafebabe
98 .dword 0xdeadbeefcafebabe
99 .dword 0xdeadbeefcafebabe
100 .dword 0xdeadbeefcafebabe