From: "Alex Bennée" <alex.bennee@linaro.org>
To: LIU Zhiwei <zhiwei_liu@c-sky.com>
Cc: Richard Henderson <richard.henderson@linaro.org>,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Subject: Re: fpu/softfloat: a question on BFloat 16 support on QEMU
Date: Mon, 08 Jun 2020 16:50:44 +0100 [thread overview]
Message-ID: <87img15zfv.fsf@linaro.org> (raw)
In-Reply-To: <ea06c0c3-465e-34a5-5427-41ae6bf583dc@c-sky.com>
LIU Zhiwei <zhiwei_liu@c-sky.com> writes:
> Hi Richard,
>
> I am doing bfloat16 support on QEMU.
>
> Once I tried to reuse float32 interface, but I couldn't properly process
> rounding in some insns like fadd.
What do you mean by re-use the float32 interface? Isn't bfloat16 going
to be pretty much the same as float16 but with some slightly different
float parameters for the different encoding?
Like the float16 code it won't have to deal with any of the hardfloat
wrappers so it should look pretty similar.
>
> What's your opinion about it? Should I expand the fpu/softfloat?
bfloat16 is certainly going to become more common that we should have
common softfloat code to handle it. It would be nice is TestFloat could
exercise it as well.
>
> Best Regards,
> Zhiwei
--
Alex Bennée
next prev parent reply other threads:[~2020-06-08 15:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 12:53 fpu/softfloat: a question on BFloat 16 support on QEMU LIU Zhiwei
2020-06-08 15:50 ` Alex Bennée [this message]
2020-06-09 3:02 ` LIU Zhiwei
2020-06-09 9:42 ` Alex Bennée
2020-06-09 11:16 ` LIU Zhiwei
2020-06-17 7:09 ` LIU Zhiwei
2020-06-26 15:58 ` Richard Henderson
2020-06-08 19:34 ` Richard Henderson
2020-06-09 3:09 ` LIU Zhiwei
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=87img15zfv.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zhiwei_liu@c-sky.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).