Commit b1917422 by Alan Modra Committed by Alan Modra

rs6000.c: Formatting fix.

	* config/rs6000/rs6000.c: Formatting fix.
	(legitimate_offset_address_p): Correct offset range check.

From-SVN: r79098
parent 957211c3
2004-03-08 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c: Formatting fix.
(legitimate_offset_address_p): Correct offset range check.
* config/rs6000/rs6000.c (rs6000_override_options): Don't override
-msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE
and MASK_STRING.
......
......@@ -410,7 +410,7 @@ static rtx rs6000_spe_function_arg (CUMULATIVE_ARGS *,
enum machine_mode, tree);
static rtx rs6000_mixed_function_arg (CUMULATIVE_ARGS *,
enum machine_mode, tree, int);
static void rs6000_move_block_from_reg(int regno, rtx x, int nregs);
static void rs6000_move_block_from_reg (int regno, rtx x, int nregs);
static void setup_incoming_varargs (CUMULATIVE_ARGS *,
enum machine_mode, tree,
int *, int);
......@@ -2568,7 +2568,8 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
break;
}
return (offset + extra >= offset) && (offset + extra + 0x8000 < 0x10000);
offset += 0x8000;
return (offset < 0x10000) && (offset + extra < 0x10000);
}
static bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment