| Index: crosstest/test_arith.cpp
|
| diff --git a/crosstest/test_arith.cpp b/crosstest/test_arith.cpp
|
| index 6ef2cc6878a6ec6ef1a19dd9c90486144120e2b6..f2658d85f45da033b5cdb750bed323eecf1bec17 100644
|
| --- a/crosstest/test_arith.cpp
|
| +++ b/crosstest/test_arith.cpp
|
| @@ -19,6 +19,10 @@
|
| #include "test_arith.h"
|
| #include "xdefs.h"
|
|
|
| +#if 0
|
| +// The following is commented out, and instead, a python script auto-generates a
|
| +// .ll file with the equivalent functionality.
|
| +
|
| #define X(inst, op, isdiv, isshift) \
|
| bool test##inst(bool a, bool b) { return a op b; } \
|
| uint8_t test##inst(uint8_t a, uint8_t b) { return a op b; } \
|
| @@ -50,6 +54,8 @@ SINTOP_TABLE
|
| FPOP_TABLE
|
| #undef X
|
|
|
| +#endif // 0
|
| +
|
| #define X(mult_by) \
|
| bool testMultiplyBy##mult_by(bool a, bool /*unused*/) { \
|
| return a * (mult_by); \
|
|
|