On 02/08/2018 09:31 AM, Alex Bennée wrote: > Much like recpe the ARM ARM has simplified the pseudo code for the > calculation which is done on a fixed point 9 bit integer maths. So > while adding f16 we can also clean this up to be a little less heavy > on the floating point and just return the fractional part and leave > the calle's to do the final packing of the result. > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > > --- > v2 > - checkpatch fixes > --- > target/arm/helper.c | 221 > ++++++++++++++++++++++++---------------------------- > target/arm/helper.h | 1 + > 2 files changed, 104 insertions(+), 118 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~