target/mips: add missing Octeon user-mode support (first half)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v12 Latest24 patches 4 repliesIn review
- v1124 patches 13 repliesSuperseded
Since v10 from the cover letter
- addressed rth review comments (rewording comment)
- pass gen_atomic_*() in do_atomic_ld()
- use tcg_zero_i128() in ZCB*
- re-order TRANS(trans_lx) lines
Patches in v12 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | linux-user/mips: implement sysmips(MIPS_FLUSH_CACHE)linux-user/ linux-user/ linux-user/ | +19 | 0 replies | |
| 2/24 | linux-user/mips: implement sysmips(MIPS_ATOMIC_SET)linux-user/ linux-user/ linux-user/ | +33 | 0 replies | |
| 3/24 | linux-user/mips, target/mips: honor MIPS_FIXADE for unaligned accesseslinux-user/ linux-user/ linux-user/ +4 more | +32 | 0 replies | |
| 4/24 | target/mips: expose Octeon68XX floating-point supporttarget/ | +8 | 0 replies | |
| 5/24 | tests/tcg/mips: add Octeon instruction smoke testMAINTAINERS tests/ tests/ +1 more | +42 | 0 replies | |
| 6/24 | target/mips: fix Octeon arithmetic destination handlingtarget/ tests/ | +39 | 0 replies | |
| 7/24 | target/mips: drop Octeon zero-register fast pathstarget/ tests/ | +16 | 0 replies | |
| 8/24 | target/mips: split Octeon SEQ/SNE decodetarget/ target/ tests/ | +52 | 0 replies | |
| 9/24 | target/mips: split Octeon SEQI/SNEI decodetarget/ target/ | +16 | 0 replies | |
| 10/24 | target/mips: add Octeon LBX instructiontarget/ target/ | +2 | 0 replies | |
| 11/24 | target/mips: add Octeon LHUX instructiontarget/ target/ | +2 | 0 replies | |
| 12/24 | target/mips: add Octeon LWUX instructiontarget/ target/ | +2 | 0 replies | |
| 13/24 | target/mips: add Octeon SAA instructiontarget/ target/ | +19 | 0 replies | |
| 14/24 | target/mips: add Octeon SAAD instructiontarget/ target/ | +2 | 0 replies | |
| 15/24 | target/mips: add Octeon ZCB and ZCBT instructionstarget/ target/ | +28 | 1 reply | |
| 16/24 | tcg: Introduce tcg_gen_addN_i64include/ tcg/ | +43 | 0 replies | |
| 17/24 | target/mips: add Octeon multiplier statetarget/ target/ target/ +1 more | +65 | 0 replies | |
| 18/24 | target/mips: add Octeon MTM instructionstarget/ target/ | +39 | 0 replies | |
| 19/24 | target/mips: add Octeon MTP instructionstarget/ target/ | +27 | 1 reply | |
| 20/24 | target/mips: add Octeon VMULU instructiontarget/ target/ tests/ | +86 | 0 replies | |
| 21/24 | target/mips: add Octeon VMM0 instructiontarget/ target/ tests/ | +72 | 0 replies | |
| 22/24 | target/mips: add Octeon V3MULU instructiontarget/ target/ | +41 | 0 replies | |
| 23/24 | target/mips: add Octeon QMAC instructionstarget/ target/ | +66 | 0 replies | |
| 24/24 | target/mips: add Octeon LA* atomic instructionstarget/ target/ | +66 | 1 reply |
Reviews trailers per patch
22 of 24 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Philippe Mathieu-Daudé |
|---|---|---|
| 1/24 | R-b | |
| 2/24 | R-b | |
| 3/24 | R-b | |
| 4/24 | T-b | |
| 5/24 | R-b | R-b |
| 6/24 | R-b | R-b |
| 7/24 | R-b | R-b |
| 8/24 | R-b | R-b |
| 9/24 | R-b | R-b |
| 10/24 | R-b | R-b |
| 11/24 | R-b | R-b |
| 12/24 | R-b | R-b |
| 13/24 | R-b | R-b |
| 14/24 | R-b | R-b |
| 15/24 | A-b | R-b |
| 16/24 | R-b | |
| 17/24 | R-b | R-b |
| 18/24 | R-b | R-b |
| 19/24 | R-b | R-b |
| 20/24 | T-b | |
| 21/24 | R-b | T-b R-b |
| 22/24 | R-b | |
| 23/24 | R-b | R-b |
| 24/24 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v12 00/24] target/mips: add missing Octeon user-mode support (first half)
Since v10:
- addressed rth review comments (rewording comment)
- pass gen_atomic_*() in do_atomic_ld()
- use tcg_zero_i128() in ZCB*
- re-order TRANS(trans_lx) lines
Respinning first half of James v10, adding tests with each patch modifying an instruction instead of all at the end. Split SEQNE/SEQNEI patch to ease review.
Based-on: rth/tcg-next
James Hilliard (23):
linux-user/mips: implement sysmips(MIPS_FLUSH_CACHE) linux-user/mips: implement sysmips(MIPS_ATOMIC_SET) linux-user/mips, target/mips: honor MIPS_FIXADE for unaligned accesses target/mips: expose Octeon68XX floating-point support tests/tcg/mips: add Octeon instruction smoke test target/mips: fix Octeon arithmetic destination handling target/mips: drop Octeon zero-register fast paths target/mips: split Octeon SEQ/SNE decode
target/mips: split Octeon SEQI/SNEI decode
target/mips: add Octeon LBX instruction
target/mips: add Octeon LHUX instruction
target/mips: add Octeon LWUX instruction
target/mips: add Octeon SAA instruction
target/mips: add Octeon SAAD instruction
target/mips: add Octeon ZCB and ZCBT instructions target/mips: add Octeon multiplier state
target/mips: add Octeon MTM instructions
target/mips: add Octeon MTP instructions
target/mips: add Octeon VMULU instruction
target/mips: add Octeon VMM0 instruction
target/mips: add Octeon V3MULU instruction
target/mips: add Octeon QMAC instructions
target/mips: add Octeon LA* atomic instructions
Richard Henderson (1):
tcg: Introduce tcg_gen_addN_i64
MAINTAINERS | 2 +- include/tcg/tcg-op-common.h | 1 + linux-user/mips/target_syscall.h | 3 + linux-user/mips64/target_syscall.h | 3 + target/mips/cpu.h | 16 + target/mips/tcg/translate.h | 2 + target/mips/tcg/octeon.decode | 54 ++- linux-user/mips/cpu_loop.c | 5 + linux-user/syscall.c | 56 +++ target/mips/cpu.c | 10 +- target/mips/system/machine.c | 33 ++ target/mips/tcg/octeon_translate.c | 384 +++++++++++++++--- target/mips/tcg/translate.c | 24 +- tcg/tcg-op.c | 42 ++ tests/tcg/mips/user/isa/octeon/octeon-insns.c | 204 ++++++++++ target/mips/cpu-defs.c.inc | 10 +- tests/tcg/mips64/Makefile.target | 20 + tests/tcg/mips64el/Makefile.target | 8 + 18 files changed, 817 insertions(+), 60 deletions(-) create mode 100644 tests/tcg/mips/user/isa/octeon/octeon-insns.c create mode 100644 tests/tcg/mips64/Makefile.target create mode 100644 tests/tcg/mips64el/Makefile.target
Signature · 1 line
2.53.0