gas/
authorAlan Modra <amodra@gmail.com>
Wed, 2 May 2007 11:24:17 +0000 (11:24 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 2 May 2007 11:24:17 +0000 (11:24 +0000)
PR 4448
* config/tc-ppc.c (ppc_insert_operand): Don't increase min for
PPC_OPERAND_PLUS1.
include/opcode/
* ppc.h (PPC_OPERAND_PLUS1): Update comment.

gas/ChangeLog
gas/config/tc-ppc.c
include/opcode/ChangeLog
include/opcode/ppc.h

index e5d9b84c46519c03c1ddddee41be8025eb01704f..f0a4faafc2e5514aa9c5380aad61b75dfc115a6b 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4448
+       * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
+       PPC_OPERAND_PLUS1.
+
 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (match_template): Check suffix for crc32 in
index 4fe9f5aec80a17136f4777dff0aa7024ecd3bae6..96f165c2b43a5c585614d10e61a75cbe54ad4550 100644 (file)
@@ -1544,10 +1544,7 @@ ppc_insert_operand (insn, operand, val, file, line)
     }
 
   if ((operand->flags & PPC_OPERAND_PLUS1) != 0)
-    {
-      max++;
-      min++;
-    }
+    max++;
 
   if ((operand->flags & PPC_OPERAND_NEGATIVE) != 0)
     test = - val;
index 0c304a72fff738709fbca40f409cdce970b869bc..c8ef8e9eb0f175b894ee6ddb69112be94df4ba41 100644 (file)
@@ -1,3 +1,7 @@
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (PPC_OPERAND_PLUS1): Update comment.
+
 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
 
        * m68k.h (mcfisa_c): New.
index 4df543043feaa5de713ddee807069b2326596522..6771856fd5f89d9d0df69c2acbb1ca276ee068be 100644 (file)
@@ -294,7 +294,7 @@ extern const unsigned int num_powerpc_operands;
 /* This operand is for the DQ field in a DQ form instruction.  */
 #define PPC_OPERAND_DQ (0x8000)
 
-/* Valid range of operand is 1..n rather than 0..n-1.  */
+/* Valid range of operand is 0..n rather than 0..n-1.  */
 #define PPC_OPERAND_PLUS1 (0x10000)
 \f
 /* The POWER and PowerPC assemblers use a few macros.  We keep them
This page took 0.032049 seconds and 4 git commands to generate.