]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Allow CRFS and CRFD operands to accept CR register names
authorNick Clifton <nickc@redhat.com>
Fri, 20 Sep 2002 15:44:23 +0000 (15:44 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Sep 2002 15:44:23 +0000 (15:44 +0000)
opcodes/ChangeLog
opcodes/ppc-opc.c

index 451ce33b78dd0efd7e4152d9f6455584d0204bbb..01cec2197be4f2656b148e3f5c398cc3cfd399c7 100644 (file)
@@ -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.
index 623164c67910baabf8f2121d5122184562cd0f9e..f6c9ce4df30e19c4b3d72159a299fdd69ad0907a 100644 (file)
@@ -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