fpu/softfloat: Make is_nan et al available to softfloat-specialize.h
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 11 May 2018 17:36:25 +0000 (10:36 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 17 May 2018 22:27:15 +0000 (15:27 -0700)
commit247d1f2190c5530fd18fe92a145d0a1985fca4e4
tree1f060641d71d5a14f7f0f9839c9d2bdcf18c6a75
parent03385dfdaaa2dc31bbd07d13244a6b037bfab4cc
fpu/softfloat: Make is_nan et al available to softfloat-specialize.h

We will need these helpers within softfloat-specialize.h, so move
the definitions above the include.  After specialization, they will
not always be used so mark them to avoid the Werror.

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