gcc/libgcc
Christophe Lyon 5143faee0d libgcc: use __builtin_clz and __builtin_ctz in libbid
This patch replaces libbid's implementations of clz and ctz for 32 and
64 bits inputs which used several masks, and switches to the
corresponding builtins. This will provide a better implementation,
especially on targets with clz/ctz instructions.

2022-05-06  Christophe Lyon  <christophe.lyon@arm.com>

libgcc/config/libbid/ChangeLog:

	* bid_binarydecimal.c (CLZ32_MASK16): Delete.
	(CLZ32_MASK8): Delete.
	(CLZ32_MASK4): Delete.
	(CLZ32_MASK2): Delete.
	(CLZ32_MASK1): Delete.
	(clz32_nz): Use __builtin_clz.
	(ctz32_1bit): Delete.
	(ctz32): Use __builtin_ctz.
	(CLZ64_MASK32): Delete.
	(CLZ64_MASK16): Delete.
	(CLZ64_MASK8): Delete.
	(CLZ64_MASK4): Delete.
	(CLZ64_MASK2): Delete.
	(CLZ64_MASK1): Delete.
	(clz64_nz): Use __builtin_clzl.
	(ctz64_1bit): Delete.
	(ctz64): Use __builtin_ctzl.
2022-05-20 09:36:08 +02:00
..
config libgcc: use __builtin_clz and __builtin_ctz in libbid 2022-05-20 09:36:08 +02:00
soft-fp
ChangeLog Daily bump. 2022-05-14 00:17:19 +00:00
config.host libgcc: enable DFP for AArch64 2022-05-20 09:33:52 +02:00
config.in
configure aarch64: Enable DFP (Decimal Floating-point) (BID format) 2022-05-20 09:31:15 +02:00
configure.ac LoongArch Port: libgcc 2022-03-29 17:43:35 +08:00
crtstuff.c
dfp-bit.c
dfp-bit.h
divmod.c
emutls.c
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c
find-symver.awk
fixed-bit.c
fixed-bit.h
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c
fp-bit.h
gbl-ctors.h
gcov.h gcov: Add __gcov_filename_to_gcfn() 2022-04-28 20:46:49 +02:00
gen-fixed.sh
generic-morestack-thread.c
generic-morestack.c
generic-morestack.h
gstdint.h
gthr-posix.h
gthr-single.h
gthr.h
libgcc2.c
libgcc2.h
libgcc-std.ver.in
libgcov-driver-system.c gcov: Add open mode parameter to gcov_do_dump() 2022-04-28 20:46:49 +02:00
libgcov-driver.c libgcov: add ATTRIBUTE_UNUSED for dump_string 2022-05-02 06:46:05 +02:00
libgcov-interface.c
libgcov-merge.c
libgcov-profiler.c
libgcov-util.c gcov: Use xstrerror() 2022-04-28 20:46:50 +02:00
libgcov.h libgcov: use proper type for n_functions 2022-05-10 12:47:10 +02:00
Makefile.in libgcc: Add support for HF mode (aka _Float16) in libbid 2022-05-20 09:35:54 +02:00
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh
mkmap-flat.awk
mkmap-symver.awk
offloadstuff.c
shared-object.mk
siditi-object.mk
static-object.mk
sync.c
udivhi3.c
udivmod.c
udivmodhi4.c
udivmodsi4.c
unwind-arm-common.inc
unwind-c.c
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-dip.c libgcc: fix a warning calling find_fde_tail 2022-02-25 03:10:37 +08:00
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-seh.c
unwind-sjlj.c
unwind.inc
vtv_end_preinit.c
vtv_end.c
vtv_start_preinit.c
vtv_start.c