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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ec499f72c0ba7484065fae2e27d45c8c113d11b;p=binutils-gdb.git Allow CRFS and CRFD operands to accept CR register names --- 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 + + * 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 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