Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: crosstest/test_icmp.def

Issue 265703002: Add Om1 lowering with no optimizations (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Merge changed from Karl's committed CL Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/test_icmp.cpp ('k') | crosstest/test_icmp_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « crosstest/test_icmp.cpp ('k') | crosstest/test_icmp_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698