289{
291 Xbyak::Reg64 regTbl[
N];
292 for (
int i = 0; i <
N; i++) {
293 regTbl[i] = Xbyak::Reg64(i);
294 }
295 Xbyak::util::Pack
p(regTbl,
N);
296 const struct {
297 int pos;
301 { 0, 10, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } },
302 { 1, 9, { 1, 2, 3, 4, 5, 6, 7, 8, 9 } },
303 { 2, 8, { 2, 3, 4, 5, 6, 7, 8, 9 } },
304 { 3, 7, { 3, 4, 5, 6, 7, 8, 9 } },
305 { 4, 6, { 4, 5, 6, 7, 8, 9 } },
306 { 5, 5, { 5, 6, 7, 8, 9 } },
307 { 6, 4, { 6, 7, 8, 9 } },
308 { 7, 3, { 7, 8, 9 } },
309 { 8, 2, { 8, 9 } },
310 { 9, 1, { 9 } },
311 { 3, 5, { 3, 4, 5, 6, 7 } },
312 };
313 for (
size_t i = 0; i <
sizeof(
tbl) /
sizeof(*tbl); i++) {
314 const int pos =
tbl[i].pos;
315 const int num =
tbl[i].num;
317 if (pos + num ==
N) {
319 }
320 }
321}
void verifyPack(const Xbyak::util::Pack &p, const int *tbl, size_t tblNum)
static void sub(VuintT &out, const VuintT &x, const VuintT &y)