public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 1/2] rs6000: Delete UNSPEC_FRSP
@ 2019-09-06 19:35 Segher Boessenkool
  2019-09-06 19:35 ` [PATCH 2/2] rs6000: Delete UNSPEC_MV_CR_OV Segher Boessenkool
  0 siblings, 1 reply; 2+ messages in thread
From: Segher Boessenkool @ 2019-09-06 19:35 UTC (permalink / raw)
  To: gcc-patches; +Cc: dje.gcc, Segher Boessenkool

This isn't used since 2012.  (It's a remnant of RIOS support).

Committing to trunk.


Segher


2019-09-06  Segher Boessenkool  <segher@kernel.crashing.org>

	* config/rs6000/rs6000.c (rs6000_rtx_costs) <case UNSPEC>: Delete.
	* config/rs6000/rs6000.md (unspec): Delete UNSPEC_FRSP.

---
 gcc/config/rs6000/rs6000.c  | 12 ------------
 gcc/config/rs6000/rs6000.md |  3 +--
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index ce86d30..c15e05e 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -20923,18 +20923,6 @@ rs6000_rtx_costs (rtx x, machine_mode mode, int outer_code,
 	*total = rs6000_cost->fp;
       return false;
 
-    case UNSPEC:
-      switch (XINT (x, 1))
-	{
-	case UNSPEC_FRSP:
-	  *total = rs6000_cost->fp;
-	  return true;
-
-	default:
-	  break;
-	}
-      break;
-
     case CALL:
     case IF_THEN_ELSE:
       if (!speed)
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index b1fddbf..d408e44 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -58,8 +58,7 @@ (define_constants
 ;;
 
 (define_c_enum "unspec"
-  [UNSPEC_FRSP			; frsp for POWER machines
-   UNSPEC_PROBE_STACK		; probe stack memory reference
+  [UNSPEC_PROBE_STACK		; probe stack memory reference
    UNSPEC_TOCPTR		; address of a word pointing to the TOC
    UNSPEC_TOC			; address of the TOC (more-or-less)
    UNSPEC_TOCSLOT		; offset from r1 of toc pointer save slot
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] rs6000: Delete UNSPEC_MV_CR_OV.
  2019-09-06 19:35 [PATCH 1/2] rs6000: Delete UNSPEC_FRSP Segher Boessenkool
@ 2019-09-06 19:35 ` Segher Boessenkool
  0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2019-09-06 19:35 UTC (permalink / raw)
  To: gcc-patches; +Cc: dje.gcc, Segher Boessenkool

This isn't used since 2018.  (It's a remnant of paired single support).

Committing to trunk.


Segher


2019-09-06  Segher Boessenkool  <segher@kernel.crashing.org>

	* config/rs6000/rs6000.md (unspec): Delete UNSPEC_MV_CR_OV.

---
 gcc/config/rs6000/rs6000.md | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index d408e44..48ccb02 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -63,7 +63,6 @@ (define_c_enum "unspec"
    UNSPEC_TOC			; address of the TOC (more-or-less)
    UNSPEC_TOCSLOT		; offset from r1 of toc pointer save slot
    UNSPEC_MOVSI_GOT
-   UNSPEC_MV_CR_OV		; move_from_CR_ov_bit
    UNSPEC_FCTIWZ
    UNSPEC_FRIM
    UNSPEC_FRIN
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-06 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 19:35 [PATCH 1/2] rs6000: Delete UNSPEC_FRSP Segher Boessenkool
2019-09-06 19:35 ` [PATCH 2/2] rs6000: Delete UNSPEC_MV_CR_OV Segher Boessenkool

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).