{ "k", RK, &tvty_uint, 0, { &tvrange_u32 } },
{ "m", RM, &tvty_bytes, 0 },
{ "h", RH, &tvty_uint, 0, { &tvrange_u32 } },
- { 0, 0, 0, 0 }
+ TVEC_ENDREGS
};
static const struct tvec_regdef crc32_regs[] = {
{ "m", RM, &tvty_bytes, 0 },
{ "h", RH, &tvty_uint, 0, { &tvrange_u32 } },
- { 0, 0, 0, 0 }
+ TVEC_ENDREGS
};
static const struct tvec_regdef bench_regs[] = {
{ "msz", RM, &tvty_buffer, TVRF_ID },
- { 0, 0, 0, 0 }
+ TVEC_ENDREGS
};
static const struct tvec_bench crc32_bench =
{ "unihash", unihash_regs, &step_testenv, test_unihash },
{ "crc32-bench", bench_regs, &crc32_bench._env, bench_crc32 },
{ "unihash-bench", bench_regs, &unihash_bench._env, bench_unihash },
- { 0, 0, 0, 0 }
+ TVEC_ENDTESTS
};
static const struct tvec_config testconfig =