[Qemu-devel] [PATCH 00/22] target/openrisc updates

Richard Henderson posted 22 patches 7 years, 1 month ago
configure                            |    6 +-
default-configs/or1k-linux-user.mak  |    1 +
default-configs/or1k-softmmu.mak     |    4 +
default-configs/or32-linux-user.mak  |    1 -
default-configs/or32-softmmu.mak     |    4 -
hw/openrisc/openrisc_sim.c           |    4 +-
linux-user/main.c                    |   95 ++-
linux-user/openrisc/target_syscall.h |    2 +
target/openrisc/Makefile.objs        |    2 +-
target/openrisc/cpu.c                |    1 +
target/openrisc/cpu.h                |   47 +-
target/openrisc/exception_helper.c   |   31 +
target/openrisc/fpu_helper.c         |   68 +-
target/openrisc/gdbstub.c            |   17 +-
target/openrisc/helper.h             |   33 +-
target/openrisc/int_helper.c         |   61 --
target/openrisc/interrupt.c          |   14 +-
target/openrisc/interrupt_helper.c   |    4 +-
target/openrisc/machine.c            |   62 +-
target/openrisc/mmu.c                |    1 +
target/openrisc/sys_helper.c         |   62 +-
target/openrisc/translate.c          | 1314 +++++++++++++++-------------------
tests/tcg/openrisc/Makefile          |    4 +-
23 files changed, 851 insertions(+), 987 deletions(-)
create mode 100644 default-configs/or1k-linux-user.mak
create mode 100644 default-configs/or1k-softmmu.mak
delete mode 100644 default-configs/or32-linux-user.mak
delete mode 100644 default-configs/or32-softmmu.mak
delete mode 100644 target/openrisc/int_helper.c
[Qemu-devel] [PATCH 00/22] target/openrisc updates
Posted by Richard Henderson 7 years, 1 month ago
The bulk of this patch set is 2-3 years old, and was mostly
reviewed by Bastian Koppelmann.  But it languished because
there were reports of it not booting kernel images, and I
had problems putting together a set of tools that could even
build a kernel.

The OpenRISC community has picked up activity recently,
with Stafford Horne upstreaming some of the compiler tools.
He has even done some testing for me of this patch set.


r~


Richard Henderson (21):
  target/openrisc: Rename the cpu from or32 to or1k
  linux-user: Add MMAP_SHIFT for openrisc
  linux-user: Fix openrisc cpu_loop
  target/openrisc: Implement lwa, swa
  target/openrisc: Tidy insn dumping
  target/openrisc: Rationalize immediate extraction
  target/openrisc: Streamline arithmetic and OVE
  target/openrisc: Put SR[OVE] in TB flags
  target/openrisc: Invert the decoding in dec_calc
  target/openrisc: Keep SR_F in a separate variable
  target/openrisc: Keep SR_CY and SR_OV in a separate variables
  target/openrisc: Use movcond where appropriate
  target/openrisc: Set flags on helpers
  target/openrisc: Enable trap, csync, msync, psync for user mode
  target/openrisc: Implement msync
  target/openrisc: Represent MACHI:MACLO as a single unit
  target/openrisc: Implement muld, muldu, macu, msbu
  target/openrisc: Fix madd
  target/openrisc: Optimize l.jal to next
  target/openrisc: Tidy ppc/npc implementation
  target/openrisc: Tidy handling of delayed branches

Stafford Horne (1):
  target/openrisc: Fix exception handling status registers

 configure                            |    6 +-
 default-configs/or1k-linux-user.mak  |    1 +
 default-configs/or1k-softmmu.mak     |    4 +
 default-configs/or32-linux-user.mak  |    1 -
 default-configs/or32-softmmu.mak     |    4 -
 hw/openrisc/openrisc_sim.c           |    4 +-
 linux-user/main.c                    |   95 ++-
 linux-user/openrisc/target_syscall.h |    2 +
 target/openrisc/Makefile.objs        |    2 +-
 target/openrisc/cpu.c                |    1 +
 target/openrisc/cpu.h                |   47 +-
 target/openrisc/exception_helper.c   |   31 +
 target/openrisc/fpu_helper.c         |   68 +-
 target/openrisc/gdbstub.c            |   17 +-
 target/openrisc/helper.h             |   33 +-
 target/openrisc/int_helper.c         |   61 --
 target/openrisc/interrupt.c          |   14 +-
 target/openrisc/interrupt_helper.c   |    4 +-
 target/openrisc/machine.c            |   62 +-
 target/openrisc/mmu.c                |    1 +
 target/openrisc/sys_helper.c         |   62 +-
 target/openrisc/translate.c          | 1314 +++++++++++++++-------------------
 tests/tcg/openrisc/Makefile          |    4 +-
 23 files changed, 851 insertions(+), 987 deletions(-)
 create mode 100644 default-configs/or1k-linux-user.mak
 create mode 100644 default-configs/or1k-softmmu.mak
 delete mode 100644 default-configs/or32-linux-user.mak
 delete mode 100644 default-configs/or32-softmmu.mak
 delete mode 100644 target/openrisc/int_helper.c

-- 
2.9.3