ia64.c (ia64_register_move_cost): Add mode arguemnt.
authorRichard Henderson <rth@redhat.com>
Thu, 23 Aug 2001 07:44:03 +0000 (00:44 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 23 Aug 2001 07:44:03 +0000 (00:44 -0700)
commit7109d286421592dd087ae3b397107bf711ac80af
tree6981dc5ba662bc3f1f10476c5b67d2974ab14191
parent26a952a8a414476401099873c2134b673a8e549e
ia64.c (ia64_register_move_cost): Add mode arguemnt.

        * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
        Reorganize.  Handle ADDL like GR, add GR_AND_BR.  Handle TFmode.
        (ia64_secondary_reload_class): Need GR between AR/BR and anything.
        Need GR between FR and not GR_AND_FR.
        * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
        * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
        AR regs before GR regs.
        (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
        (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
        (REGISTER_MOVE_COST): Update.
        (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.

From-SVN: r45125
gcc/ChangeLog
gcc/config/ia64/ia64-protos.h
gcc/config/ia64/ia64.c
gcc/config/ia64/ia64.h