From: Richard Henderson <rth@twiddle.net>
To: Tom Musta <tommusta@gmail.com>, qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [V3 PATCH 00/14] target-ppc: VSX Stage 4
Date: Wed, 04 Dec 2013 13:25:01 +1300 [thread overview]
Message-ID: <529E765D.7010401@twiddle.net> (raw)
In-Reply-To: <1386086305-8163-1-git-send-email-tommusta@gmail.com>
On 12/04/2013 04:58 AM, Tom Musta wrote:
> This is the fourth and final series of patches that add emulation support
> to QEMU for the PowerPC Vector Scalar Extension (VSX).
>
> This series adds the instructions that were newly introduced with Power ISA
> V2.07. This includes 3 scalar load instructions, 2 scalar store instructions,
> 7 standard single precision scalar arithmetic instructions, 8 scalar single
> precision fused multiply/add instructions, two integer-to-single-precision
> conversion instructions and 3 vector logical instructions.
>
> The single-precision scalar arithmetic instructions all interpret the most
> significant 64 bits of a VSR as a single precision floating point number
> stored in double precision format (similar to the standard PowerPC floating
> point single precision instructions). Thus a common theme in the supporting
> code is rounding of an intermediate double-precision number to single
> precision.
>
> V2: (a) Changed the rounding to single precision to reuse the existing
> helper_frsp() routine. (b) Re-implemented the fused multiply/add instructions
> to use float32_muladd instead of float64_muladd, which avoids subtle rounding
> errors.
>
> V3: Re-implemented fused multiply/add (patch 0012/0014) per clarification
> from Richard Henderson.
>
> Tom Musta (14):
> target-ppc: VSX Stage 4: Add VSX 2.07 Flag
> target-ppc: VSX Stage 4: Refactor lxsdx
> target-ppc: VSX Stage 4: Add lxsiwax, lxsiwzx and lxsspx
> target-ppc: VSX Stage 4: Refactor stxsdx
> target-ppc: VSX Stage 4: Add stxsiwx and stxsspx
> target-ppc: VSX Stage 4: Add xsaddsp and xssubsp
> target-ppc: VSX Stage 4: Add xsmulsp
> target-ppc: VSX Stage 4: Add xsdivsp
> target-ppc: VSX Stage 4: Add xsresp
> target-ppc: VSX Stage 4: Add xssqrtsp
> target-ppc: VSX Stage 4: add xsrsqrtesp
> target-ppc: VSX Stage 4: Add Scalar SP Fused Multiply-Adds
> target-ppc: VSX Stage 4: Add xscvsxdsp and xscvuxdsp
> target-ppc: VSX Stage 4: Add xxleqv, xxlnand and xxlorc
>
> target-ppc/cpu.h | 4 +-
> target-ppc/fpu_helper.c | 197 ++++++++++++++++++++++++++++---------------
> target-ppc/helper.h | 18 ++++
> target-ppc/translate.c | 110 ++++++++++++++++++------
> target-ppc/translate_init.c | 2 +-
> 5 files changed, 236 insertions(+), 95 deletions(-)
>
I think I've now reviewed the entire series, as I think that only the fma patch
was really outstanding. It would be helpful if you'd copy any given
Reviewed-by into the patch description for subsequent rounds, if the patch is
unchanged.
r~
next prev parent reply other threads:[~2013-12-04 0:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-03 15:58 [Qemu-devel] [V3 PATCH 00/14] target-ppc: VSX Stage 4 Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 01/14] target-ppc: VSX Stage 4: Add VSX 2.07 Flag Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 02/14] target-ppc: VSX Stage 4: Refactor lxsdx Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 03/14] target-ppc: VSX Stage 4: Add lxsiwax, lxsiwzx and lxsspx Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 04/14] target-ppc: VSX Stage 4: Refactor stxsdx Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 05/14] target-ppc: VSX Stage 4: Add stxsiwx and stxsspx Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 06/14] target-ppc: VSX Stage 4: Add xsaddsp and xssubsp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 07/14] target-ppc: VSX Stage 4: Add xsmulsp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 08/14] target-ppc: VSX Stage 4: Add xsdivsp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 09/14] target-ppc: VSX Stage 4: Add xsresp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 10/14] target-ppc: VSX Stage 4: Add xssqrtsp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 11/14] target-ppc: VSX Stage 4: add xsrsqrtesp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 12/14] target-ppc: VSX Stage 4: Add Scalar SP Fused Multiply-Adds Tom Musta
2013-12-04 0:23 ` Richard Henderson
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 13/14] target-ppc: VSX Stage 4: Add xscvsxdsp and xscvuxdsp Tom Musta
2013-12-03 15:58 ` [Qemu-devel] [V3 PATCH 14/14] target-ppc: VSX Stage 4: Add xxleqv, xxlnand and xxlorc Tom Musta
2013-12-04 0:25 ` Richard Henderson [this message]
2013-12-04 18:13 ` [Qemu-devel] [V3 PATCH 00/14] target-ppc: VSX Stage 4 Tom Musta
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=529E765D.7010401@twiddle.net \
--to=rth@twiddle.net \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=tommusta@gmail.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).