Home
last modified time | relevance | path

Searched refs:mult_by (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/subzero/crosstest/
Dtest_arith.cpp59 #define X(mult_by) \ argument
60 bool testMultiplyBy##mult_by(bool a, bool /*unused*/) { \
61 return a * (mult_by); \
63 bool testMultiplyByNeg##mult_by(bool a, bool /*unused*/) { \
64 return a * (-(mult_by)); \
66 uint8_t testMultiplyBy##mult_by(uint8_t a, uint8_t /*unused*/) { \
67 return a * (mult_by); \
69 uint8_t testMultiplyByNeg##mult_by(uint8_t a, uint8_t /*unused*/) { \
70 return a * (-(mult_by)); \
72 uint16_t testMultiplyBy##mult_by(uint16_t a, uint16_t /*unused*/) { \
[all …]
Dtest_arith.h64 #define X(mult_by) \ argument
65 bool testMultiplyBy##mult_by(bool a, bool); \
66 bool testMultiplyByNeg##mult_by(bool a, bool); \
67 uint8_t testMultiplyBy##mult_by(uint8_t a, uint8_t); \
68 uint8_t testMultiplyByNeg##mult_by(uint8_t a, uint8_t); \
69 uint16_t testMultiplyBy##mult_by(uint16_t a, uint16_t); \
70 uint16_t testMultiplyByNeg##mult_by(uint16_t a, uint16_t); \
71 uint32_t testMultiplyBy##mult_by(uint32_t a, uint32_t); \
72 uint32_t testMultiplyByNeg##mult_by(uint32_t a, uint32_t); \
73 uint64_t testMultiplyBy##mult_by(uint64_t a, uint64_t); \
[all …]
Dtest_arith_main.cpp78 #define X(mult_by) \ in testsInt() argument
80 "Mult-By-" STR(mult_by), testMultiplyBy##mult_by, \ in testsInt()
81 Subzero_::testMultiplyBy##mult_by, NULL, NULL, false \ in testsInt()
83 , {"Mult-By-Neg-" STR(mult_by), testMultiplyByNeg##mult_by, \ in testsInt()
84 Subzero_::testMultiplyByNeg##mult_by, NULL, NULL, false}, in testsInt()
Dtest_arith.def85 /* mult_by */ \
103 //#define X(mult_by)