1 #*****************************************************************************
3 #-----------------------------------------------------------------------------
5 # Test illegal tvec regid trap.
8 #include "riscv_test.h"
9 #include "test_macros.h"
19 slli a4,a4,SR_IM_SHIFT
20 or a3,a3,a4 # enable IM[COP]
23 TEST_ILLEGAL_TVEC_REGID(2, 5, 5, vsd, vx7, a2)
24 TEST_ILLEGAL_TVEC_REGID(3, 5, 5, vld, vx7, a2)
26 TEST_ILLEGAL_TVEC_REGID(4, 5, 5, vfsd, vf7, a2)
27 TEST_ILLEGAL_TVEC_REGID(5, 5, 5, vfld, vf7, a2)
49 .dword 0xdeadbeefcafebabe
50 .dword 0xdeadbeefcafebabe
51 .dword 0xdeadbeefcafebabe
52 .dword 0xdeadbeefcafebabe