aboutgitcodelistschat:MatrixIRC
path: root/common/gluten.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/gluten.h')
-rw-r--r--common/gluten.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/gluten.h b/common/gluten.h
index 8370cf5..eb965d9 100644
--- a/common/gluten.h
+++ b/common/gluten.h
@@ -108,10 +108,20 @@ struct op_copy_args {
struct copy_arg args[6];
};
+enum op_cmp_type {
+ CMP_EQ,
+ CMP_NE,
+ CMP_GT,
+ CMP_GE,
+ CMP_LT,
+ CMP_LE,
+};
+
struct op_cmp {
uint16_t s1_off;
uint16_t s2_off;
size_t size;
+ enum op_cmp_type cmp;
unsigned int jmp;
};