Mercurial > vec
comparison test/test_align.h @ 15:e05c257c6a23
*: huge refactor, add many new x86 intrinsics and the like
ALSO!! now intrinsics are enabled at runtime, depending on what is
detected. altivec *should* still work but I only tested compiling
it.
the major version has been updated to 2.0 for this...
author | Paper <paper@tflc.us> |
---|---|
date | Wed, 20 Nov 2024 04:10:37 -0500 |
parents | 53197dbf4e8e |
children | 41dd962abdd1 |
comparison
equal
deleted
inserted
replaced
14:981cf0bc7f3a | 15:e05c257c6a23 |
---|---|
29 | 29 |
30 #define RUN_TESTS(bits, size) \ | 30 #define RUN_TESTS(bits, size) \ |
31 RUN_TEST( , , bits, size) \ | 31 RUN_TEST( , , bits, size) \ |
32 RUN_TEST(u, U, bits, size) | 32 RUN_TEST(u, U, bits, size) |
33 | 33 |
34 RUN_TESTS(8, 8) | |
35 RUN_TESTS(16, 4) | |
36 RUN_TESTS(32, 2) | |
37 | |
34 RUN_TESTS(8, 16) | 38 RUN_TESTS(8, 16) |
39 RUN_TESTS(16, 8) | |
40 RUN_TESTS(32, 4) | |
41 RUN_TESTS(64, 2) | |
42 | |
43 RUN_TESTS(8, 32) | |
44 RUN_TESTS(16, 16) | |
45 RUN_TESTS(32, 8) | |
46 RUN_TESTS(64, 4) | |
47 | |
48 RUN_TESTS(8, 64) | |
49 RUN_TESTS(16, 32) | |
50 RUN_TESTS(32, 16) | |
51 RUN_TESTS(64, 8) | |
35 | 52 |
36 #undef RUN_TESTS | 53 #undef RUN_TESTS |
37 #undef RUN_TEST | 54 #undef RUN_TEST |
38 | 55 |
39 return ret; | 56 return ret; |