public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add support for MIPS Allegrex
@ 2023-03-28 23:02 david
  2023-03-28 23:02 ` [PATCH 1/3] Add Allegrex CPU as a MIPS2-based CPU david
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: david @ 2023-03-28 23:02 UTC (permalink / raw)
  To: binutils

From: David Guillen Fandos <david@davidgf.net>

These patches add minimal support for MIPS Allegrex CPU (present in
Sony's Playstation Portable devices). They provide the bare minimum
needed for a port. In particular they enable GCC support for the CPU.

I tried to keep the patches small and readable, however the testsuite
requires some rather lengthy files.

David Guillen Fandos (3):
  Add Allegrex CPU as a MIPS2-based CPU
  Add rotation instructions to allegrex CPU
  Adding more instructions to Allegrex CPU

 bfd/archures.c                                |   1 +
 bfd/bfd-in2.h                                 |   1 +
 bfd/cpu-mips.c                                |   2 +
 bfd/elfxx-mips.c                              |   8 +
 binutils/readelf.c                            |   1 +
 include/elf/mips.h                            |   1 +
 include/opcode/mips.h                         |   6 +
 gas/config/tc-mips.c                          |   7 +-
 opcodes/mips-dis.c                            |   4 +
 opcodes/mips-opc.c                            | 113 ++++----
 gas/testsuite/gas/mips/mips.exp               |  35 ++-
 gas/testsuite/gas/mips/allegrex.d             |  49 ++++
 gas/testsuite/gas/mips/allegrex.s             |  44 +++
 gas/testsuite/gas/mips/allegrex@c0.d          | 265 ++++++++++++++++++
 gas/testsuite/gas/mips/allegrex@c1.d          | 265 ++++++++++++++++++
 gas/testsuite/gas/mips/allegrex@cp0b.d        |   5 +
 gas/testsuite/gas/mips/allegrex@cp0bl.d       |   5 +
 gas/testsuite/gas/mips/allegrex@cp0c.d        |   5 +
 gas/testsuite/gas/mips/allegrex@cp2d.d        |   5 +
 .../gas/mips/allegrex@isa-override-1.d        |  28 ++
 .../gas/mips/allegrex@isa-override-1.s        |  23 ++
 .../gas/mips/allegrex@isa-override-2.d        |   4 +
 .../gas/mips/allegrex@isa-override-2.l        |   4 +
 gas/testsuite/gas/mips/allegrex@save-sub.d    |   5 +
 24 files changed, 819 insertions(+), 67 deletions(-)
 create mode 100644 gas/testsuite/gas/mips/allegrex.d
 create mode 100644 gas/testsuite/gas/mips/allegrex.s
 create mode 100644 gas/testsuite/gas/mips/allegrex@c0.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@c1.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@cp0b.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@cp0bl.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@cp0c.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@cp2d.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-1.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-1.s
 create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-2.d
 create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-2.l
 create mode 100644 gas/testsuite/gas/mips/allegrex@save-sub.d

-- 
2.39.2


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

end of thread, other threads:[~2023-05-06 23:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 23:02 [PATCH 0/3] Add support for MIPS Allegrex david
2023-03-28 23:02 ` [PATCH 1/3] Add Allegrex CPU as a MIPS2-based CPU david
2023-05-06 23:11   ` Maciej W. Rozycki
2023-03-28 23:02 ` [PATCH 2/3] Add rotation instructions to allegrex CPU david
2023-05-06 23:11   ` Maciej W. Rozycki
2023-03-28 23:02 ` [PATCH 3/3] Adding more instructions to Allegrex CPU david
2023-05-06 23:11   ` Maciej W. Rozycki
2023-04-25 17:57 ` [PATCH 0/3] Add support for MIPS Allegrex David Guillen Fandos
2023-04-25 22:15   ` Maciej W. Rozycki
2023-05-06  8:03     ` David Guillen Fandos
2023-05-06 23:14       ` Maciej W. Rozycki

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).