summaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips.c
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-12 22:58:39 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-12 22:58:39 +0000
commita30fc7a9a4148742b0cb34a0068bbd36c97c1026 (patch)
tree9a673976b4c48260b6302a4172309a8e92b7a6b9 /gcc/config/mips/mips.c
parent8ff995b54ef0b5776e0496233e98f0781d44cb98 (diff)
downloadgcc-a30fc7a9a4148742b0cb34a0068bbd36c97c1026.tar.gz
* 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
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r--gcc/config/mips/mips.c14
1 files changed, 0 insertions, 14 deletions
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);