mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 03:39:29 +08:00
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
This commit is contained in:
parent
43fe47ca78
commit
4e2c1c4484
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* alias.c (clear_reg_alias_info): New.
|
||||
|
@ -880,7 +880,8 @@ num_insns_constant (op, mode)
|
||||
if (GET_CODE (op) == CONST_INT)
|
||||
{
|
||||
#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;
|
||||
else
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user