From dd0d4036430dc812c9168fad8870d58ce151f498 Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Mon, 16 Mar 2015 02:10:17 -0700 Subject: revamp vector tests with new privileged spec, and add scalar pt tests --- isa/rv64sv/ma_utld.S | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'isa/rv64sv/ma_utld.S') diff --git a/isa/rv64sv/ma_utld.S b/isa/rv64sv/ma_utld.S index 3bd7437..398396e 100644 --- a/isa/rv64sv/ma_utld.S +++ b/isa/rv64sv/ma_utld.S @@ -10,20 +10,11 @@ #include "riscv_test.h" #include "test_macros.h" -RVTEST_RV64S +RVTEST_RV64SV RVTEST_CODE_BEGIN - li a0, SR_EA | SR_EI - csrs status, a0 - la a3,handler - csrw evec,a3 # set exception handler - - csrr a3,status - li a4,(1 << IRQ_COP) - slli a4,a4,SR_IM_SHIFT - or a3,a3,a4 # enable IM[COP] - csrw status,a3 + csrw stvec,a3 # set exception handler vsetcfg 32,0 li a3,4 -- cgit v1.1