mbox series

[0/3] Implement blfoat16 in softfloat

Message ID 20200813071421.2509-1-zhiwei_liu@c-sky.com
Headers show
Series Implement blfoat16 in softfloat | expand

Message

LIU Zhiwei Aug. 13, 2020, 7:14 a.m. UTC
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(+)

Comments

Richard Henderson Aug. 13, 2020, 4:06 p.m. UTC | #1
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~