From: Christophe Lyon <christophe.lyon@st.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 1/2] softfloat: export float32_nan and float32_infinity.
Date: Wed, 16 Feb 2011 17:58:26 +0100 [thread overview]
Message-ID: <4D5C0232.20706@st.com> (raw)
In-Reply-To: <AANLkTimfd-3QUfJaar_dG=WpeL4+DzEu_cSHkaABJq8s@mail.gmail.com>
On 16.02.2011 17:54, Peter Maydell wrote:
> On 16 February 2011 14:51, <christophe.lyon@st.com> wrote:
>> From: Christophe Lyon <christophe.lyon@st.com>
>>
>> These two special values are needed to implement some helper
>> functions, which return these values in some cases.
>>
>> This patch also moves the definitions of default_nan for 16, 64, x80
>> and 128 bits floats for consistency with float32.
>
> Your other patch only uses float32_infinity, not float32_nan
> or float32_default_nan, which renders a lot of this patch moot
> at the moment.
Indeed, I have another patch for vrsqrte which does need float32_nan.
>> +#define float32_nan float32_default_nan
>
> If we do need to expose NaN, we should just have callers
> use float32_default_nan, there's no need for this extra
> #define.
>
next prev parent reply other threads:[~2011-02-16 16:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 14:51 [Qemu-devel] [PATCH v2 0/2] ARM: fix Neon vrecpe instruction christophe.lyon
2011-02-16 14:51 ` [Qemu-devel] [PATCH 1/2] softfloat: export float32_nan and float32_infinity christophe.lyon
2011-02-16 16:54 ` Peter Maydell
2011-02-16 16:58 ` Christophe Lyon [this message]
2011-02-16 14:51 ` [Qemu-devel] [PATCH 2/2] target-arm: fix support for vrecpe christophe.lyon
2011-02-16 16:47 ` Peter Maydell
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=4D5C0232.20706@st.com \
--to=christophe.lyon@st.com \
--cc=peter.maydell@linaro.org \
--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 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).