qemu-patch-raspberry4/fpu
Aurelien Jarno b3b4c7f33f softfloat: use GCC builtins to count the leading zeros
Softfloat has its own implementation to count the leading zeros. However
a lot of architectures have either a dedicated instruction or an
optimized to do that. When using GCC >= 3.4, this patch uses GCC builtins
instead of the handcoded implementation.

Note that I amware that QEMU_GNUC_PREREQ is defined in osdep.h and that
clz32() and clz64() are defined in host-utils.h, but I think it is better
to keep the softfloat implementation self contained.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2011-04-17 20:32:14 +02:00
..
softfloat-macros.h softfloat: use GCC builtins to count the leading zeros 2011-04-17 20:32:14 +02:00
softfloat-native.c softfloat: Drop [s]bits{8, 16, 32, 64} types in favor of [u]int{8, 16, 32, 64}_t 2011-03-21 21:46:14 +01:00
softfloat-native.h softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan() 2011-01-02 11:15:25 +01:00
softfloat-specialize.h unicore32: necessary modifications for other files to support unicore32 2011-04-12 18:49:05 +00:00
softfloat.c softfloat: Add float*_min() and float*_max() functions 2011-04-03 17:19:38 +02:00
softfloat.h softfloat: Add setter function for tininess detection mode 2011-04-12 23:33:33 +02:00