MIPS16/opcodes: Annotate instruction aliases
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 25 Apr 2017 10:44:29 +0000 (11:44 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Tue, 25 Apr 2017 10:55:34 +0000 (11:55 +0100)
commit6e3d1f0728d980a384c5aa63ce7f2ff3919c5024
tree131f83b92152d6710c91c9112b8cc07252438c58
parentadc1273cb27286452ed8b32c5ca3ea263b4854f0
MIPS16/opcodes: Annotate instruction aliases

Complement commit 986e18a5a9fd ("Add a second 'pinfo' member to
mips_opcode to extend number of available bits"),
<https://sourceware.org/ml/binutils/2005-01/msg00261.html>, and annotate
MIPS16 NOP, LA, DLA and the synthetic forms of LD and LW instructions as
aliases.  These correspond to MOVE, and the PC-relative ADDIU, DADDIU,
LD and LW hardware instructions respectively.

binutils/
* testsuite/binutils-all/mips/mips16-alias.d: New test.
* testsuite/binutils-all/mips/mips16-noalias.d: New test.
* testsuite/binutils-all/mips/mips16-alias.s: New test source.
* testsuite/binutils-all/mips/mips.exp: Run the new tests.

opcodes/
* mips16-opc.c (AL): New macro.
(mips16_opcodes): Mark "nop", "la", "dla", and synthetic forms
of "ld" and "lw" as aliases.
binutils/ChangeLog
binutils/testsuite/binutils-all/mips/mips.exp
binutils/testsuite/binutils-all/mips/mips16-alias.d [new file with mode: 0644]
binutils/testsuite/binutils-all/mips/mips16-alias.s [new file with mode: 0644]
binutils/testsuite/binutils-all/mips/mips16-noalias.d [new file with mode: 0644]
opcodes/ChangeLog
opcodes/mips16-opc.c
This page took 0.025558 seconds and 4 git commands to generate.