[PULL v2 00/13] target: Add the Renesas RX architecture

Philippe Mathieu-Daudé posted 13 patches 4 years ago
Only 1 patches received!
configure                       |   11 +-
default-configs/rx-softmmu.mak  |    2 +
qapi/machine.json               |    4 +-
include/disas/dis-asm.h         |    5 +
include/exec/poison.h           |    1 +
include/hw/registerfields.h     |   30 +
include/sysemu/arch_init.h      |    1 +
target/rx/cpu-param.h           |   30 +
target/rx/cpu-qom.h             |   53 +
target/rx/cpu.h                 |  180 +++
target/rx/helper.h              |   31 +
target/rx/insns.decode          |  621 ++++++++
arch_init.c                     |    2 +
target/rx/cpu.c                 |  225 +++
target/rx/disas.c               | 1446 ++++++++++++++++++
target/rx/gdbstub.c             |  112 ++
target/rx/helper.c              |  149 ++
target/rx/op_helper.c           |  470 ++++++
target/rx/translate.c           | 2439 +++++++++++++++++++++++++++++++
tests/qtest/machine-none-test.c |    1 +
MAINTAINERS                     |    5 +
gdb-xml/rx-core.xml             |   70 +
target/rx/Makefile.objs         |   11 +
23 files changed, 5897 insertions(+), 2 deletions(-)
create mode 100644 default-configs/rx-softmmu.mak
create mode 100644 target/rx/cpu-param.h
create mode 100644 target/rx/cpu-qom.h
create mode 100644 target/rx/cpu.h
create mode 100644 target/rx/helper.h
create mode 100644 target/rx/insns.decode
create mode 100644 target/rx/cpu.c
create mode 100644 target/rx/disas.c
create mode 100644 target/rx/gdbstub.c
create mode 100644 target/rx/helper.c
create mode 100644 target/rx/op_helper.c
create mode 100644 target/rx/translate.c
create mode 100644 gdb-xml/rx-core.xml
create mode 100644 target/rx/Makefile.objs
[PULL v2 00/13] target: Add the Renesas RX architecture
Posted by Philippe Mathieu-Daudé 4 years ago
This pull request adds the architectural part of the Renesas RX
architecture.  Richard Henderson temporarily handed it over for
the 5.0 release.

Since v1: Rebased
- Use GByteArray in gdbstub (commit a010bdbe),
- Use device_class_set_parent_reset (commit 781c67ca)

The following changes since commit 4dd6517e369828171290b65e11f6a45aeeed15af:

  Merge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging (2020-03-19 14:22:46 +0000)

are available in the Git repository at:

  https://gitlab.com/philmd/qemu.git tags/target_renesas_rx-20200320

for you to fetch changes up to c8c35e5f51c4d54bced7aa05fbd8e2371e493182:

  Add rx-softmmu (2020-03-19 17:58:05 +0100)

----------------------------------------------------------------

Introduce the architectural part of the Renesas RX
architecture emulation, developed by Yoshinori Sato.

CI jobs results:
  https://gitlab.com/philmd/qemu/pipelines/127886344
  https://travis-ci.org/github/philmd/qemu/builds/664579420

----------------------------------------------------------------

Richard Henderson (6):
  target/rx: Disassemble rx_index_addr into a string
  target/rx: Replace operand with prt_ldmi in disassembler
  target/rx: Use prt_ldmi for XCHG_mr disassembly
  target/rx: Emit all disassembly in one prt()
  target/rx: Collect all bytes during disassembly
  target/rx: Dump bytes for each insn during disassembly

Yoshinori Sato (7):
  hw/registerfields.h: Add 8bit and 16bit register macros
  MAINTAINERS: Add entry for the Renesas RX architecture
  target/rx: TCG translation
  target/rx: TCG helpers
  target/rx: CPU definitions
  target/rx: RX disassembler
  Add rx-softmmu

 configure                       |   11 +-
 default-configs/rx-softmmu.mak  |    2 +
 qapi/machine.json               |    4 +-
 include/disas/dis-asm.h         |    5 +
 include/exec/poison.h           |    1 +
 include/hw/registerfields.h     |   30 +
 include/sysemu/arch_init.h      |    1 +
 target/rx/cpu-param.h           |   30 +
 target/rx/cpu-qom.h             |   53 +
 target/rx/cpu.h                 |  180 +++
 target/rx/helper.h              |   31 +
 target/rx/insns.decode          |  621 ++++++++
 arch_init.c                     |    2 +
 target/rx/cpu.c                 |  225 +++
 target/rx/disas.c               | 1446 ++++++++++++++++++
 target/rx/gdbstub.c             |  112 ++
 target/rx/helper.c              |  149 ++
 target/rx/op_helper.c           |  470 ++++++
 target/rx/translate.c           | 2439 +++++++++++++++++++++++++++++++
 tests/qtest/machine-none-test.c |    1 +
 MAINTAINERS                     |    5 +
 gdb-xml/rx-core.xml             |   70 +
 target/rx/Makefile.objs         |   11 +
 23 files changed, 5897 insertions(+), 2 deletions(-)
 create mode 100644 default-configs/rx-softmmu.mak
 create mode 100644 target/rx/cpu-param.h
 create mode 100644 target/rx/cpu-qom.h
 create mode 100644 target/rx/cpu.h
 create mode 100644 target/rx/helper.h
 create mode 100644 target/rx/insns.decode
 create mode 100644 target/rx/cpu.c
 create mode 100644 target/rx/disas.c
 create mode 100644 target/rx/gdbstub.c
 create mode 100644 target/rx/helper.c
 create mode 100644 target/rx/op_helper.c
 create mode 100644 target/rx/translate.c
 create mode 100644 gdb-xml/rx-core.xml
 create mode 100644 target/rx/Makefile.objs

-- 
2.21.1


Re: [PULL v2 00/13] target: Add the Renesas RX architecture
Posted by Peter Maydell 4 years ago
On Fri, 20 Mar 2020 at 10:36, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> This pull request adds the architectural part of the Renesas RX
> architecture.  Richard Henderson temporarily handed it over for
> the 5.0 release.
>
> Since v1: Rebased
> - Use GByteArray in gdbstub (commit a010bdbe),
> - Use device_class_set_parent_reset (commit 781c67ca)
>
> The following changes since commit 4dd6517e369828171290b65e11f6a45aeeed15af:
>
>   Merge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging (2020-03-19 14:22:46 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/philmd/qemu.git tags/target_renesas_rx-20200320
>
> for you to fetch changes up to c8c35e5f51c4d54bced7aa05fbd8e2371e493182:
>
>   Add rx-softmmu (2020-03-19 17:58:05 +0100)
>
> ----------------------------------------------------------------
>
> Introduce the architectural part of the Renesas RX
> architecture emulation, developed by Yoshinori Sato.
>
> CI jobs results:
>   https://gitlab.com/philmd/qemu/pipelines/127886344
>   https://travis-ci.org/github/philmd/qemu/builds/664579420
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM