aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.h
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 /gdb/xml-support.h
parent0067be51e9436c5bbd961a4f54c10dbd50c491ea (diff)
downloadgdb-387e762476ff224ee40760910e73a3905a2c380a.zip
gdb-387e762476ff224ee40760910e73a3905a2c380a.tar.gz
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 'gdb/xml-support.h')
0 files changed, 0 insertions, 0 deletions