Skip to content

target/arm: MVE preliminaries

Peter Maydell qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target/arm: Add isar feature check functions for MVEtarget/arm/cpu.h+22 -01 reply
2/9target/arm: Update feature checks for insns which are "MVE or FP"target/arm/translate-vfp.c+29 -191 reply
3/9target/arm: Move fpsp/fpdp isar check into callers of do_vfp_2op_sp/dptarget/arm/translate-vfp.c+19 -181 reply
4/9target/arm: Add MVE check to VMOV_reg_sp and VMOV_reg_dptarget/arm/translate-vfp.c+13 -21 reply
5/9target/arm: Fix return values in fp_sysreg_checks()target/arm/translate-vfp.c+3 -31 reply
6/9target/arm: Implement M-profile VPR registertarget/arm/cpu.h target/arm/machine.c target/arm/translate-vfp.c+63 -01 reply
7/9target/arm: Make FPSCR.LTPSIZE writable for MVEtarget/arm/cpu.h target/arm/machine.c target/arm/vfp_helper.c+9 -41 reply
8/9target/arm: Enable FPSCR.QC bit for MVEtarget/arm/vfp_helper.c+2 -12 replies
9/9target/arm: Allow board models to specify initial NS VTORhw/arm/armv7m.c include/hw/arm/armv7m.h target/arm/cpu.c +1 more+21 -01 reply

Reviews trailers per patch

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

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

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/9] target/arm: MVE preliminaries

This patchset is a collection of easy preliminary MVE patches, which I send out now just to try to avoid the MVE patchset landing as one enormous series. These patches:
* update feature checks on existing insns that should now check "if FP or MVE" rather than just "if FP"
* fixes a minor non-guest-visible issue in fp_sysreg_checks()
* adds support for reading and writing the MVE VPR register
* makes FPSCR.LTPSIZE writable if MVE
* makes FPSCR.QC exist for MVE
None of this code will be "live" yet, as no CPU sets the MVE ID register fields.

The last patch is not MVE related but I've had it kicking about in a private branch for a while now and it would be nice to have it upstream even though we don't have an immediate in-tree use. It just makes the NS VTOR configurable by the board/SoC the same way the S VTOR already is, which then matches the hardware.

thanks
-- PMM

Peter Maydell (9):
target/arm: Add isar feature check functions for MVE target/arm: Update feature checks for insns which are "MVE or FP" target/arm: Move fpsp/fpdp isar check into callers of do_vfp_2op_sp/dp target/arm: Add MVE check to VMOV_reg_sp and VMOV_reg_dp target/arm: Fix return values in fp_sysreg_checks() target/arm: Implement M-profile VPR register
target/arm: Make FPSCR.LTPSIZE writable for MVE target/arm: Enable FPSCR.QC bit for MVE
target/arm: Allow board models to specify initial NS VTOR

 include/hw/arm/armv7m.h    |   2 +
 target/arm/cpu.h           |  33 ++++++++-
 hw/arm/armv7m.c            |   7 ++
 target/arm/cpu.c           |  10 +++
 target/arm/machine.c       |  20 ++++++
 target/arm/translate-vfp.c | 140 ++++++++++++++++++++++++++-----------
 target/arm/vfp_helper.c    |  12 ++--
 7 files changed, 179 insertions(+), 45 deletions(-)
Signature · 1 line
2.20.1