[PATCH 0/3] Implement blfoat16 in softfloat

LIU Zhiwei posted 3 patches 3 years, 8 months ago
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
Test checkpatch passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200813071421.2509-1-zhiwei_liu@c-sky.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>
fpu/softfloat-specialize.inc.c |  38 ++++
fpu/softfloat.c                | 391 +++++++++++++++++++++++++++++++++
include/fpu/softfloat-types.h  |   5 +
include/fpu/softfloat.h        | 133 +++++++++++
4 files changed, 567 insertions(+)
[PATCH 0/3] Implement blfoat16 in softfloat
Posted by LIU Zhiwei 3 years, 8 months ago
As bfloat16 is more and more popular in many archs, implement bfloat16
interfaces in softfloat, so that archs can add their bfloat16 insns
based on the blfoat16 interfaces here.

These interfaces have been tested by RISU on RISC-V bfloat16 with
XuanTie C906.

LIU Zhiwei (3):
  fpu/softfloat: Define operations for bfloat16
  fpu/softfloat: Define convert operations for bfloat16
  fpu/softfloat: Define misc operations for bfloat16

 fpu/softfloat-specialize.inc.c |  38 ++++
 fpu/softfloat.c                | 391 +++++++++++++++++++++++++++++++++
 include/fpu/softfloat-types.h  |   5 +
 include/fpu/softfloat.h        | 133 +++++++++++
 4 files changed, 567 insertions(+)

-- 
2.23.0


Re: [PATCH 0/3] Implement blfoat16 in softfloat
Posted by Richard Henderson 3 years, 8 months ago
On 8/13/20 12:14 AM, LIU Zhiwei wrote:
> As bfloat16 is more and more popular in many archs, implement bfloat16
> interfaces in softfloat, so that archs can add their bfloat16 insns
> based on the blfoat16 interfaces here.
> 
> These interfaces have been tested by RISU on RISC-V bfloat16 with
> XuanTie C906.
> 
> LIU Zhiwei (3):
>   fpu/softfloat: Define operations for bfloat16
>   fpu/softfloat: Define convert operations for bfloat16
>   fpu/softfloat: Define misc operations for bfloat16
> 
>  fpu/softfloat-specialize.inc.c |  38 ++++
>  fpu/softfloat.c                | 391 +++++++++++++++++++++++++++++++++
>  include/fpu/softfloat-types.h  |   5 +
>  include/fpu/softfloat.h        | 133 +++++++++++
>  4 files changed, 567 insertions(+)
> 

Thanks.  Queued to softfloat-next.


r~