split out S-mode tests and M-mode tests
[riscv-tests.git] / isa / rv64sv / ma_utsd.S
index 9bd3cd8e6711184bcb497dbb294fb060e29be1f3..47df11bcbbce84029900b054b5fdccf104c24427 100644 (file)
@@ -13,9 +13,6 @@
 RVTEST_RV64SV
 RVTEST_CODE_BEGIN
 
-  la a3,handler
-  csrw stvec,a3 # set exception handler
-
   vsetcfg 32,0
   li a3,4
   vsetvl a3,a3
@@ -36,7 +33,7 @@ vtcode2:
   add x2,x2,x3
   stop
 
-handler:
+stvec_handler:
   vxcptkill
 
   li TESTNUM,2