mips-protos.h (mips_legitimate_address_p): New function.
authorMark Mitchell <mark@codesourcery.com>
Sun, 16 Apr 2000 21:47:17 +0000 (21:47 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 16 Apr 2000 21:47:17 +0000 (21:47 +0000)
commitc94c981720869f68bb1e2b2c48e615849c338e7e
tree8102cb69f67414484bfae05a563bafc66216daa4
parentd636c18c54181f8bf09f5c75bb9b517bba3efb69
mips-protos.h (mips_legitimate_address_p): New function.

* config/mips/mips-protos.h (mips_legitimate_address_p): New
function.
(mips_reg_mode_ok_for_base_p): Likewise.
* config/mips/mips.h (REG_OK_STRICT_P): Don't define.
(REG_OK_FOR_INDEX_P): Define unconditionally.
(REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
(GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
* config/mips/mips.c (mips16_simple_memory_operand): Adjust now
that GET_MODE_SIZE is unsigned.
(mips_reg_mode_ok_for_base_p): Define.
(mips_legitimate_address_p): Likewise.  Adjust now
that GET_MODE_SIZE is unsigned.
(block_move_loop): Make the number of bytes unsigned.
(expand_block_move): Likewise.
(function_arg): Make the loop counter unsigned to match the
boundary condition.

From-SVN: r33188
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h