i386-protos.c (ix86_lea_outperforms): Remove prototype.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 23 Jul 2012 19:03:48 +0000 (21:03 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 23 Jul 2012 19:03:48 +0000 (21:03 +0200)
commit8046c604274b3c68eadf882f30b5642ad3b86a3c
tree5709a9db92f15c40adba12ff9c036fdb14f54bdd
parent7839a79c96c4568ad8cb933b83a9176e4a7315fa
i386-protos.c (ix86_lea_outperforms): Remove prototype.

* config/i386/i386-protos.c (ix86_lea_outperforms): Remove prototype.
* config/i386/i386.c (ix86_lea_outperforms): Make static.  Make
split_cost argument signed.
(ix86_avoid_lea_for_add): Cleanup.
(ix86_use_lea_for_mov): Use INVALID_REGNUM instead of -1.
(ix86_avoid_lea_for_addr): Ditto.  Make split_cost signed.
Use gen_lowpart instead of gen_rtx_SUBREG.  Cleanup.

From-SVN: r189792
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c