Skip to content

target-mips: add microMIPS ASE support, v3

Nathan Froyd qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

changes from v2 from the cover letter

give actual name to FOP constants; assign names to FOPs for c{,abs} fix up coding style violations
fix helpers for recent ldl_*/stl_* prototype changes split out mips16-related changes into separate patch group patches more logically

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8target-mips: define constants for magic numberstarget-mips/translate.c+295 -1420 replies
2/8target-mips: refactor c{, abs}.cond.fmt insnstarget-mips/translate.c+81 -830 replies
3/8target-mips: mips16 cleanupstarget-mips/translate.c+17 -70 replies
4/8target-mips: microMIPS ASE supporttarget-mips/helper.h target-mips/mips-defs.h target-mips/op_helper.c +1 more+2531 -51 reply
5/8target-mips: add microMIPS CPUstarget-mips/translate_init.c+61 -01 reply
6/8target-mips: add microMIPS exception handler supporttarget-mips/cpu.h target-mips/helper.c+16 -60 replies
7/8linux-user: honor low bit of entry PC for MIPSlinux-user/main.c+4 -10 replies
8/8hw: honor low bit in mipssim machinehw/mips_mipssim.c+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] target-mips: add microMIPS ASE support, v3

This patch series adds support for the microMIPS ASE. microMIPS is a new ASE similar to MIPS16, but re-encodes the entire instruction set into 16-bit and 32-bit instructions--in contrast to MIPS16, which re-encodes only integer instructions. The mechanisms for going in and out of microMIPS mode are identical to those for MIPS16; a given chip cannot support both ASEs simultaneously.

changes from v2:
give actual name to FOP constants; assign names to FOPs for c{,abs} fix up coding style violations
fix helpers for recent ldl_*/stl_* prototype changes split out mips16-related changes into separate patch group patches more logically

changes from v1:
fix re-introduction of previously deleted code noted by rth

Nathan Froyd (8):
target-mips: define constants for magic numbers
target-mips: refactor c{,abs}.cond.fmt insns
target-mips: mips16 cleanups
target-mips: microMIPS ASE support
target-mips: add microMIPS CPUs
target-mips: add microMIPS exception handler support
linux-user: honor low bit of entry PC for MIPS
hw: honor low bit in mipssim machine

 hw/mips_mipssim.c            |    5 +-
 linux-user/main.c            |    5 +-
 target-mips/cpu.h            |    1 +
 target-mips/helper.c         |   21 +-
 target-mips/helper.h         |    9 +
 target-mips/mips-defs.h      |    1 +
 target-mips/op_helper.c      |  136 ++
 target-mips/translate.c      | 3015 ++++++++++++++++++++++++++++++++++++++----
 target-mips/translate_init.c |   61 +
 9 files changed, 3009 insertions(+), 245 deletions(-)