diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-01-10 19:16:00 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-01-10 19:16:00 -0500 |
commit | 5119dc13023d3b459bed446362473ff89ea7c46d (patch) | |
tree | 04db6d59e4d7415962073fbeac026dff487ffd83 | |
parent | 34c8be7241d8606e5f79cc849cca41a48efb1d43 (diff) | |
download | gcc-5119dc13023d3b459bed446362473ff89ea7c46d.zip gcc-5119dc13023d3b459bed446362473ff89ea7c46d.tar.gz gcc-5119dc13023d3b459bed446362473ff89ea7c46d.tar.bz2 |
(REGISTER_MOVE_COST): Add LINK_OR_CTR_REGS class to expensive moves.
From-SVN: r8732
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 5ea8f60..b3d3652 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for IBM RS/6000. - Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GNU CC. @@ -541,9 +541,11 @@ extern char *rs6000_cpu_string; : (CLASS1) == FLOAT_REGS && (CLASS2) != FLOAT_REGS ? 10 \ : (CLASS1) != FLOAT_REGS && (CLASS2) == FLOAT_REGS ? 10 \ : (((CLASS1) == SPECIAL_REGS || (CLASS1) == MQ_REGS \ - || (CLASS1) == LINK_REGS || (CLASS1) == CTR_REGS) \ + || (CLASS1) == LINK_REGS || (CLASS1) == CTR_REGS \ + || (CLASS1) == LINK_OR_CTR_REGS) \ && ((CLASS2) == SPECIAL_REGS || (CLASS2) == MQ_REGS \ - || (CLASS2) == LINK_REGS || (CLASS2) == CTR_REGS)) ? 10 \ + || (CLASS2) == LINK_REGS || (CLASS2) == CTR_REGS \ + || (CLASS2) == LINK_OR_CTR_REGS)) ? 10 \ : 2) /* A C expressions returning the cost of moving data of MODE from a register to |