diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-14 21:18:16 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-14 22:04:39 +0000 |
commit | 353abf7c10561aab3e8e7ffce6e270c3743376f0 (patch) | |
tree | 8c3e3381198a36dacbb46cd30ce3c774e7cc803b /gas/ChangeLog | |
parent | 63e014fccdd91a89873554f6b33d7128d7112813 (diff) | |
download | gdb-353abf7c10561aab3e8e7ffce6e270c3743376f0.zip gdb-353abf7c10561aab3e8e7ffce6e270c3743376f0.tar.gz gdb-353abf7c10561aab3e8e7ffce6e270c3743376f0.tar.bz2 |
MIPS16: Fix SP-relative SD instruction annotation
Fix the annotation of SP-relative SD instructions incorrectly marked as
reading from the PC rather than SP, which in turn prevented their 16-bit
forms from being scheduled into jump delay slots. This bug has been
there since forever.
opcodes/
* mips16-opc.c (mips16_opcodes): Set RD_SP rather than RD_PC in
`pinfo2' with SP-relative "sd" entries.
gas/
* testsuite/gas/mips/mips16-sprel-swap.d: New test.
* testsuite/gas/mips/mips16-sprel-swap.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new test.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b2eaa8d..742da3e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2016-12-14 Maciej W. Rozycki <macro@imgtec.com> + + * testsuite/gas/mips/mips16-sprel-swap.d: New test. + * testsuite/gas/mips/mips16-sprel-swap.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new test. + 2016-12-13 Renlin Li <renlin.li@arm.com> * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register. |