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 Update copyright years. 2022-01-03 10:42:10 +01:00
dfp-bit.c Update copyright years. 2022-01-03 10:42:10 +01:00
dfp-bit.h Update copyright years. 2022-01-03 10:42:10 +01:00
divmod.c Update copyright years. 2022-01-03 10:42:10 +01:00
emutls.c Update copyright years. 2022-01-03 10:42:10 +01:00
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c Update copyright years. 2022-01-03 10:42:10 +01:00
find-symver.awk Update copyright years. 2022-01-03 10:42:10 +01:00
fixed-bit.c Update copyright years. 2022-01-03 10:42:10 +01:00
fixed-bit.h Update copyright years. 2022-01-03 10:42:10 +01:00
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c Update copyright years. 2022-01-03 10:42:10 +01:00
fp-bit.h Update copyright years. 2022-01-03 10:42:10 +01:00
gbl-ctors.h Update copyright years. 2022-01-03 10:42:10 +01:00
gcov.h gcov: Add __gcov_filename_to_gcfn() 2022-04-28 20:46:49 +02:00
gen-fixed.sh
generic-morestack-thread.c Update copyright years. 2022-01-03 10:42:10 +01:00
generic-morestack.c Update copyright years. 2022-01-03 10:42:10 +01:00
generic-morestack.h Update copyright years. 2022-01-03 10:42:10 +01:00
gstdint.h
gthr-posix.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-single.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr.h Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc2.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc2.h Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc-std.ver.in Update copyright years. 2022-01-03 10:42:10 +01:00
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 Update copyright years. 2022-01-03 10:42:10 +01:00
libgcov-merge.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcov-profiler.c Update copyright years. 2022-01-03 10:42:10 +01:00
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 Update copyright years. 2022-01-03 10:42:10 +01:00
mkmap-flat.awk Update copyright years. 2022-01-03 10:42:10 +01:00
mkmap-symver.awk Update copyright years. 2022-01-03 10:42:10 +01:00
offloadstuff.c Update copyright years. 2022-01-03 10:42:10 +01:00
shared-object.mk
siditi-object.mk
static-object.mk
sync.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivhi3.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivmod.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivmodhi4.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivmodsi4.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-arm-common.inc Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-c.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-compat.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-compat.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2-fde-compat.c Update copyright years. 2022-01-03 10:42:10 +01:00
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 Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2-fde.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-generic.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-pe.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-seh.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-sjlj.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind.inc Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_end_preinit.c Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_end.c Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_start_preinit.c Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_start.c Update copyright years. 2022-01-03 10:42:10 +01:00