]> git.proxmox.com Git - mirror_qemu.git/commit - fpu/softfloat.c
softfloat: Use post test for floatN_mul
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 4 May 2020 23:57:21 +0000 (16:57 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 19 May 2020 15:40:33 +0000 (08:40 -0700)
commitb240c9c497b9880ac0ba29465907d5ebecd48083
tree49b07a9885fc4418e5dbc352ab3effcd88ccfa2b
parentf2465433b43fb87766d79f42191607dac4aed5b4
softfloat: Use post test for floatN_mul

The existing f{32,64}_addsub_post test, which checks for zero
inputs, is identical to f{32,64}_mul_fast_test.  Which means
we can eliminate the fast_test/fast_op hooks in favor of
reusing the same post hook.

This means we have one fewer test along the fast path for multiply.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
fpu/softfloat.c