fpu/softfloat: re-factor compare
commit0c4c90929143a530730e2879204a55a30bf63758
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 5 Dec 2017 17:14:42 +0000 (5 17:14 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Feb 2018 10:21:47 +0000 (21 10:21 +0000)
tree8de5fe0c925eccc2468a53a4e4ca4afff7467543
parent89360067071b1844bf745682e18db7dde74cdb8d
fpu/softfloat: re-factor compare

The compare function was already expanded from a macro. I keep the
macro expansion but move most of the logic into a compare_decomposed.

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