comparison test/test_compare.h @ 4:75ab77f874e2

*: aligned generics, fixed altivec, aligned tests...
author Paper <paper@tflc.us>
date Wed, 23 Oct 2024 10:13:25 -0400
parents f12b5dd4e18c
children 945d410803f8 6ff0b7a44bb6
comparison
equal deleted inserted replaced
3:3c5545b1568f 4:75ab77f874e2
56 ret |= test_compare_v##sign##int##bits##x##size##_cmple(a, b); \ 56 ret |= test_compare_v##sign##int##bits##x##size##_cmple(a, b); \
57 ret |= test_compare_v##sign##int##bits##x##size##_cmpge(a, b); \ 57 ret |= test_compare_v##sign##int##bits##x##size##_cmpge(a, b); \
58 } \ 58 } \
59 } 59 }
60 60
61 #define RUN_TESTS_2(bits, size) RUN_TESTS(, bits, size) RUN_TESTS(u, bits, size) 61 #define RUN_TESTS_2(bits, size) \
62 RUN_TESTS( , bits, size) \
63 RUN_TESTS(u, bits, size)
62 64
63 RUN_TESTS_2(8, 16) 65 RUN_TESTS_2(8, 16)
64 RUN_TESTS_2(16, 8) 66 RUN_TESTS_2(16, 8)
65 RUN_TESTS_2(32, 4) 67 RUN_TESTS_2(32, 4)
66 RUN_TESTS_2(64, 2) 68 RUN_TESTS_2(64, 2)