summary refs log tree commit diff stats
path: root/scripts/argparse.py
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2018-03-01 11:05:55 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-03-01 11:13:59 +0000
commitd719cbc7641991d16b891ffbbfc3a16a04e37b9a (patch)
tree705659ec22bf4493d21c4366f30022e975b3a4f4 /scripts/argparse.py
parentb96a54c7e5576bd35b7d00d37b7929d2892d8cac (diff)
downloadfocaccia-qemu-d719cbc7641991d16b891ffbbfc3a16a04e37b9a.tar.gz
focaccia-qemu-d719cbc7641991d16b891ffbbfc3a16a04e37b9a.zip
arm/helper.c: re-factor rsqrte and add rsqrte_f16
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.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180227143852.11175-27-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/argparse.py')
0 files changed, 0 insertions, 0 deletions