qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/9] target/mips: Limited support for R5900 multimedia instructions
@ 2019-01-13 19:00 Fredrik Noring
  2019-01-13 19:02 ` [Qemu-devel] [PATCH 1/9] target/mips: Require TARGET_MIPS64 " Fredrik Noring
                   ` (9 more replies)
  0 siblings, 10 replies; 24+ messages in thread
From: Fredrik Noring @ 2019-01-13 19:00 UTC (permalink / raw)
  To: Aleksandar Markovic, Aurelien Jarno, Philippe Mathieu-Daudé
  Cc: Jürgen Urban, Maciej W. Rozycki, qemu-devel

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 check

Fredrik 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

-- 
2.19.2

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2019-01-20 18:18 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-13 19:00 [Qemu-devel] [PATCH 0/9] target/mips: Limited support for R5900 multimedia instructions Fredrik Noring
2019-01-13 19:02 ` [Qemu-devel] [PATCH 1/9] target/mips: Require TARGET_MIPS64 " Fredrik Noring
2019-01-15 21:03   ` Aleksandar Markovic
2019-01-16 15:36     ` Fredrik Noring
2019-01-16 19:20       ` Aleksandar Markovic
2019-01-20 18:18         ` "Jürgen Urban"
2019-01-13 19:03 ` [Qemu-devel] [PATCH 2/9] target/mips: Introduce 32 R5900 128-bit multimedia registers Fredrik Noring
2019-01-15 21:20   ` Aleksandar Markovic
2019-01-17 17:03     ` Aleksandar Markovic
2019-01-13 19:03 ` [Qemu-devel] [PATCH 3/9] target/mips: Support the R5900 PCPYLD multimedia instruction Fredrik Noring
2019-01-15 21:24   ` Aleksandar Markovic
2019-01-13 19:04 ` [Qemu-devel] [PATCH 4/9] target/mips: Support the R5900 PCPYUD " Fredrik Noring
2019-01-15 21:28   ` Aleksandar Markovic
2019-01-13 19:05 ` [Qemu-devel] [PATCH 5/9] target/mips: Support the R5900 LQ " Fredrik Noring
2019-01-15 21:34   ` Aleksandar Markovic
2019-01-13 19:06 ` [Qemu-devel] [PATCH 6/9] target/mips: Support the R5900 SQ " Fredrik Noring
2019-01-15 21:37   ` Aleksandar Markovic
2019-01-13 19:07 ` [Qemu-devel] [PATCH 7/9] tests/tcg/mips: Test R5900 multimedia instructions PCPYUD and PCPYLD Fredrik Noring
2019-01-15 21:45   ` Aleksandar Markovic
2019-01-13 19:08 ` [Qemu-devel] [PATCH 8/9] tests/tcg/mips: Test R5900 multimedia instruction LQ Fredrik Noring
2019-01-15 21:56   ` Aleksandar Markovic
2019-01-13 19:09 ` [Qemu-devel] [PATCH 9/9] tests/tcg/mips: Test R5900 multimedia instruction SQ Fredrik Noring
2019-01-15 21:57   ` Aleksandar Markovic
2019-01-14  2:53 ` [Qemu-devel] [PATCH 0/9] target/mips: Limited support for R5900 multimedia instructions no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).