From 3cce68f2a2710fa86c2f0b263ba212a4a3cd4b2e Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Thu, 20 Apr 2023 16:43:45 +0200 Subject: Add op_cmp type --- common/gluten.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'common') 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; }; -- cgit v1.2.3