aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-09-28 09:01:35 +0200
committerRichard Henderson <richard.henderson@linaro.org>2018-10-05 12:57:41 -0500
commit0019d5c3a18c31604fb55f9cec3ceb13999c4866 (patch)
treec4f719e072b86548cc72d2e663b956fc4e6f998d /arch_init.c
parent3ac1f81329f4dfdc10a51e180f9cf28dbcb02a3c (diff)
downloadqemu-0019d5c3a18c31604fb55f9cec3ceb13999c4866.zip
qemu-0019d5c3a18c31604fb55f9cec3ceb13999c4866.tar.gz
qemu-0019d5c3a18c31604fb55f9cec3ceb13999c4866.tar.bz2
softfloat: Replace countLeadingZeros32/64 with clz32/64
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.maydell@linaro.org> Acked-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1538118095-7003-1-git-send-email-thuth@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions