Commit d8934cf1 by Eric Christopher Committed by Eric Christopher

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
parent cf06e5c1
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> 2007-01-01 Roger Sayle <roger@eyesopen.com>
* fold-const.c (fold_binary) <EQ_EXPR>: Fold "(X^C1) eq/ne C2" into * fold-const.c (fold_binary) <EQ_EXPR>: Fold "(X^C1) eq/ne C2" into
...@@ -64,4 +69,3 @@ ...@@ -64,4 +69,3 @@
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions * cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
before starting IPA passes. before starting IPA passes.
...@@ -1447,7 +1447,7 @@ mips_symbolic_constant_p (rtx x, enum mips_symbol_type *symbol_type) ...@@ -1447,7 +1447,7 @@ mips_symbolic_constant_p (rtx x, enum mips_symbol_type *symbol_type)
int int
mips_regno_mode_ok_for_base_p (int regno, enum machine_mode mode, int strict) 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) if (!strict)
return true; return true;
......
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