Re: [RFC PATCH 6/8] fpu/softfloat: define operation for bfloat16

2020-07-13 Thread Richard Henderson
On 7/12/20 4:45 PM, LIU Zhiwei wrote: > @@ -3039,7 +3143,7 @@ static FloatParts scalbn_decomposed > return return_nan(a, s); > } > if (a.cls == float_class_normal) { > -/* The largest float type (even though not supported by FloatParts) > +/* The largest float typ

[RFC PATCH 6/8] fpu/softfloat: define operation for bfloat16

2020-07-12 Thread LIU Zhiwei
Signed-off-by: LIU Zhiwei --- fpu/softfloat.c | 146 +++- include/fpu/softfloat.h | 44 2 files changed, 189 insertions(+), 1 deletion(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 54fc889446..9a58107be3 100644 --- a/fpu/softflo