rs6000.c (rs6000_rtx_costs): Calculate cost of constants more accurately.
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 3 Aug 2004 15:31:38 +0000 (15:31 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 3 Aug 2004 15:31:38 +0000 (11:31 -0400)
commit066cd96767670cf235869528e8c8fc963b35cc1d
tree3b0bf6b11fb046e48534253a14dcb690c105425b
parent315cd6b5a6352f32134e60b28e3bb98cd32c80c7
rs6000.c (rs6000_rtx_costs): Calculate cost of constants more accurately.

        * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
        constants more accurately.  Adjust costs for FMA instructions.
        Add cases for most logical and float operations.  Recurse into
        most operands.

Co-Authored-By: Dale Johannesen <dalej@apple.com>
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r85488
gcc/ChangeLog
gcc/config/rs6000/rs6000.c