From 64c111834081a117f902cffc15dadbc535f1c65e Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 9 Dec 2016 23:11:40 +0000 Subject: MIPS16: Remove unused `>' operand code This code has never been used throughout the repository history, and likely not before either, as due to the assymetry of MIPS16 instruction set encoding there are no 32-bit shift operations having their immediate shift count placed in the position of the usual `rx' instruction field. gas/ * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case. include/ * opcode/mips.h: Remove references to `>' operand code. opcodes/ * mips16-opc.c (decode_mips16_operand) <'>'>: Remove cases. --- opcodes/mips16-opc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'opcodes/mips16-opc.c') diff --git a/opcodes/mips16-opc.c b/opcodes/mips16-opc.c index 2b0e942..f1a67ed 100644 --- a/opcodes/mips16-opc.c +++ b/opcodes/mips16-opc.c @@ -76,7 +76,6 @@ decode_mips16_operand (char type, bfd_boolean extended_p) switch (type) { case '<': UINT (5, 0); - case '>': UINT (5, 0); case '[': UINT (6, 0); case ']': UINT (6, 0); @@ -105,7 +104,6 @@ decode_mips16_operand (char type, bfd_boolean extended_p) switch (type) { case '<': INT_ADJ (3, 2, 8, 0, FALSE); - case '>': INT_ADJ (3, 8, 8, 0, FALSE); case '[': INT_ADJ (3, 2, 8, 0, FALSE); case ']': INT_ADJ (3, 8, 8, 0, FALSE); -- cgit v1.1