1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
7 # Test illegal vt instruction trap.
10 #include "riscv_test.h"
11 #include "test_macros.h"
17 csrw stvec,a3 # set exception handler
48 li a4,HWACHA_CAUSE_VF_ILLEGAL_INSTRUCTION
56 # make sure vector unit has cleared out
105 .dword 0xdeadbeefcafebabe
106 .dword 0xdeadbeefcafebabe
107 .dword 0xdeadbeefcafebabe
108 .dword 0xdeadbeefcafebabe