target/arm: vfp feature and decodetree cleanup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest17 patches 11 repliesIn review
- v119 patches 24 repliesSuperseded
Changes in v2 from the cover letter
* Replace aa32_simd_r16 by aa32_vfp_simd.
* Add aa64_fp_simd, aa32_vfp.
* Improve aa64 has_vfp/has_neon check.
* Fix some "any" tests.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | target/arm: Add isar_feature_aa32_vfp_simdhw/ linux-user/ target/ +4 more | +37 | 1 reply | |
| 2/17 | target/arm: Rename isar_feature_aa32_fpdp_v2target/ target/ | +22 | 0 replies | |
| 3/17 | target/arm: Add isar_feature_aa32_{fpsp_v2, fpsp_v3, fpdp_v3}target/ | +18 | 0 replies | |
| 4/17 | target/arm: Add isar_feature_aa64_fp_simd, isar_feature_aa32_vfptarget/ target/ target/ | +20 | 1 reply | |
| 5/17 | target/arm: Improve ID_AA64PFR0 FP/SIMD validationtarget/ | +12 | 4 replies | |
| 6/17 | target/arm: Perform fpdp_v2 check firsttarget/ | +71 | 0 replies | |
| 7/17 | target/arm: Replace ARM_FEATURE_VFP3 checks with fp{sp, dp}_v3target/ | +8 | 0 replies | |
| 8/17 | target/arm: Add missing checks for fpsp_v2target/ | +69 | 0 replies | |
| 9/17 | target/arm: Replace ARM_FEATURE_VFP4 with isar_feature_aa32_simdfmactarget/ target/ target/ +1 more | +36 | 1 reply | |
| 10/17 | target/arm: Remove ARM_FEATURE_VFP check from disas_vfp_insntarget/ | +0 | 0 replies | |
| 11/17 | target/arm: Move VLLDM and VLSTM to vfp.decodetarget/ target/ target/ | +50 | 1 reply | |
| 12/17 | target/arm: Move the vfp decodetree calls next to the base isatarget/ | +29 | 1 reply | |
| 13/17 | linux-user/arm: Replace ARM_FEATURE_VFP* tests for HWCAPlinux-user/ | +13 | 1 reply | |
| 14/17 | target/arm: Remove ARM_FEATURE_VFP*target/ target/ target/ +2 more | +0 | 0 replies | |
| 15/17 | target/arm: Add formats for some vfp 2 and 3-register insnstarget/ | +52 | 0 replies | |
| 16/17 | target/arm: Split VFM decodetarget/ target/ | +55 | 0 replies | |
| 17/17 | target/arm: Split VMINMAXNM decodetarget/ target/ | +44 | 0 replies |
Reviews trailers per patch
16 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Peter Maydell |
|---|---|---|
| 1/17 | R-b | |
| 2/17 | R-b | |
| 3/17 | R-b | |
| 4/17 | R-b | |
| 5/17 | ||
| 6/17 | R-b | |
| 7/17 | R-b | |
| 8/17 | R-b | |
| 9/17 | R-b | |
| 10/17 | R-b | |
| 11/17 | R-b | |
| 12/17 | R-b | |
| 13/17 | R-b | |
| 14/17 | R-b | |
| 15/17 | R-b | |
| 16/17 | R-b | |
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/17] target/arm: vfp feature and decodetree cleanup
The main goal of the patchset is to move the ARM_FEATURE_VFP test from outside of the disas_vfp_insn() to inside each of the trans_* functions, so that we get the proper ISA check for each case. At the end of that, it is easy to eliminate all of the remaining tests vs ARM_FEATURE_VFP* in favor of the preferred ISAR tests. Finally, there are a couple of cleanups to vfp.decode to make things a bit more legible.
Changes for v2:
* Replace aa32_simd_r16 by aa32_vfp_simd.
* Add aa64_fp_simd, aa32_vfp.
* Improve aa64 has_vfp/has_neon check.
* Fix some "any" tests.
r~
Richard Henderson (17):
target/arm: Add isar_feature_aa32_vfp_simd
target/arm: Rename isar_feature_aa32_fpdp_v2
target/arm: Add isar_feature_aa32_{fpsp_v2,fpsp_v3,fpdp_v3} target/arm: Add isar_feature_aa64_fp_simd, isar_feature_aa32_vfp target/arm: Improve ID_AA64PFR0 FP/SIMD validation target/arm: Perform fpdp_v2 check first
target/arm: Replace ARM_FEATURE_VFP3 checks with fp{sp,dp}_v3 target/arm: Add missing checks for fpsp_v2
target/arm: Replace ARM_FEATURE_VFP4 with isar_feature_aa32_simdfmac target/arm: Remove ARM_FEATURE_VFP check from disas_vfp_insn target/arm: Move VLLDM and VLSTM to vfp.decode target/arm: Move the vfp decodetree calls next to the base isa linux-user/arm: Replace ARM_FEATURE_VFP* tests for HWCAP target/arm: Remove ARM_FEATURE_VFP*
target/arm: Add formats for some vfp 2 and 3-register insns target/arm: Split VFM decode
target/arm: Split VMINMAXNM decode
target/arm/cpu.h | 57 ++++- target/arm/vfp-uncond.decode | 12 +- target/arm/vfp.decode | 153 +++++------ hw/intc/armv7m_nvic.c | 20 +- linux-user/arm/signal.c | 4 +- linux-user/elfload.c | 23 +- target/arm/arch_dump.c | 11 +- target/arm/cpu.c | 67 ++--- target/arm/cpu64.c | 3 - target/arm/helper.c | 4 +- target/arm/kvm32.c | 5 - target/arm/kvm64.c | 1 - target/arm/m_helper.c | 11 +- target/arm/machine.c | 5 +- target/arm/translate-vfp.inc.c | 448 ++++++++++++++++++++------------- target/arm/translate.c | 122 +++------ 16 files changed, 498 insertions(+), 448 deletions(-)
Signature · 1 line
2.20.1