// Loads the source registers using load_instruction from testdata with a spacing of elwidth
#define SV_LOAD_FORMAT(load_instruction, testdata, elwidth) \
- load_instruction( x12, testdata); \
- load_instruction( x13, testdata+elwidth); \
- load_instruction( x14, testdata+elwidth*2); \
- load_instruction( x15, testdata+elwidth*3); \
- load_instruction( x16, testdata+elwidth*4); \
- load_instruction( x17, testdata+elwidth*5); \
+ load_instruction x12, (testdata); \
+ load_instruction x13, (testdata+elwidth); \
+ load_instruction x14, (testdata+elwidth*2); \
+ load_instruction x15, (testdata+elwidth*3); \
+ load_instruction x16, (testdata+elwidth*4); \
+ load_instruction x17, (testdata+elwidth*5); \
// Loads the source registers using load_instruction from testdata with a spacing of elwidth and offset
#define SV_LOAD_FORMAT_OFFSET(load_instruction, testdata, elwidth, offset) \
\
SV_ELWIDTH_TEST_INNER(SV_LOAD_FORMAT(load_instruction, testdata, elwidth), \
vl, wid1, wid2, wid3, isvec1, isvec2, isvec3, \
- expect1, expect2, expect3, code x28, x15, x12) \
+ expect1, expect2, expect3, code x28, 0(x12)) \
// This should not be accessed directly. It is meant to be called through higher level macros.
// If used: