qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Leon Alrae <leon.alrae@imgtec.com>
To: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: qemu-devel@nongnu.org, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH v3 00/19] target-mips: add MSA module
Date: Sun, 2 Nov 2014 22:14:13 +0000	[thread overview]
Message-ID: <5456ACB5.304@imgtec.com> (raw)
In-Reply-To: <1414819733-30765-1-git-send-email-yongbok.kim@imgtec.com>

On 01/11/14 05:28, Yongbok Kim wrote:
> For 2.2 Release.
> 
> The following patchset implements MIPS SIMD Architecture module.
> MSA adds new instructions to MIPS Architecture that allow efficient
> parallel processing of vector operations.
> 
> For more information refer to:
> MIPS Architecture Reference Manual
> Volume IV-j: The MIPS32 SIMD Architecture Module
> The document (MD00867) is available at:
> http://www.imgtec.com/mips/architectures/simd.asp
> 
> The MSA floating-point is compliant with the IEEE Standard for Floating-Point
> Arithmetic 754TM-2008. However this patchset is not set up with the IEEE-2008
> option as QEMU softfloat for MIPS has not been updated yet.
> 
> v3:
> * fixes for mixed declarations and code
> * remove duplicated code
> * change data format for immediate values
> 
> v2:
> * fixes for Leon's and James' comments
> * rebased top of R6 patchset
> * Code refactored mainly for msa_helper.c
> 
> Yongbok Kim (19):
>   target-mips: add MSA defines and data structure
>   target-mips: add MSA exceptions
>   target-mips: remove duplicated mips/ieee mapping function
>   target-mips: stop translation after ctc1
>   target-mips: add MSA opcode enum
>   target-mips: add msa_reset(), global msa register
>   target-mips: add msa_helper.c
>   target-mips: add MSA branch instructions
>   target-mips: add MSA I8 format instructions
>   target-mips: add MSA I5 format instruction
>   target-mips: add MSA BIT format instructions
>   target-mips: add MSA 3R format instructions
>   target-mips: add MSA ELM format instructions
>   target-mips: add MSA 3RF format instructions
>   target-mips: add MSA VEC/2R format instructions
>   target-mips: add MSA 2RF format instructions
>   target-mips: add MSA MI10 format instructions
>   disas/mips.c: disassemble MSA instructions
>   target-mips: add MSA support to mips32r5-generic
> 
>  disas/mips.c                 |  716 +++++++++-
>  target-mips/Makefile.objs    |    2 +-
>  target-mips/cpu.h            |   56 +-
>  target-mips/gdbstub.c        |    7 -
>  target-mips/helper.c         |   10 +
>  target-mips/helper.h         |  185 +++
>  target-mips/mips-defs.h      |    1 +
>  target-mips/msa_helper.c     | 3437 ++++++++++++++++++++++++++++++++++++++++++
>  target-mips/op_helper.c      |   89 +-
>  target-mips/translate.c      | 1647 +++++++++++++++++++--
>  target-mips/translate_init.c |   39 +-
>  11 files changed, 6052 insertions(+), 137 deletions(-)
>  create mode 100644 target-mips/msa_helper.c
> 

This patchset certainly looks cleaner than previous versions - thanks!
However, there are still some wrinkles to iron out, and also there is
room for improvement - for example big-endian host issue, "switch (df)"
present in each helper even though data format is known at translation
time, missing register partitioning etc.). Having said that I think this
patchset deserves to be merged as it introduces significant amount of
tested MIPS SIMD instructions. In my opinion further MSA improvements
and cleaning can be done as a part of separate patchset (I'll be happy
to help doing that), thus I'm going to apply it to mips-next branch.

Thanks,
Leon

  parent reply	other threads:[~2014-11-02 22:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-01  5:28 [Qemu-devel] [PATCH v3 00/19] target-mips: add MSA module Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 01/19] target-mips: add MSA defines and data structure Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 02/19] target-mips: add MSA exceptions Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 03/19] target-mips: remove duplicated mips/ieee mapping function Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 04/19] target-mips: stop translation after ctc1 Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 05/19] target-mips: add MSA opcode enum Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 06/19] target-mips: add msa_reset(), global msa register Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 07/19] target-mips: add msa_helper.c Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 08/19] target-mips: add MSA branch instructions Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 09/19] target-mips: add MSA I8 format instructions Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 10/19] target-mips: add MSA I5 format instruction Yongbok Kim
2014-11-02 17:53   ` Leon Alrae
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 11/19] target-mips: add MSA BIT format instructions Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 12/19] target-mips: add MSA 3R " Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 13/19] target-mips: add MSA ELM " Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 14/19] target-mips: add MSA 3RF " Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 15/19] target-mips: add MSA VEC/2R " Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 16/19] target-mips: add MSA 2RF " Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 17/19] target-mips: add MSA MI10 " Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 18/19] disas/mips.c: disassemble MSA instructions Yongbok Kim
2014-11-01  5:28 ` [Qemu-devel] [PATCH v3 19/19] target-mips: add MSA support to mips32r5-generic Yongbok Kim
2014-11-02 20:06   ` Leon Alrae
2014-11-02 22:14 ` Leon Alrae [this message]
2014-11-02 23:08   ` [Qemu-devel] [PATCH v3 00/19] target-mips: add MSA module Peter Maydell
2014-11-03 10:54     ` Leon Alrae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5456ACB5.304@imgtec.com \
    --to=leon.alrae@imgtec.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    --cc=yongbok.kim@imgtec.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).