public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work164-test)] Revert all changes
@ 2024-04-25 23:34 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2024-04-25 23:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b7c32f032d273335cf1f4e16c31754f23f7ba3ca

commit b7c32f032d273335cf1f4e16c31754f23f7ba3ca
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Apr 25 19:34:31 2024 -0400

    Revert all changes

Diff:
---
 gcc/config/rs6000/rs6000.cc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index d498f62be7a..908ad5dcb58 100644
--- a/gcc/config/rs6000/rs6000.cc
+++ b/gcc/config/rs6000/rs6000.cc
@@ -22813,16 +22813,6 @@ rs6000_register_move_cost (machine_mode mode,
       ret = 2 * hard_regno_nregs (reg, mode);
     }
 
-  /* Make moves from SPR registers (LR, CTR, TAR) more expensive so that the
-     register allocator does not think of these registers are useful for saving
-     results.  */
-  else if (reg_classes_intersect_p (from, SPECIAL_REGS)
-	   && reg_classes_intersect_p (to, GENERAL_REGS))
-    {
-      rclass = from;
-      ret = 6;
-    }
-
   /*  Moves from/to GENERAL_REGS.  */
   else if ((rclass = from, reg_classes_intersect_p (to, GENERAL_REGS))
 	   || (rclass = to, reg_classes_intersect_p (from, GENERAL_REGS)))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-25 23:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 23:34 [gcc(refs/users/meissner/heads/work164-test)] Revert all changes Michael Meissner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).