On 9/28/18 2:01 AM, Thomas Huth wrote: > Our minimum required compiler for compiling QEMU is GCC 4.1 these days, > so we can drop the support for compilers which do not provide the > __builtin_clz*() functions yet. Since the countLeadingZeros32/64 are > then identical to the clz32/64 functions, and we do not have to sync > the softloat 2 codebase with upstream anymore (softloat 3 is a complete > rewrite) we can simply replace the functions with our QEMU versions. > > Suggested-by: Peter Maydell <peter.mayd...@linaro.org> > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > fpu/softfloat.c | 26 ++++++------- > include/fpu/softfloat-macros.h | 87 > ------------------------------------------ > 2 files changed, 13 insertions(+), 100 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~