]> git.proxmox.com Git - mirror_qemu.git/commit - fpu/softfloat.c
fpu: convert float[16/32/64]_squash_denormal to new modern style
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 12 Aug 2019 16:19:33 +0000 (17:19 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 19 Aug 2019 11:07:13 +0000 (12:07 +0100)
commite6b405fe00d8e6424a58492b37a1656d1ef0929b
treed6389b265ed4849cb396aa8570ddd77527956fb2
parentf7e81a945737631c19405a39d510d2284257c3ff
fpu: convert float[16/32/64]_squash_denormal to new modern style

This also allows us to remove the extractFloat16exp/frac helpers. We
avoid using the floatXX_pack_raw functions as they are slight overkill
for masking out all but the top bit of the number. The generated code
is almost exactly the same as makes no difference to the
pre-conversion code.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
fpu/softfloat.c