]> git.ipfire.org Git - thirdparty/glibc.git/commit
Replace {u}int_fast{16|32} with {u}int32_t
authorNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 14 Apr 2022 00:46:03 +0000 (19:46 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 14 Apr 2022 02:23:04 +0000 (21:23 -0500)
commit535e935a284b2ec96659d1ac40eebf61321f2362
tree05e8df88daa71e7dc7d39d7cdb994045e85e69b7
parentd275970ab56f8ba6a3ca598aba75db4daabe5924
Replace {u}int_fast{16|32} with {u}int32_t

On 32-bit machines this has no affect. On 64-bit machines
{u}int_fast{16|32} are set as {u}int64_t which is often not
ideal. Particularly x86_64 this change both saves code size and
may save instruction cost.

Full xcheck passes on x86_64.
19 files changed:
elf/dl-load.c
elf/dl-lookup.c
elf/dl-machine-reject-phdr.h
elf/dl-profile.c
elf/setup-vdso.h
hurd/hurdselect.c
iconv/gconv_simple.c
iconv/gconv_trans.c
iconvdata/cp932.c
iconvdata/johab.c
iconvdata/sjis.c
locale/elem-hash.h
locale/weight.h
posix/regex_internal.h
resolv/nss_dns/dns-canon.c
string/strcoll_l.c
string/strxfrm_l.c
sysdeps/mips/dl-machine-reject-phdr.h
sysdeps/unix/sysv/linux/dl-sysdep.c