aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ChangeLog
diff options
context:
space:
mode:
authorFaraz Shahbazker <fshahbazker@wavecomp.com>2019-05-06 09:29:20 -0700
committerFaraz Shahbazker <fshahbazker@wavecomp.com>2019-05-10 21:36:32 -0700
commit387e762476ff224ee40760910e73a3905a2c380a (patch)
tree8cbc344599f40ab24af2cc94dbc05858f51949f2 /opcodes/ChangeLog
parent0067be51e9436c5bbd961a4f54c10dbd50c491ea (diff)
downloadfsf-binutils-gdb-387e762476ff224ee40760910e73a3905a2c380a.zip
fsf-binutils-gdb-387e762476ff224ee40760910e73a3905a2c380a.tar.gz
fsf-binutils-gdb-387e762476ff224ee40760910e73a3905a2c380a.tar.bz2
Add macro expansions for ADD, SUB, DADD and DSUB for MIPS r6
Release 6 of the MIPS architecture does not have an ADDI instruction. ADD/SUB instructions with immediate operands can be expanded to load and immediate value and then perform the operation. gas/ * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>: Add expansions for MIPS r6. * testsuite/gas/mips/add.s: Enable tests for R6. * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6. * testsuite/gas/mips/mipsr6@add.d: Likewise. * gas/testsuite/gas/mips/mipsr6@dadd.d: New test. * gas/testsuite/gas/mips/mips.exp: Run the new test. opcodes/ * mips-opc.c (mips_opcodes): Enable ADD, SUB, DADD and DSUB macros for R6.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r--opcodes/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index aa78ea9..ff72dba 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
+
+ * mips-opc.c (mips_opcodes): Enable ADD, SUB, DADD and DSUB
+ macros for R6.
+
2019-05-11 Alan Modra <amodra@gmail.com>
* ppc-dis.c (print_insn_powerpc) Don't skip optional operands