From 2a309db0409b58471fb0490e6bfdf18180409e38 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 9 Sep 2004 12:42:37 +0000 Subject: [PATCH] opcodes/ * ppc-opc.c (L): Make this field not optional. include/opcode/ * ppc.h (PPC_OPERAND_OPTIONAL): Fix comment. --- include/opcode/ChangeLog | 4 ++++ include/opcode/ppc.h | 2 +- opcodes/ChangeLog | 4 ++++ opcodes/ppc-opc.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 6adb8fed99a..67199bc32c3 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2004-09-09 Segher Boessenkool + + * ppc.h (PPC_OPERAND_OPTIONAL): Fix comment. + 2004-08-24 Dmitry Diky * msp430.h (msp430_opc): Add new instructions. diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index d55caa7568f..a21cc301e82 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -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 diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 26516027ebd..c07eaba7f70 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2004-09-09 Segher Boessenkool + + * ppc-opc.c (L): Make this field not optional. + 2004-09-03 Tomer Levi * opc-crx.c: Rename 'popma' to 'popa', remove 'pushma'. diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 9936f3ead44..af70ae6ac2a 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -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 -- 2.30.2