summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-09-20 15:44:23 +0000
committerNick Clifton <nickc@redhat.com>2002-09-20 15:44:23 +0000
commitdfb678dc7789bf2a0a58c43c3554e0867d488b46 (patch)
tree43658648e09020546eead77694a183d74341c477
parent42130c05da1d72c73ee67ec44246e0f732e21a1a (diff)
downloadgdb-dfb678dc7789bf2a0a58c43c3554e0867d488b46.tar.gz
Allow CRFS and CRFD operands to accept CR register namescarlton_dictionary-20020920-branchpoint
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/ppc-opc.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 451ce33b78d..01cec2197be 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-20 Nick Clifton <nickc@redhat.com>
+
+ * ppc-opc.c (CRFD, CRFS): Add PPC_OPERAND_CR flag so that cr
+ register names are accepted.
+
2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
* tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED.
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 623164c6791..f6c9ce4df30 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -257,11 +257,11 @@ const struct powerpc_operand powerpc_operands[] =
/* The CRFD field in an X form instruction. */
#define CRFD CRB + 1
- { 3, 23, 0, 0, 0 },
+ { 3, 23, 0, 0, PPC_OPERAND_CR },
/* The CRFS field in an X form instruction. */
#define CRFS CRFD + 1
- { 3, 0, 0, 0, 0 },
+ { 3, 0, 0, 0, PPC_OPERAND_CR },
/* The CT field in an X form instruction. */
#define CT CRFS + 1