public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS disassembler styling
@ 2022-11-03 13:58 Andrew Burgess
  2022-11-03 13:58 ` [PATCH 1/2] opcodes/mips: use .word/.short for undefined instructions Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Andrew Burgess @ 2022-11-03 13:58 UTC (permalink / raw)
  To: binutils; +Cc: Andrew Burgess

This commit adds disassembler styling for MIPS.

Patch 1/2 changes the disassembler to make use of the assembler
directives .word and .short.  This isn't a requirement, but I think is
an improvement.  There's a lot of updated tests in this commit, it's
possible that this patch might be too large to reach the mailing list.
In case of this, I've pushed my work to the branch:
     users/aburgess/try-mips-disasm-styling

Patch 2/2 is where I actually add disassembler styling.  If patch #1
is not wanted then I can easily rebase this second patch, removing the
use of .word and .short, just let me know.

Thanks,
Andrew

---

Andrew Burgess (2):
  opcodes/mips: use .word/.short for undefined instructions
  libopcodes/mips: add support for disassembler styling

 .../testsuite/binutils-all/mips/mips-ase-1.d  |   2 +-
 .../binutils-all/mips/mips-xpa-virt-1.d       |   4 +-
 .../binutils-all/mips/mips-xpa-virt-2.d       |   4 +-
 .../binutils-all/mips/mips-xpa-virt-3.d       |   2 +-
 .../binutils-all/mips/mips1-branch-alias.d    |   4 +-
 .../binutils-all/mips/mips1-branch-noalias.d  |   4 +-
 .../binutils-all/mips/mips16-extend-noinsn.d  |  24 +-
 .../binutils-all/mips/mips16-pcrel.d          |  16 +-
 .../binutils-all/mips/mips32r6-branch-alias.d |   4 +-
 .../mips/mips32r6-branch-noalias.d            |   4 +-
 gas/testsuite/gas/mips/interaptiv-mr2@mcu.d   | 112 ++---
 .../gas/mips/mips16-32@mips16-asmacro.d       |   6 +-
 gas/testsuite/gas/mips/mips16-32@mips16-sub.d | 436 +++++++++---------
 .../gas/mips/mips16-32@mips16e-64-sub.d       |   4 +-
 .../gas/mips/mips16-32@mips16e-sub.d          |  66 +--
 gas/testsuite/gas/mips/mips16@save-sub.d      |  68 +--
 gas/testsuite/gas/mips/mips1@isa-override-1.d |  16 +-
 gas/testsuite/gas/mips/mips1@save-sub.d       |  68 +--
 gas/testsuite/gas/mips/mips2@isa-override-1.d |  12 +-
 .../gas/mips/mips32@isa-override-1.d          |  14 +-
 .../gas/mips/mips32r2@isa-override-1.d        |  14 +-
 gas/testsuite/gas/mips/set-arch.d             | 208 ++++-----
 gas/testsuite/gas/mips/tls-o32.d              |   4 +-
 opcodes/disassemble.c                         |   5 +
 opcodes/mips-dis.c                            | 306 +++++++-----
 25 files changed, 751 insertions(+), 656 deletions(-)

-- 
2.25.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-02-14  4:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 13:58 [PATCH 0/2] MIPS disassembler styling Andrew Burgess
2022-11-03 13:58 ` [PATCH 1/2] opcodes/mips: use .word/.short for undefined instructions Andrew Burgess
2023-01-06 15:58   ` Maciej W. Rozycki
2023-01-06 16:40     ` Andrew Burgess
2023-01-08 16:05       ` Maciej W. Rozycki
2023-01-17 10:28         ` Andrew Burgess
2023-01-27 11:57           ` Maciej W. Rozycki
2023-01-30  9:34             ` Andrew Burgess
2023-02-01 10:40               ` Maciej W. Rozycki
2023-02-01 15:32                 ` Andrew Burgess
2023-02-02  9:48                   ` Maciej W. Rozycki
2023-02-03  9:31                 ` Andrew Burgess
2023-02-13 12:07                   ` Andrew Burgess
2023-02-14  4:43                     ` Maciej W. Rozycki
2022-11-03 13:58 ` [PATCH 2/2] libopcodes/mips: add support for disassembler styling Andrew Burgess
2022-11-28 17:15 ` [PATCH 0/2] MIPS " Andrew Burgess
2022-11-30 16:50   ` Nick Clifton
2022-12-05 10:08     ` Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).