aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips-protos.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-04-16 21:47:17 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-04-16 21:47:17 +0000
commitc94c981720869f68bb1e2b2c48e615849c338e7e (patch)
tree8102cb69f67414484bfae05a563bafc66216daa4 /gcc/config/mips/mips-protos.h
parentd636c18c54181f8bf09f5c75bb9b517bba3efb69 (diff)
downloadgcc-c94c981720869f68bb1e2b2c48e615849c338e7e.zip
gcc-c94c981720869f68bb1e2b2c48e615849c338e7e.tar.gz
gcc-c94c981720869f68bb1e2b2c48e615849c338e7e.tar.bz2
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
Diffstat (limited to 'gcc/config/mips/mips-protos.h')
-rw-r--r--gcc/config/mips/mips-protos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h
index 598be36..6f9f59b 100644
--- a/gcc/config/mips/mips-protos.h
+++ b/gcc/config/mips/mips-protos.h
@@ -130,6 +130,8 @@ extern int se_uns_arith_operand PARAMS ((rtx, enum machine_mode));
extern int se_arith_operand PARAMS ((rtx, enum machine_mode));
extern int se_nonmemory_operand PARAMS ((rtx, enum machine_mode));
extern int se_nonimmediate_operand PARAMS ((rtx, enum machine_mode));
+extern int mips_legitimate_address_p PARAMS ((enum machine_mode, rtx, int));
+extern int mips_reg_mode_ok_for_base_p PARAMS ((rtx, enum machine_mode, int));
extern int extend_operator PARAMS ((rtx, enum machine_mode));
extern int highpart_shift_operator PARAMS ((rtx, enum machine_mode));
extern int m16_uimm3_b PARAMS ((rtx, enum machine_mode));