All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikunj Dadhania <nikunj.dadhania@gmail.com>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
	Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>,
	David Gibson <david@gibson.dropbear.id.au>,
	bharata@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v1] target/ppc: rewrite f[n]m[add, sub] using float64_muladd
Date: Thu, 2 Mar 2017 09:38:14 +0530	[thread overview]
Message-ID: <CALAZu3_e8AWbOpASxY9s97AyNd+CX=BYCMx3g4KrG2Ki6w1CZg@mail.gmail.com> (raw)
In-Reply-To: <32926f1f-ec40-420f-210b-8f5991cc9d67@twiddle.net>

On 02-Mar-2017 7:53 AM, "Richard Henderson" <rth@twiddle.net> wrote:

On 03/02/2017 11:29 AM, David Gibson wrote:

> On Wed, Mar 01, 2017 at 08:54:14PM +0530, Nikunj A Dadhania wrote:
>
>> Use the softfloat api for fused multiply-add. Also, generate VXISI using
>> a helper function by computing intermediate result.
>>
>
> Um.. I really need some information on why this is a good thing to
> do.  Is it a bugfix?  Enhancement? Simplification?
>

Looks like a bugfix to me.  Previously we were attempting the operation via
float128 as an intermediate type, which can result in double rounding
errors.

Was discussed here

https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg02000.html

Nikunj

  reply	other threads:[~2017-03-02  4:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 15:24 [Qemu-devel] [PATCH v1] target/ppc: rewrite f[n]m[add, sub] using float64_muladd Nikunj A Dadhania
2017-03-02  0:29 ` David Gibson
2017-03-02  2:22   ` Richard Henderson
2017-03-02  4:08     ` Nikunj Dadhania [this message]
2017-03-02  5:03       ` [Qemu-devel] [Qemu-ppc] " Nikunj A Dadhania
2017-03-02  2:36 ` [Qemu-devel] " Richard Henderson
2017-03-02  4:14   ` [Qemu-devel] [Qemu-ppc] " Nikunj Dadhania
2017-03-02  5:04     ` Nikunj A Dadhania

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='CALAZu3_e8AWbOpASxY9s97AyNd+CX=BYCMx3g4KrG2Ki6w1CZg@mail.gmail.com' \
    --to=nikunj.dadhania@gmail.com \
    --cc=bharata@linux.vnet.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=nikunj@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=rth@twiddle.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.