aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
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
commit0ec499f72c0ba7484065fae2e27d45c8c113d11b (patch)
treeef9be3a5d3e0e9553338242b4d601c83e781a9b6 /opcodes/ppc-opc.c
parent878854263f6ac589407dc73ea1361d2075b00677 (diff)
downloadfsf-binutils-gdb-0ec499f72c0ba7484065fae2e27d45c8c113d11b.zip
fsf-binutils-gdb-0ec499f72c0ba7484065fae2e27d45c8c113d11b.tar.gz
fsf-binutils-gdb-0ec499f72c0ba7484065fae2e27d45c8c113d11b.tar.bz2
Allow CRFS and CRFD operands to accept CR register names
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 623164c..f6c9ce4 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