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 86e8ab642d59965c64373bc3bb64d8e630c5bbac..045cc0c5bd0068cb25904970de0bb754d6a04fa8 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 e792116fb402f3d0e5187e11f9c74676cc7e8e50..e044c6ec7f18bf054d8b6b072845ca1a9112f1b4 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 b0aea2329687d8ac4f2177d27b4a3aacefd2f9b8..7b39334b95caf1c32a6316342d186762a1f85e4e 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