Commit 202261b5f0bfe5ab8962209f67781a9b7b6e55c3

Paul Eggert 2024-05-09T17:41:19

stdbit-tests: new module * config/srclist.txt: Add files containing stdbit test cases shared with glibc. * modules/stdbit-tests: New file. * tests/support/test-driver.c, tests/tst-stdbit.h: New files, copied from glibc with changes. * tests/tst-stdc_bit_ceil.c: * tests/tst-stdc_bit_floor.c, tests/tst-stdc_bit_width.c: * tests/tst-stdc_count_ones.c, tests/tst-stdc_count_zeros.c: * tests/tst-stdc_first_leading_one.c: * tests/tst-stdc_first_leading_zero.c: * tests/tst-stdc_first_trailing_one.c: * tests/tst-stdc_first_trailing_zero.c: * tests/tst-stdc_has_single_bit.c, tests/tst-stdc_leading_ones.c: * tests/tst-stdc_leading_zeros.c, tests/tst-stdc_trailing_ones.c: * tests/tst-stdc_trailing_zeros.c: New files, copied verbatim from glibc.