diff options
author | Catherine Moore <clm@redhat.com> | 2000-09-11 17:54:33 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 2000-09-11 17:54:33 +0000 |
commit | de827f513ed8c8fb6f22c3c8e3f4d8a36b87b32b (patch) | |
tree | d34615d1c4176e73f54fa401b7765e5459a24937 /opcodes/d30v-opc.c | |
parent | dbf481172fcc6a37508e7c1c45da7eb68c1fdf4e (diff) | |
download | gdb-de827f513ed8c8fb6f22c3c8e3f4d8a36b87b32b.zip gdb-de827f513ed8c8fb6f22c3c8e3f4d8a36b87b32b.tar.gz gdb-de827f513ed8c8fb6f22c3c8e3f4d8a36b87b32b.tar.bz2 |
2000-09-11 Catherine Moore <clm@redhat.com>
* d30v-opc.c (d30v_operand_t): New operand type Rb2.
(d30v_format_tab): Use Rb2 for modinc and moddec.
Diffstat (limited to 'opcodes/d30v-opc.c')
-rw-r--r-- | opcodes/d30v-opc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/opcodes/d30v-opc.c b/opcodes/d30v-opc.c index 8346b8b..7b1bca0 100644 --- a/opcodes/d30v-opc.c +++ b/opcodes/d30v-opc.c @@ -349,7 +349,9 @@ const struct d30v_operand d30v_operand_table[] = { 6, 6, 0, OPERAND_REG }, #define Rb (Ra3 + 1) { 6, 6, 6, OPERAND_REG }, -#define Rc (Rb + 1) +#define Rb2 (Rb + 1) + { 6, 6, 6, OPERAND_REG|OPERAND_DEST }, +#define Rc (Rb2 + 1) { 6, 6, 12, OPERAND_REG }, #define Aa (Rc + 1) { 6, 1, 0, OPERAND_ACC|OPERAND_REG|OPERAND_DEST }, @@ -460,8 +462,8 @@ const struct d30v_format d30v_format_table[] = { SHORT_AA, 2, { Aa, Rb, IMM6 } }, /* Aa,Rb,imm6 */ { SHORT_RA, 0, { Ra, Ab, Rc } }, /* Ra,Ab,Rc */ { SHORT_RA, 2, { Ra, Ab, IMM6U2 } }, /* Ra,Ab,imm6u */ - { SHORT_MODINC, 1, { Ra, IMM5 } }, /* Ra,imm5 (modinc) */ - { SHORT_MODDEC, 3, { Ra, IMM5 } }, /* Ra,imm5 (moddec) */ + { SHORT_MODINC, 1, { Rb2, IMM5 } }, /* Rb2,imm5 (modinc) */ + { SHORT_MODDEC, 3, { Rb2, IMM5 } }, /* Rb2,imm5 (moddec) */ { SHORT_C1, 0, { Ra, Cb, Fake } }, /* Ra,Cb (mvfsys) */ { SHORT_C2, 0, { Ca, Rb, Fake } }, /* Ca,Rb (mvtsys) */ { SHORT_UF, 0, { Fa, Fb } }, /* Fa,Fb (notfg) */ |