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