opcodes/
authorAlan Modra <amodra@gmail.com>
Thu, 9 Sep 2004 12:42:37 +0000 (12:42 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Sep 2004 12:42:37 +0000 (12:42 +0000)
* ppc-opc.c (L): Make this field not optional.
include/opcode/
* ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.

include/opcode/ChangeLog
include/opcode/ppc.h
opcodes/ChangeLog
opcodes/ppc-opc.c

index 6adb8fe..67199bc 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.
+
 2004-08-24  Dmitry Diky  <diwil@spec.ru>
 
        * msp430.h (msp430_opc): Add new instructions.
index d55caa7..a21cc30 100644 (file)
@@ -249,7 +249,7 @@ extern const struct powerpc_operand powerpc_operands[];
 #define PPC_OPERAND_ABSOLUTE (01000)
 
 /* This operand is optional, and is zero if omitted.  This is used for
-   the optional BF and L fields in the comparison instructions.  The
+   example, in the optional BF field in the comparison instructions.  The
    assembler must count the number of operands remaining on the line,
    and the number of operands remaining for the opcode, and decide
    whether this operand is present or not.  The disassembler should
index 2651602..c07eaba 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * ppc-opc.c (L): Make this field not optional.
+
 2004-09-03  Tomer Levi  <Tomer.Levi@nsc.com>
 
        * opc-crx.c: Rename 'popma' to 'popa', remove 'pushma'.
index 9936f3e..af70ae6 100644 (file)
@@ -300,7 +300,7 @@ const struct powerpc_operand powerpc_operands[] =
 
   /* The L field in a D or X form instruction.  */
 #define L FXM4 + 1
-  { 1, 21, 0, 0, PPC_OPERAND_OPTIONAL },
+  { 1, 21, 0, 0, 0 },
 
   /* The LEV field in a POWER SC form instruction.  */
 #define LEV L + 1