Index: crosstest/test_icmp.def |
diff --git a/crosstest/test_icmp.def b/crosstest/test_icmp.def |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c7cfc962c0f6a0ef7dc0ee1af959824af45608fe |
--- /dev/null |
+++ b/crosstest/test_icmp.def |
@@ -0,0 +1,25 @@ |
+#ifndef TEST_ICMP_DEF |
+#define TEST_ICMP_DEF |
+ |
+#define XSTR(s) STR(s) |
+#define STR(s) #s |
+ |
+#define ICMP_U_TABLE \ |
+ /* cmp, operator */ \ |
+ X(Eq, ==) \ |
+ X(Ne, !=) \ |
+ X(Ugt, >) \ |
+ X(Uge, >=) \ |
+ X(Ult, <) \ |
+ X(Ule, <=) \ |
+//#define X(cmp, op) |
+ |
+#define ICMP_S_TABLE \ |
+ /* cmp, operator */ \ |
+ X(Sgt, >) \ |
+ X(Sge, >=) \ |
+ X(Slt, <) \ |
+ X(Sle, <=) \ |
+//#define X(cmp, op) |
+ |
+#endif // TEST_ICMP_DEF |