Skip to content

target-mips: add microMIPS ASE support, v2

Nathan Froyd qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 18 repliesApplied

changes from v1 from the cover letter

fix re-introduction of previously deleted code noted by rth

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10target-mips: break out [ls][wd]c1 and rdhwr insn generationtarget-mips/translate.c+59 -472 replies
2/10target-mips: add microMIPS-specific bits to mips-defs.htarget-mips/cpu.h target-mips/mips-defs.h+4 -01 reply
3/10target-mips: add enum constants for various invocations of FOPtarget-mips/translate.c+180 -863 replies
4/10target-mips: refactor {c, abs}.cond.fmt insnstarget-mips/translate.c+91 -831 reply
5/10target-mips: small changes to use new FMT_ enumstarget-mips/translate.c+9 -81 reply
6/10target-mips: add microMIPS ASE supporttarget-mips/helper.h target-mips/op_helper.c target-mips/translate.c+2567 -132 replies
7/10target-mips: add microMIPS CPUstarget-mips/translate_init.c+61 -02 replies
8/10target-mips: add microMIPS exception handler supporttarget-mips/helper.c+15 -61 reply
9/10linux-user: honor low bit of entry PC for MIPSlinux-user/main.c+3 -11 reply
10/10hw: honor low bit in mipssim machinehw/mips_mipssim.c+3 -11 reply

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/10A-b
2/10R-b
3/10
4/10
5/10A-b
6/10
7/10R-b
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/10] target-mips: add microMIPS ASE support, v2

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 v1:
fix re-introduction of previously deleted code noted by rth

Nathan Froyd (10):
target-mips: break out [ls][wd]c1 and rdhwr insn generation
target-mips: add microMIPS-specific bits to mips-defs.h
target-mips: add enum constants for various invocations of FOP
target-mips: refactor {c,abs}.cond.fmt insns
target-mips: small changes to use new FMT_ enums
target-mips: add 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            |    4 +-
 linux-user/main.c            |    4 +-
 target-mips/cpu.h            |    3 +
 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      | 3050 ++++++++++++++++++++++++++++++++++++++----
 target-mips/translate_init.c |   61 +
 9 files changed, 3047 insertions(+), 242 deletions(-)