# Make sure there's a breakpoint there.
csrr a0, tdata1
- srli a0, a0, _RISCV_SZLONG-4
+ srli a0, a0, __riscv_xlen - 4
li a1, 2
bne a0, a1, pass
# Make sure there's a breakpoint there.
csrr a0, tdata1
- srli a0, a0, _RISCV_SZLONG-4
+ srli a0, a0, __riscv_xlen - 4
li a1, 2
bne a0, a1, pass
2:
TEST_PASSFAIL
+ .align 2
+ .global mtvec_handler
mtvec_handler:
# Only even-numbered tests should trap.
andi t0, TESTNUM, 1