From e1286a382568cb6b818a91b97752e22de9ec0087 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Thu, 7 Oct 1999 06:17:04 +0000 Subject: [PATCH] Added seven new instructions ld, ld2w, sac, sachi, slae, st and st2w for d10v. Created new testsuite for d10v to verify new instructions. --- include/opcode/ChangeLog | 4 ++++ include/opcode/d10v.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 30994e17b..94748e1d9 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 7 00:12:25 MDT 1999 Diego Novillo + + * d10v.h: Add flag RESTRICTED_NUM3 for imm3 operands. + Thu Sep 23 07:08:38 1999 Jerry Quinn * hppa.h (pa_opcodes): Add "call" and "ret". Clean up "b", "bve" diff --git a/include/opcode/d10v.h b/include/opcode/d10v.h index 4b74c9862..7c6d32ddf 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 {