Skip to content

m68k: Overhaul of MOVEC instruction to support exception/MSP

BALATON Zoltan qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6m68k: improve cpu instantiation commentstarget/m68k/cpu.c target/m68k/cpu.h+73 -200 replies
2/6m68k: cascade m68k_features by m680xx_cpu_initfn() to improve readabilitytarget/m68k/cpu.c target/m68k/cpu.h+39 -340 replies
3/6m68k: improve comments on m68k_move_to/from helperstarget/m68k/helper.c+30 -90 replies
4/6m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to m68k_move_to/fromtarget/m68k/cpu.h target/m68k/helper.c+14 -01 reply
5/6m68k: MOVEC insn. should generate exception if wrong CR is accessedtarget/m68k/cpu.c target/m68k/cpu.h target/m68k/helper.c +1 more+146 -460 replies
6/6m68k: add MSP detection support for stack pointer swap helperstarget/m68k/cpu.c target/m68k/cpu.h target/m68k/helper.c+11 -20 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchLaurent VivierPhilippe Mathieu-Daudé
1/6
2/6R-b
3/6
4/6R-b R-b
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] m68k: Overhaul of MOVEC instruction to support exception/MSP

Hello,

This is Lucien's m68k series rebased on and fixed up to work with current master as per previous discussion:
https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg02840.html

I've left previous Reviewed-by tags for reference but these should probably be reviewed again. I've only lightly tested it so I don't know if everything is correct but it does seem to fix the problem my original patch tried to fix at least. More testing, review and help to finish this so it can be merged at last is welcome.

Regards,
BALATON Zoltan

Lucien Murray-Pitts (6):
m68k: improve cpu instantiation comments
m68k: cascade m68k_features by m680xx_cpu_initfn() to improve
readability
m68k: improve comments on m68k_move_to/from helpers
m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to

    m68k_move_to/from

m68k: MOVEC insn. should generate exception if wrong CR is accessed
m68k: add MSP detection support for stack pointer swap helpers

 target/m68k/cpu.c       | 116 ++++++++++++++------
 target/m68k/cpu.h       |  64 +++++++----
 target/m68k/helper.c    | 234 +++++++++++++++++++++++++++++++---------
 target/m68k/translate.c |   2 +-
 4 files changed, 309 insertions(+), 107 deletions(-)
Signature · 1 line
2.21.3