From: Nick Clifton Date: Fri, 20 Sep 2002 15:44:23 +0000 (+0000) Subject: Allow CRFS and CRFD operands to accept CR register names X-Git-Tag: drow-cplus-branchpoint~200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ec499f72c0ba7484065fae2e27d45c8c113d11b;p=platform%2Fupstream%2Fbinutils.git Allow CRFS and CRFD operands to accept CR register names --- 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 + + * ppc-opc.c (CRFD, CRFS): Add PPC_OPERAND_CR flag so that cr + register names are accepted. + 2002-09-17 Svein E. Seldal * 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