summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-10-29 09:47:52 +0000
committerNick Clifton <nickc@redhat.com>1999-10-29 09:47:52 +0000
commit93865b11bfe1cfe70bfaf4b1aa8b9124c66fc90e (patch)
tree628c82c5804e90d8474d24ec93c063b5d2a0a4e4 /opcodes
parentadcf429aa023a403a60dabb494b92770149b853d (diff)
downloadgdb-93865b11bfe1cfe70bfaf4b1aa8b9124c66fc90e.tar.gz
Define SHORT_AR and use for MVTACC (fix for CR: 101340)
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/d30v-opc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/d30v-opc.c b/opcodes/d30v-opc.c
index 2265e7cf81f..6a8fcc0d054 100644
--- a/opcodes/d30v-opc.c
+++ b/opcodes/d30v-opc.c
@@ -283,7 +283,7 @@ const struct d30v_opcode d30v_opcode_table[] = {
{ "mulxs", IALU2, 0x19, { SHORT_AA }, IU, FLAG_MUL32, 0, 0 },
{ "mvfacc", IALU2, 0x1f, { SHORT_RA }, IU, 0, 0, 0 },
{ "mvfsys", BRA, 0x1e, { SHORT_C1 }, MU, FLAG_ALL, FLAG_ALL, 0 },
- { "mvtacc", IALU2, 0xf, { SHORT_AA }, IU, 0, 0, 0 },
+ { "mvtacc", IALU2, 0xf, { SHORT_AR }, IU, 0, 0, 0 },
{ "mvtsys", BRA, 0xe, { SHORT_C2 }, MU, FLAG_ALL, FLAG_ALL, 0 },
{ "nop", BRA, 0xF, { SHORT_NONE }, EITHER, 0, 0, 0 },
{ "not", LOGIC, 0x19, { SHORT_U }, EITHER, 0, 0, 0 },
@@ -471,6 +471,7 @@ const struct d30v_format d30v_format_table[] =
{ LONG_2b, 3, { Ra3, IMM32 } }, /* Ra,imm32 */
{ LONG_D, 2, { IMM6S3, IMM32 } }, /* imm6s3,imm32 */
{ LONG_Db, 2, { IMM6U, IMM32 } }, /* imm6,imm32 */
+ { SHORT_AR, 0, { Aa, Rb, Rc } }, /* Aa,Rb,Rc */
{ 0, 0, { 0 } },
};