mips.c (mips_regno_mode_ok_for_base_p): Use HARD_REGISTER_NUM_P.

2007-01-01  Eric Christopher  <echristo@apple.com>

        * config/mips/mips.c (mips_regno_mode_ok_for_base_p): Use
        HARD_REGISTER_NUM_P.

From-SVN: r120334
This commit is contained in:
Eric Christopher 2007-01-02 06:34:09 +00:00 committed by Eric Christopher
parent cf06e5c146
commit d8934cf1e3
2 changed files with 18 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2007-01-01 Eric Christopher <echristo@apple.com>
* config/mips/mips.c (mips_regno_mode_ok_for_base_p): Use
HARD_REGISTER_NUM_P.
2007-01-01 Roger Sayle <roger@eyesopen.com>
* fold-const.c (fold_binary) <EQ_EXPR>: Fold "(X^C1) eq/ne C2" into
@ -64,4 +69,3 @@
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
before starting IPA passes.

View File

@ -1447,7 +1447,7 @@ mips_symbolic_constant_p (rtx x, enum mips_symbol_type *symbol_type)
int
mips_regno_mode_ok_for_base_p (int regno, enum machine_mode mode, int strict)
{
if (regno >= FIRST_PSEUDO_REGISTER)
if (!HARD_REGISTER_NUM_P (regno))
{
if (!strict)
return true;