aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-12-09 23:11:40 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-12-09 23:21:40 +0000
commit64c111834081a117f902cffc15dadbc535f1c65e (patch)
tree128dd40a1359e495b204f806e1b024a9047c2de3 /opcodes
parentf17ecb4baca990b57cc57e8337c4e03ecee02742 (diff)
downloadfsf-binutils-gdb-64c111834081a117f902cffc15dadbc535f1c65e.zip
fsf-binutils-gdb-64c111834081a117f902cffc15dadbc535f1c65e.tar.gz
fsf-binutils-gdb-64c111834081a117f902cffc15dadbc535f1c65e.tar.bz2
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.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mips16-opc.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 8017b0f..cc2ac3c 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
+ * mips16-opc.c (decode_mips16_operand) <'>'>: Remove cases.
+
+2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
+
* mips16-opc.c (decode_mips16_operand) <'e'>: Use HINT rather
than UINT.
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);