Mercurial > vec
comparison test/main.c @ 13:53197dbf4e8e
vec.h: initial refactor for runtime SSE and stuff
author | Paper <paper@tflc.us> |
---|---|
date | Tue, 19 Nov 2024 15:54:38 -0500 |
parents | d1d5d767004c |
children |
comparison
equal
deleted
inserted
replaced
11:13575ba795d3 | 13:53197dbf4e8e |
---|---|
79 #define DEF_VEC_TEST_FUNCS(bits, size) \ | 79 #define DEF_VEC_TEST_FUNCS(bits, size) \ |
80 VTEST(, , bits, size) VTEST(u, U, bits, size) \ | 80 VTEST(, , bits, size) VTEST(u, U, bits, size) \ |
81 VPRINT(, , d, bits, size) VPRINT(u, U, u, bits, size) | 81 VPRINT(, , d, bits, size) VPRINT(u, U, u, bits, size) |
82 | 82 |
83 DEF_VEC_TEST_FUNCS(8, 16) | 83 DEF_VEC_TEST_FUNCS(8, 16) |
84 DEF_VEC_TEST_FUNCS(16, 8) | |
85 DEF_VEC_TEST_FUNCS(32, 4) | |
86 DEF_VEC_TEST_FUNCS(64, 2) | |
87 | |
88 DEF_VEC_TEST_FUNCS(8, 32) | |
89 DEF_VEC_TEST_FUNCS(16, 16) | |
90 DEF_VEC_TEST_FUNCS(32, 8) | |
91 DEF_VEC_TEST_FUNCS(64, 4) | |
92 | |
93 DEF_VEC_TEST_FUNCS(8, 64) | |
94 DEF_VEC_TEST_FUNCS(16, 32) | |
95 DEF_VEC_TEST_FUNCS(32, 16) | |
96 DEF_VEC_TEST_FUNCS(64, 8) | |
97 | 84 |
98 #undef DEF_VEC_TEST_FUNCS | 85 #undef DEF_VEC_TEST_FUNCS |
99 #undef VPRINT | 86 #undef VPRINT |
100 #undef VTEST | 87 #undef VTEST |
101 | 88 |