RVTEST_RV64U # Define TVM used by program.
+// TODO: add extra "code" argument and "testdata" argument,
+// replace "addw" with "code"
+// TODO: move SV_ELWIDTH_TEST to sv_test_macros.h
+// TODO: probably remove testing of x15 and x16 (or pass in as extra args?)
+
#define SV_ELWIDTH_TEST( wid1, wid2, wid3, expect1, expect2, expect3 ) \
\
SV_LDD_DATA( x12, testdata , 0); \
# Test code region.
RVTEST_CODE_BEGIN # Start of test code.
- #
+ # TODO: add "addw" argument, add testdata argument
SV_ELWIDTH_TEST( 0, 0, 0,
0xffffffff8b6bab8b, 0xffffffff88684828, 0x0000000000000000 )
SV_ELWIDTH_TEST( 0, 0, 3,