diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-09 23:11:40 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-09 23:21:40 +0000 |
commit | 64c111834081a117f902cffc15dadbc535f1c65e (patch) | |
tree | 128dd40a1359e495b204f806e1b024a9047c2de3 /gas | |
parent | f17ecb4baca990b57cc57e8337c4e03ecee02742 (diff) | |
download | gdb-64c111834081a117f902cffc15dadbc535f1c65e.zip gdb-64c111834081a117f902cffc15dadbc535f1c65e.tar.gz 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 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index fd394ea..e3cf619 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2016-12-09 Maciej W. Rozycki <macro@imgtec.com> + * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case. + +2016-12-09 Maciej W. Rozycki <macro@imgtec.com> + * testsuite/gas/mips/mips16-extend.d: New test. * testsuite/gas/mips/mips16-extend.s: New test source. * testsuite/gas/mips/mips.exp: Run the new test. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 1e195d9..4288d96 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -8723,7 +8723,6 @@ mips16_macro_build (expressionS *ep, const char *name, const char *fmt, break; case '<': - case '>': case '4': case '5': case 'H': |