aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-01 15:55:44 +0000
committerNick Clifton <nickc@redhat.com>2007-10-01 15:55:44 +0000
commit7fac7ff4ae7bb9a3cf6be14d963944805c46a755 (patch)
treeee2686c90603a09908abaf74c2f458c5eeb845f8 /opcodes
parentfef8a650d0248ba4cb1ba7bd36ce099cd8169510 (diff)
downloadgdb-7fac7ff4ae7bb9a3cf6be14d963944805c46a755.zip
gdb-7fac7ff4ae7bb9a3cf6be14d963944805c46a755.tar.gz
gdb-7fac7ff4ae7bb9a3cf6be14d963944805c46a755.tar.bz2
Various CR16 fixes
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/cr16-opc.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index a12b90f..4bf8849 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * cr16-opc.c: Updated the branch on condition instructions with
+ RELAXABLE flag.
+
2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
* 386-dis.c (prefix_table): Reformat comment.
diff --git a/opcodes/cr16-opc.c b/opcodes/cr16-opc.c
index 081c63d..55c0381 100644
--- a/opcodes/cr16-opc.c
+++ b/opcodes/cr16-opc.c
@@ -160,11 +160,11 @@ const inst cr16_instruction[] =
/* Create a conditional branch instruction. */
#define BRANCH_INST(NAME, OPC) \
/* opc4 c4 dispe9 */ \
- {NAME, 1, OPC, 28, BRANCH_INS, {{cc,20}, {dispe9,16}}}, \
+ {NAME, 1, OPC, 28, BRANCH_INS | RELAXABLE, {{cc,20}, {dispe9,16}}},\
/* opc4 c4 disps17 */ \
- {NAME, 2, ((OPC<<4)+0x8), 24, BRANCH_INS, {{cc,20}, {disps17,0}}}, \
+ {NAME, 2, ((OPC<<4)+0x8), 24, BRANCH_INS | RELAXABLE, {{cc,20}, {disps17,0}}},\
/* opc4 c4 disps25 */ \
- {NAME, 3, (OPC<<4), 16 , BRANCH_INS, {{cc,4}, {disps25,16}}}
+ {NAME, 3, (OPC<<4), 16 , BRANCH_INS | RELAXABLE, {{cc,4}, {disps25,16}}}
BRANCH_INST ("b", 0x1),