Commit 4e2c1c44 by David Edelsohn Committed by David Edelsohn

rs6000.c (num_insns_constant): Compute number of instructions more accurately.

        * rs6000.c (num_insns_constant): Compute number of instructions
        more accurately.

From-SVN: r45484
parent 43fe47ca
2001-09-07 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (num_insns_constant): Compute number of instructions
more accurately.
2001-09-07 Jim Wilson <wilson@redhat.com> 2001-09-07 Jim Wilson <wilson@redhat.com>
* alias.c (clear_reg_alias_info): New. * alias.c (clear_reg_alias_info): New.
......
...@@ -880,7 +880,8 @@ num_insns_constant (op, mode) ...@@ -880,7 +880,8 @@ num_insns_constant (op, mode)
if (GET_CODE (op) == CONST_INT) if (GET_CODE (op) == CONST_INT)
{ {
#if HOST_BITS_PER_WIDE_INT == 64 #if HOST_BITS_PER_WIDE_INT == 64
if (mask64_operand (op, mode)) if ((INTVAL (op) >> 31) != 0 && (INTVAL (op) >> 31) != -1
&& mask64_operand (op, mode))
return 2; return 2;
else else
#endif #endif
......
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