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/macros/scalar/test_macros.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'isa/macros/scalar') diff --git a/isa/macros/scalar/test_macros.h b/isa/macros/scalar/test_macros.h index 81052a6..b4d0d78 100644 --- a/isa/macros/scalar/test_macros.h +++ b/isa/macros/scalar/test_macros.h @@ -570,9 +570,8 @@ test_ ## testnum: \ #----------------------------------------------------------------------- #define TEST_ILLEGAL_TVEC_REGID( testnum, nxreg, nfreg, inst, reg1, reg2) \ - csrs status, SR_EI; \ la a0, handler ## testnum; \ - csrw evec, a0; \ + csrw stvec, a0; \ vsetcfg nxreg, nfreg; \ li a0, 4; \ vsetvl a0, a0; \ @@ -631,9 +630,8 @@ handler ## testnum: \ bne a1,a2,fail; \ #define TEST_ILLEGAL_VT_REGID( testnum, nxreg, nfreg, inst, reg1, reg2, reg3) \ - csrs status, SR_EI; \ la a0, handler ## testnum; \ - csrw evec, a0; \ + csrw stvec, a0; \ vsetcfg nxreg, nfreg; \ li a0, 4; \ vsetvl a0, a0; \ -- cgit v1.1