Message ID | 20200712234521.3972-4-zhiwei_liu@c-sky.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Implement blfoat16 in softfloat | expand |
On 7/12/20 4:45 PM, LIU Zhiwei wrote: > Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> > --- > fpu/softfloat.c | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
On 7/13/20 12:18 PM, Richard Henderson wrote: > On 7/12/20 4:45 PM, LIU Zhiwei wrote: >> Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> >> --- >> fpu/softfloat.c | 4 ++++ >> 1 file changed, 4 insertions(+) > > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Actually, it occurs to me that clang probably warns for unused variable. This will need merging with a patch that uses it. r~
diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 79be4f5840..1ef07d9160 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -554,6 +554,10 @@ static const FloatFmt float16_params_ahp = { .arm_althp = true }; +static const FloatFmt bfloat16_params = { + FLOAT_PARAMS(8, 7) +}; + static const FloatFmt float32_params = { FLOAT_PARAMS(8, 23) };
Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> --- fpu/softfloat.c | 4 ++++ 1 file changed, 4 insertions(+)