diff options
author | Nick Clifton <nickc@redhat.com> | 2002-09-20 15:44:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-09-20 15:44:23 +0000 |
commit | 0ec499f72c0ba7484065fae2e27d45c8c113d11b (patch) | |
tree | ef9be3a5d3e0e9553338242b4d601c83e781a9b6 /opcodes | |
parent | 878854263f6ac589407dc73ea1361d2075b00677 (diff) | |
download | gdb-0ec499f72c0ba7484065fae2e27d45c8c113d11b.zip gdb-0ec499f72c0ba7484065fae2e27d45c8c113d11b.tar.gz gdb-0ec499f72c0ba7484065fae2e27d45c8c113d11b.tar.bz2 |
Allow CRFS and CRFD operands to accept CR register names
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/ppc-opc.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 451ce33..01cec21 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 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 |