Index: crosstest/test_arith.def |
diff --git a/crosstest/test_arith.def b/crosstest/test_arith.def |
index 9ebb4fd184c7bed9fb74c61ec0924c08e2915aa9..2033805914bd7b6f0cd56b36139784dfa1695f2c 100644 |
--- a/crosstest/test_arith.def |
+++ b/crosstest/test_arith.def |
@@ -17,29 +17,29 @@ |
#define XSTR(s) STR(s) |
#define STR(s) #s |
-#define UINTOP_TABLE \ |
- /* inst, operator, div */ \ |
- X(Add, +, 0 ) \ |
- X(Sub, -, 0 ) \ |
- X(Mul, *, 0 ) \ |
- X(Udiv, /, 1 ) \ |
- X(Urem, %, 1 ) \ |
- X(Shl, <<, 0) \ |
- X(Lshr, >>, 0) \ |
- X(And, &, 0 ) \ |
- X(Or, |, 0 ) \ |
- X(Xor, ^, 0 ) \ |
-//#define X(inst, op, isdiv) |
+#define UINTOP_TABLE \ |
+ /* inst, operator, div, shift */ \ |
+ X(Add, +, 0, 0) \ |
+ X(Sub, -, 0, 0) \ |
+ X(Mul, *, 0, 0) \ |
+ X(Udiv, /, 1, 0) \ |
+ X(Urem, %, 1, 0) \ |
+ X(Shl, <<, 0, 1) \ |
+ X(Lshr, >>, 0, 1) \ |
+ X(And, &, 0, 0) \ |
+ X(Or, |, 0, 0) \ |
+ X(Xor, ^, 0, 0) \ |
+//#define X(inst, op, isdiv, isshift) |
-#define SINTOP_TABLE \ |
- /* inst, operator, div */ \ |
- X(Sdiv, /, 1) \ |
- X(Srem, %, 1) \ |
- X(Ashr, >>, 0) \ |
-//#define X(inst, op, isdiv) |
+#define SINTOP_TABLE \ |
+ /* inst, operator, div, shift */ \ |
+ X(Sdiv, /, 1, 0) \ |
+ X(Srem, %, 1, 0) \ |
+ X(Ashr, >>, 0, 1) \ |
+//#define X(inst, op, isdiv, isshift) |
#define COMMA , |
-#define FPOP_TABLE \ |
+#define FPOP_TABLE \ |
/* inst, infix_op, func */ \ |
X(Fadd, +, ) \ |
X(Fsub, -, ) \ |