aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/d10v.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/d10v.h')
-rw-r--r--include/opcode/d10v.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/opcode/d10v.h b/include/opcode/d10v.h
index 4b74c98..7c6d32d 100644
--- a/include/opcode/d10v.h
+++ b/include/opcode/d10v.h
@@ -176,6 +176,10 @@ extern const struct d10v_operand d10v_operands[];
/* general purpose register */
#define OPERAND_GPR (0x40000)
+/* special imm3 values with range restricted to -2 <= imm3 <= 3 */
+/* needed for rac/rachi */
+#define RESTRICTED_NUM3 (0x80000)
+
/* Structure to hold information about predefined registers. */
struct pd_reg
{