LIU Zhiwei <[email protected]> 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
