target-arm: A64 decoder sets 3 and 4: everything but fp & simd
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest25 patches 18 repliesIn review
- v121 patches 48 repliesSuperseded
Changes in v2 from the cover letter
* finally got the ld/st pair decode correct
* cleaned up the other ld/st decode to use extract32 rather than bitops
* special case the simple-multiply in 3-src data ops
* move set_pc in mrs/msr down to the end-of-loop handling
* fix use of tcg temp over bblk end and possible gcc warning in cond-compare
* use new qemu ld ops in ldst excl
* revised version of sysregs support:
+ new .state field to specify whether register is AA64, AA32 or both
+ support shared register definitions between both states
+ new patch pulling the inner loop body of the 'define a reginfo' function out into its own function, for clarity
+ move the AA64 TLS register definitions to be together with the AA32 ones rather than in a completely different part of the file
* added a couple of minor bugfixes to aarch64 linux-user support found in testing (the clone bugfix in particular is necessary for fork())
* added a patch to add the aarch64 targets to the travis test matrix
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | target-arm: A64: add support for ld/st pairtarget-arm/ | +277 | 1 reply | |
| 2/25 | target-arm: A64: add support for ld/st unsigned immtarget-arm/ | +88 | 0 replies | |
| 3/25 | target-arm: A64: add support for ld/st with reg offsettarget-arm/ | +143 | 0 replies | |
| 4/25 | target-arm: A64: add support for ld/st with indextarget-arm/ | +124 | 0 replies | |
| 5/25 | target-arm: A64: add support for add, addi, sub, subitarget-arm/ | +286 | 0 replies | |
| 6/25 | target-arm: A64: add support for move wide instructionstarget-arm/ | +49 | 0 replies | |
| 7/25 | target-arm: A64: add support for 3 src data proc insnstarget-arm/ | +95 | 0 replies | |
| 8/25 | target-arm: A64: implement SVC, BRKtarget-arm/ | +49 | 0 replies | |
| 9/25 | target-arm: A64: Add decoder skeleton for FP instructionstarget-arm/ | +169 | 0 replies | |
| 10/25 | target-arm: A64: implement FMOVtarget-arm/ | +85 | 0 replies | |
| 11/25 | target-arm: Pull "add one cpreg to hashtable" into its own functiontarget-arm/ | +52 | 1 reply | |
| 12/25 | target-arm: Update generic cpreg code for AArch64target-arm/ target-arm/ target-arm/ | +207 | 4 replies | |
| 13/25 | target-arm: Remove ARMCPU/CPUARMState from cpregs APIs used by decodertarget-arm/ target-arm/ target-arm/ +2 more | +17 | 1 reply | |
| 14/25 | target-arm: A64: Implement MRS/MSR/SYS/SYSLtarget-arm/ | +82 | 0 replies | |
| 15/25 | target-arm: A64: Implement minimal set of EL0-visible sysregstarget-arm/ target-arm/ target-arm/ | +115 | 5 replies | |
| 16/25 | target-arm: Widen thread-local register state fields to 64 bitslinux-user/ linux-user/ linux-user/ +2 more | +36 | 1 reply | |
| 17/25 | target-arm: A64: add support for add/sub with carrytarget-arm/ | +103 | 0 replies | |
| 18/25 | target-arm: A64: add support for conditional compare insnstarget-arm/ | +60 | 1 reply | |
| 19/25 | target-arm: aarch64: add support for ld littarget-arm/ | +45 | 0 replies | |
| 20/25 | target-arm: Widen exclusive-access support struct fields to 64 bitslinux-user/ target-arm/ target-arm/ +1 more | +64 | 1 reply | |
| 21/25 | target-arm: A64: support for ld/st/cl exclusivelinux-user/ target-arm/ | +277 | 1 reply | |
| 22/25 | linux-user: AArch64: define TARGET_CLONE_BACKWARDSlinux-user/ | +1 | 1 reply | |
| 23/25 | linux-user: AArch64: Use correct values for FPSR/FPCR in sigcontextlinux-user/ | +7 | 1 reply | |
| 24/25 | .travis.yml: Add aarch64-* targets.travis.yml | +1 | 0 replies | |
| 25/25 | default-configs: Add config for aarch64-linux-userdefault-configs/ | +3 | 0 replies |
Reviews trailers per patch
24 of 25 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Peter Crosthwaite |
|---|---|---|
| 1/25 | R-b | |
| 2/25 | R-b | |
| 3/25 | R-b | |
| 4/25 | R-b | |
| 5/25 | R-b | |
| 6/25 | R-b | |
| 7/25 | R-b | |
| 8/25 | R-b | |
| 9/25 | R-b | |
| 10/25 | R-b | |
| 11/25 | R-b | |
| 12/25 | R-b R-b | |
| 13/25 | R-b | |
| 14/25 | R-b | |
| 15/25 | R-b | R-b |
| 16/25 | R-b | |
| 17/25 | R-b | |
| 18/25 | R-b | |
| 19/25 | R-b | |
| 20/25 | R-b | |
| 21/25 | R-b | |
| 22/25 | R-b | |
| 23/25 | R-b | |
| 24/25 | ||
| 25/25 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 00/25] target-arm: A64 decoder sets 3 and 4: everything but fp & simd
Hi; this is the second version of a64-third-fourth-set, which implements support for more or less all A64 instructions except
* FP [we support simple FP register load/store and
transfer to/from the general purpose registers]
* Neon
* system instructions (either ones only available to system mode or which only make sense for system mode like LDRT)
(There may also be one or two obscure gaps like the CRC32 instruction.)
Changes v1->v2:
* finally got the ld/st pair decode correct
* cleaned up the other ld/st decode to use extract32 rather than bitops
* special case the simple-multiply in 3-src data ops
* move set_pc in mrs/msr down to the end-of-loop handling
* fix use of tcg temp over bblk end and possible gcc warning in cond-compare
* use new qemu ld ops in ldst excl
* revised version of sysregs support:
+ new .state field to specify whether register is AA64, AA32 or both
+ support shared register definitions between both states
+ new patch pulling the inner loop body of the 'define a reginfo' function out into its own function, for clarity
+ move the AA64 TLS register definitions to be together with the AA32 ones rather than in a completely different part of the file
* added a couple of minor bugfixes to aarch64 linux-user support found in testing (the clone bugfix in particular is necessary for fork())
* added a patch to add the aarch64 targets to the travis test matrix
(That looks like a long list but it's mostly minor stuff apart from the adjustments to sysregs support.)
This patchset sits on top of upstream master (yay); git tree available at:
git://git.linaro.org/people/peter.maydell/qemu-arm.git a64-third-fourth-set
web UI:
https://git.linaro.org/people/peter.maydell/qemu-arm.git/shortlog/refs/heads/a64-third-fourth-set
(My plan for the next patchset is basically "softfloat fixes and all of FP"; we have working and tested code that basically just needs a touch more cleanup.)
thanks
-- PMM
Alex Bennée (6):
target-arm: A64: add support for ld/st unsigned imm
target-arm: A64: add support for ld/st with reg offset
target-arm: A64: add support for ld/st with index
target-arm: A64: add support for add, addi, sub, subi
target-arm: A64: add support for move wide instructions .travis.yml: Add aarch64-* targets
Alexander Graf (3):
target-arm: A64: add support for 3 src data proc insns
target-arm: A64: implement SVC, BRK
target-arm: aarch64: add support for ld lit
Claudio Fontana (3):
target-arm: A64: add support for add/sub with carry
target-arm: A64: add support for conditional compare insns
linux-user: AArch64: define TARGET_CLONE_BACKWARDS
Michael Matz (1):
target-arm: A64: support for ld/st/cl exclusive
Peter Maydell (11):
target-arm: A64: add support for ld/st pair
target-arm: A64: Add decoder skeleton for FP instructions
target-arm: A64: implement FMOV
target-arm: Pull "add one cpreg to hashtable" into its own function
target-arm: Update generic cpreg code for AArch64
target-arm: Remove ARMCPU/CPUARMState from cpregs APIs used by decoder
target-arm: A64: Implement MRS/MSR/SYS/SYSL
target-arm: A64: Implement minimal set of EL0-visible sysregs
target-arm: Widen thread-local register state fields to 64 bits
target-arm: Widen exclusive-access support struct fields to 64 bits
default-configs: Add config for aarch64-linux-user
Will Newton (1):
linux-user: AArch64: Use correct values for FPSR/FPCR in sigcontext
.travis.yml | 1 + default-configs/aarch64-linux-user.mak | 3 + linux-user/aarch64/syscall.h | 1 + linux-user/aarch64/target_cpu.h | 5 +- linux-user/arm/target_cpu.h | 2 +- linux-user/main.c | 154 ++- linux-user/signal.c | 10 +- target-arm/cpu.h | 109 +- target-arm/helper.c | 284 ++++- target-arm/kvm-consts.h | 37 + target-arm/machine.c | 12 +- target-arm/translate-a64.c | 1949 ++++++++++++++++++++++++++++++-- target-arm/translate.c | 72 +- target-arm/translate.h | 2 + 14 files changed, 2439 insertions(+), 202 deletions(-) create mode 100644 default-configs/aarch64-linux-user.mak
Signature · 1 line
1.8.5