Skip to content

target/arm: Various v8.1M minor features

Peter Maydell qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 4 repliesIn review
  2. v110 patches 15 repliesSuperseded

Changes in v2 from the cover letter

* added missing check that rm!=13 for CSEL decode
* folded in gen_jmp_tb() fixup for DLS/WLS/LE patch
* reversed sense of branch in trans_WLS
* reworked set_fpscr changes as suggested by RTH
* provide an env->v7m.ltpsize now (always 4 until MVE implemented, but it avoids code changes later)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10decodetree: Fix codegen for non-overlapping group inside overlapping groupscripts/decodetree.py+1 -10 replies
2/10target/arm: Implement v8.1M NOCP handlingtarget/arm/cpu.h target/arm/m-nocp.decode target/arm/translate-vfp.c.inc+22 -61 reply
3/10target/arm: Implement v8.1M conditional-select insnstarget/arm/t32.decode target/arm/translate.c+63 -00 replies
4/10target/arm: Make the t32 insn[25:23]=111 group non-overlappingtarget/arm/t32.decode+12 -140 replies
5/10target/arm: Don't allow BLX imm for M-profiletarget/arm/translate.c+8 -00 replies
6/10target/arm: Implement v8.1M branch-future insns (as NOPs)target/arm/cpu.h target/arm/t32.decode target/arm/translate.c+38 -10 replies
7/10target/arm: Implement v8.1M low-overhead-loop instructionstarget/arm/t32.decode target/arm/translate.c+99 -21 reply
8/10target/arm: Fix has_vfp/has_neon ID reg squashing for M-profiletarget/arm/cpu.c+18 -110 replies
9/10target/arm: Allow M-profile CPUs with FP16 to set FPSCR.FP16target/arm/vfp_helper.c+28 -191 reply
10/10target/arm: Implement FPSCR.LTPSIZE for M-profile LOB extensiontarget/arm/cpu.c target/arm/cpu.h target/arm/vfp_helper.c+16 -01 reply

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [PATCH v2 00/10] target/arm: Various v8.1M minor features

This patchseries implements various minor v8.1M new features, notably the branch-future and low-overhead-loop extensions.

(None of this will get enabled until we have enough to implement a CPU model which has v8.1M, which will be the Cortex-M55, but as usual we can get stuff into the tree gradually.)

Changes v1->v2:
* added missing check that rm!=13 for CSEL decode
* folded in gen_jmp_tb() fixup for DLS/WLS/LE patch
* reversed sense of branch in trans_WLS
* reworked set_fpscr changes as suggested by RTH
* provide an env->v7m.ltpsize now (always 4 until MVE implemented, but it avoids code changes later)

Unreviewed patches: 2, 7, 9, 10

thanks
-- PMM

Peter Maydell (10):
decodetree: Fix codegen for non-overlapping group inside overlapping
group
target/arm: Implement v8.1M NOCP handling
target/arm: Implement v8.1M conditional-select insns target/arm: Make the t32 insn[25:23]=111 group non-overlapping target/arm: Don't allow BLX imm for M-profile
target/arm: Implement v8.1M branch-future insns (as NOPs) target/arm: Implement v8.1M low-overhead-loop instructions target/arm: Fix has_vfp/has_neon ID reg squashing for M-profile target/arm: Allow M-profile CPUs with FP16 to set FPSCR.FP16 target/arm: Implement FPSCR.LTPSIZE for M-profile LOB extension

 target/arm/cpu.h               |   8 ++
 target/arm/m-nocp.decode       |  10 +-
 target/arm/t32.decode          |  50 ++++++---
 target/arm/cpu.c               |  38 +++++--
 target/arm/translate.c         | 181 ++++++++++++++++++++++++++++++++-
 target/arm/vfp_helper.c        |  53 ++++++----
 scripts/decodetree.py          |   2 +-
 target/arm/translate-vfp.c.inc |  17 +++-
 8 files changed, 305 insertions(+), 54 deletions(-)
Signature · 1 line
2.20.1