target/mips: Limited support for R5900 multimedia instructions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | target/mips: Require TARGET_MIPS64 for R5900 multimedia instructionstarget/ | +16 | 4 replies | |
| 2/9 | target/mips: Introduce 32 R5900 128-bit multimedia registerstarget/ target/ | +14 | 2 replies | |
| 3/9 | target/mips: Support the R5900 PCPYLD multimedia instructiontarget/ | +23 | 1 reply | |
| 4/9 | target/mips: Support the R5900 PCPYUD multimedia instructiontarget/ | +23 | 1 reply | |
| 5/9 | target/mips: Support the R5900 LQ multimedia instructiontarget/ | +45 | 1 reply | |
| 6/9 | target/mips: Support the R5900 SQ multimedia instructiontarget/ | +42 | 1 reply | |
| 7/9 | tests/tcg/mips: Test R5900 multimedia instructions PCPYUD and PCPYLDtests/ tests/ | +71 | 1 reply | |
| 8/9 | tests/tcg/mips: Test R5900 multimedia instruction LQtests/ tests/ | +113 | 1 reply | |
| 9/9 | tests/tcg/mips: Test R5900 multimedia instruction SQtests/ tests/ | +106 | 1 reply |
Reviews trailers per patch
4 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Aleksandar Markovic |
|---|---|
| 1/9 | |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | |
| 6/9 | |
| 7/9 | R-b |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/9] target/mips: Limited support for R5900 multimedia instructions
This series introduces limited support for R5900 multimedia instructions (MMIs) by implementing and testing PCPYLD, PCPYUD, LQ and SQ.
32 128-bit multimedia registers (MMRs) are introduced. They are split into two 64-bit halves: the lower halves are the GPRs and the upper halves are accessible by the R5900-specific multimedia instructions.
The MMIs are only available with TARGET_MIPS64 since 64-bit GPRs are required.
The relation between SQ and RDHWR may need to be revisited. I'm hoping to discuss the details with Maciej.
This series has been successfully built with the 10 different build configurations
{gcc,clang} x -m64 x mips{,64}el-{linux-user,softmmu} {gcc,clang} x -m64 x mipsn32el-linux-user
in addition successfully completing the R5900 test suite
cd tests/tcg/mips/mipsr5900 && make check
cd tests/tcg/mips/mipsn32r5900 && make checkFredrik Noring (9):
target/mips: Require TARGET_MIPS64 for R5900 multimedia instructions target/mips: Introduce 32 R5900 128-bit multimedia registers target/mips: Support the R5900 PCPYLD multimedia instruction target/mips: Support the R5900 PCPYUD multimedia instruction target/mips: Support the R5900 LQ multimedia instruction target/mips: Support the R5900 SQ multimedia instruction tests/tcg/mips: Test R5900 multimedia instructions PCPYUD and PCPYLD tests/tcg/mips: Test R5900 multimedia instruction LQ tests/tcg/mips: Test R5900 multimedia instruction SQ
target/mips/cpu.h | 2 + target/mips/translate.c | 180 +++++++++++++++++++++++--- tests/tcg/mips/mipsn32r5900/Makefile | 27 ++++ tests/tcg/mips/mipsn32r5900/lq.c | 111 ++++++++++++++++ tests/tcg/mips/mipsn32r5900/pcpyuld.c | 46 +++++++ tests/tcg/mips/mipsn32r5900/sq.c | 105 +++++++++++++++ 6 files changed, 452 insertions(+), 19 deletions(-) create mode 100644 tests/tcg/mips/mipsn32r5900/Makefile create mode 100644 tests/tcg/mips/mipsn32r5900/lq.c create mode 100644 tests/tcg/mips/mipsn32r5900/pcpyuld.c create mode 100644 tests/tcg/mips/mipsn32r5900/sq.c
Signature · 1 line
2.19.2