aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ChangeLog
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2021-05-29 03:26:32 +0200
committerMaciej W. Rozycki <macro@orcam.me.uk>2021-05-29 03:26:32 +0200
commitcccc84faff88135ea118250d1b19cfb7aac7e8c1 (patch)
tree1f4022bf2b69b21b17daa41f06df559fd7200a91 /opcodes/ChangeLog
parentc9de3168a9568c6fb8038b9b83a912a9a391152b (diff)
downloadgdb-cccc84faff88135ea118250d1b19cfb7aac7e8c1.zip
gdb-cccc84faff88135ea118250d1b19cfb7aac7e8c1.tar.gz
gdb-cccc84faff88135ea118250d1b19cfb7aac7e8c1.tar.bz2
MIPS/opcodes: Free up redundant `g' operand code
In the operand handling rewrite made for the MIPS disassembler with commit ab90248154ba ("Add structures to describe MIPS operands"), <https://sourceware.org/ml/binutils/2013-07/msg00135.html>, the `g' operand code has become redundant for the regular MIPS instruction set by duplicating the OP_REG_COPRO semantics of the `G' operand code. Later commit 351cdf24d223 ("Implement O32 FPXX, FP64 and FP64A ABI extensions") converted the CTTC1 instruction from the `g' to the `G' operand code, but still left a few instructions behind. Convert the three remaining instructions still using the `g' code then, namely: CTTC2, MTTC2 and MTTHC2, and remove all traces of the operand code, freeing it up for other use. opcodes/ * mips-opc.c (mips_builtin_opcodes): Switch "cttc2", "mttc2", and "mtthc2" to using the `G' rather than `g' operand code for the coprocessor control register referred. include/ * opcode/mips.h: Complement change made to opcodes and remove references to the `g' regular MIPS ISA operand code.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r--opcodes/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 48c62e8..f81b2f7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,11 @@
2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
+ * mips-opc.c (mips_builtin_opcodes): Switch "cttc2", "mttc2",
+ and "mtthc2" to using the `G' rather than `g' operand code for
+ the coprocessor control register referred.
+
+2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
+
* micromips-opc.c (micromips_opcodes): Swap the two "dmtc1"
entries with each other.