1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
7 # Test misaligned ut sd trap.
10 #include "riscv_test.h"
11 #include "test_macros.h"
17 csrw stvec,a3 # set exception handler
46 li a4,HWACHA_CAUSE_MISALIGNED_STORE
54 # make sure vector unit has cleared out
103 .dword 0xdeadbeefcafebabe
104 .dword 0xdeadbeefcafebabe
105 .dword 0xdeadbeefcafebabe
106 .dword 0xdeadbeefcafebabe