All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Xiangyu Hu <libhu.so@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Fix FMULX not squashing denormalized inputs when FZ is set.
Date: Thu, 29 Jan 2015 19:20:22 +0000	[thread overview]
Message-ID: <CAFEAcA8P937NoWmx88EdmS=mGL16B=Pn7-FdgVX2ne-B1cZjqw@mail.gmail.com> (raw)
In-Reply-To: <1422459650-12490-1-git-send-email-libhu.so@gmail.com>

On 28 January 2015 at 15:40, Xiangyu Hu <libhu.so@gmail.com> wrote:
> While FMULX returns a 2.0f float when two operators are infinity and
> zero, those operators should be unpacked from raw inputs first. Inconsistent
> cases would occur when operators are denormalized floats in flush-to-zero
> mode. A wrong codepath will be entered and 2.0f will not be returned
> without this patch.
> Fix by checking whether inputs need to be flushed before running into
> different codepaths.
>
> Signed-off-by: Xiangyu Hu <libhu.so@gmail.com>

Applied to target-arm.next, thanks.

It looks like we have equivalent bugs in the FRECPS and
FRSQRTS instructions...

-- PMM

      reply	other threads:[~2015-01-29 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 15:40 [Qemu-devel] [PATCH] Fix FMULX not squashing denormalized inputs when FZ is set Xiangyu Hu
2015-01-29 19:20 ` Peter Maydell [this message]

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='CAFEAcA8P937NoWmx88EdmS=mGL16B=Pn7-FdgVX2ne-B1cZjqw@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=libhu.so@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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.