aboutsummaryrefslogtreecommitdiff
path: root/vgafont.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-04-14 00:49:29 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-17 20:32:14 +0200
commitb3b4c7f33fc8e51db75bf4abaf4a631c2f1fb23b (patch)
treeb2ae2e51d576be0a351cc65cb84848e3093f14e6 /vgafont.h
parenta0102082de4026833afbd2525e8a6320d1f92885 (diff)
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>
Diffstat (limited to 'vgafont.h')
0 files changed, 0 insertions, 0 deletions