rs6000: Delete UNSPEC_FRSP
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 6 Sep 2019 19:42:38 +0000 (21:42 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 6 Sep 2019 19:42:38 +0000 (21:42 +0200)
This isn't used since 2012.  (It's a remnant of RIOS support).

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

From-SVN: r275476

gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md

index 86e8ab6..045cc0c 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2019-09-06  Uroš Bizjak  <ubizjak@gmail.com>
 
        PR target/91654
index e792116..e044c6e 100644 (file)
@@ -20907,18 +20907,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)
index b0aea23..7b39334 100644 (file)
@@ -58,8 +58,7 @@
 ;;
 
 (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