split out S-mode tests and M-mode tests
[riscv-tests.git] / isa / rv64sv / ma_vsd.S
index 35cb828b7182f4e4714a79b5b270d0e89805e7dc..e113f99c9f09c003d88d6b361946c6a038db4e03 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
@@ -38,7 +35,7 @@ vtcode2:
   add x2,x2,x3
   stop
 
-handler:
+stvec_handler:
   vxcptkill
 
   li TESTNUM,2