1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
7 # Test misaligned fetch trap.
10 #include "riscv_test.h"
11 #include "test_macros.h"
29 // this test should pass, since the low bit should be masked off
45 li t1, CAUSE_MISALIGNED_FETCH
50 addi t0, t0, 2 // skip over instruction after jalr