From: Segher Boessenkool Date: Fri, 6 Sep 2019 19:42:38 +0000 (+0200) Subject: rs6000: Delete UNSPEC_FRSP X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9393ab749215b663de0575267301036f5e5bb9f3;p=gcc.git rs6000: Delete UNSPEC_FRSP This isn't used since 2012. (It's a remnant of RIOS support). * config/rs6000/rs6000.c (rs6000_rtx_costs) : Delete. * config/rs6000/rs6000.md (unspec): Delete UNSPEC_FRSP. From-SVN: r275476 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86e8ab642d5..045cc0c5bd0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-06 Segher Boessenkool + + * config/rs6000/rs6000.c (rs6000_rtx_costs) : Delete. + * config/rs6000/rs6000.md (unspec): Delete UNSPEC_FRSP. + 2019-09-06 Uroš Bizjak PR target/91654 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index e792116fb40..e044c6ec7f1 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index b0aea232968..7b39334b95c 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -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