summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 4e150db..2fe2614 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -108,12 +108,14 @@ static inline int rtype(Ref r)
 enum {
 	Ceq,
 	Csle,
+	Cslt,
 	Csgt, /* mirror opposite cmps! */
+	Csge,
 	Cne,
 	NCmp,
 };
 
-#define CNEG(c) (NCmp-1 - c)
+#define COP(c) (c==Ceq||c==Cne ? c : NCmp-1 - c)
 
 enum {
 	OXXX,