From a30fc7a9a4148742b0cb34a0068bbd36c97c1026 Mon Sep 17 00:00:00 2001
From: sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 12 May 2015 22:58:39 +0000
Subject: 	* config/mips/mips.c (mips_print_operand): Remove 'y' operand
 code. 	* config/mips/mips.md (<GPR:d>lsa): Rewrite with shift operator. 
 * config/mips/predicates.md (const_immlsa_operand): Remove log call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223101 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/config/mips/mips.c | 14 --------------
 1 file changed, 14 deletions(-)

(limited to 'gcc/config/mips/mips.c')

diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index c6e40a13fd7..8c66cbd89c8 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -8440,7 +8440,6 @@ mips_print_operand_punct_valid_p (unsigned char code)
    'x'	Print the low 16 bits of CONST_INT OP in hexadecimal format.
    'd'	Print CONST_INT OP in decimal.
    'm'	Print one less than CONST_INT OP in decimal.
-   'y'	Print exact log2 of CONST_INT OP in decimal.
    'h'	Print the high-part relocation associated with OP, after stripping
 	  any outermost HIGH.
    'R'	Print the low-part relocation associated with OP.
@@ -8504,19 +8503,6 @@ mips_print_operand (FILE *file, rtx op, int letter)
 	output_operand_lossage ("invalid use of '%%%c'", letter);
       break;
 
-    case 'y':
-      if (CONST_INT_P (op))
-	{
-	  int val = exact_log2 (INTVAL (op));
-	  if (val != -1)
-	    fprintf (file, "%d", val);
-	  else
-	    output_operand_lossage ("invalid use of '%%%c'", letter);
-	}
-      else
-	output_operand_lossage ("invalid use of '%%%c'", letter);
-      break;
-
     case 'h':
       if (code == HIGH)
 	op = XEXP (op, 0);
-- 
cgit v1.2.1