cse.c (constant_pool_entries_regcost): New global variable to hold the register cost...
authorRoger Sayle <roger@eyesopen.com>
Sat, 11 Oct 2003 03:49:54 +0000 (03:49 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 11 Oct 2003 03:49:54 +0000 (03:49 +0000)
commitdd0ba2813d6150d6b4c8ddbf9f259c6efbba110f
tree21edeff789f11f21f721ad4c372bd423b1038dca
parent796d7a8605529b8a88f0f3eebf6a3fc4316a1d4a
cse.c (constant_pool_entries_regcost): New global variable to hold the register cost component of...

* cse.c (constant_pool_entries_regcost): New global variable to
hold the register cost component of constant_pool_entries_cost.
(fold_rtx): Calculate constant_pool_entries_regcost at the same
time as constant_pool_entries_cost.
(cse_insn): Set both src_folded_cost and src_folded_regcost from
constant_pool_entries_cost and constant_pool_entries_regcost.
(cse_main): Initialize constant_pool_entries_regcost to zero.

* optabs.c (expand_unop): Attach a REG_EQUAL note describing
the semantics of the sequence of bit operations used to negate
a floating-point value.
(expand_abs_nojump): Likewise attach a REG_EQUAL note describing
the semantics of the bit operations used to abs a floating point
value.

From-SVN: r72326
gcc/ChangeLog
gcc/cse.c
gcc/optabs.c