rs6000: Delete UNSPEC_FRSP

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
This commit is contained in:
Segher Boessenkool 2019-09-06 21:42:38 +02:00 committed by Segher Boessenkool
parent 4e9ad7c9d8
commit 9393ab7492
3 changed files with 6 additions and 14 deletions

View 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

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

View 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