History log of /src/tests/include/sys/t_bitops.c |
Revision | | Date | Author | Comments |
1.22 |
| 01-Nov-2024 |
riastradh | strings.h: Spruce up for POSIX 2024.
1. Add ffsl, ffsll. 2. Hide bcmp, bcopy, bzero, index, rindex for POSIX>=2024. 3. Expose ffs only for NetBSD or POSIX>=2008 with XSI option. 4. Hide popcount* NetBSD extensions for any POSIX. 5. Sprinkle __constfunc on ffs*.
Add tests for ffs/ffsl/ffsll in tests/include/sys/t_bitops next to ffs32/ffs64 for convenience.
XXX Still missing strcasecmp_l, strncasecmp_l, and locale_t.
PR lib/58802: missing ffsl(), ffsll() functions from POSIX 2024
|
1.21 |
| 13-Jul-2023 |
riastradh | t_bitops: Show the bad results on failure.
|
1.20 |
| 25-Jul-2018 |
kamil | Avoid undefined behavior in an ATF test: t_bitops
Do not change the signedness bit with a left shift operation. Switch to unsigned integer to prevent this.
t_bitops.c:189:9, left shift of 1 by 31 places cannot be represented in type 'int'
Detected with micro-UBSan in the user mode.
|
1.19 |
| 21-Mar-2015 |
isaki | branches: 1.19.14; 1.19.16; one more white space -> tab.
|
1.18 |
| 21-Mar-2015 |
isaki | Rewrite ilog2's test. PR lib/49745. - Reorganize ilog2_basic to ilog2_32bit, ilog2_64bit and ilog2_const. ilog2_const is compile-time test for __builtin_constant_p() part of current ilog2() implementation. - Remove fully meaningless ilog2_log2. So this part of PR misc/44767 is no longer present.
|
1.17 |
| 14-Mar-2015 |
isaki | white space -> tab.
|
1.16 |
| 07-Dec-2012 |
christos | use __BITMAP_TYPE
|
1.15 |
| 04-Dec-2012 |
jruoho | Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs.
|
1.14 |
| 31-Oct-2011 |
pgoyette | branches: 1.14.2; 1.14.8; No need to keep on trying when this fails in the expected manner. We really don't need to have 32k failures.
OK jruoho@
|
1.13 |
| 02-Oct-2011 |
christos | remove stray underscore.
|
1.12 |
| 01-Oct-2011 |
christos | disable test on the vax until we fix it.
|
1.11 |
| 30-Sep-2011 |
jruoho | Add expected failures for Qemu.
|
1.10 |
| 29-Aug-2011 |
jruoho | Remove some cruft that is no longer needed.
|
1.9 |
| 29-Aug-2011 |
jruoho | Remove Xfails that are related to the infamous qemu/amd64 floating point bugs. It appears to be quite difficult to identify the exact Qemu version and setup. These do not fail on the TNF's qemu/amd64 setup, which can be taken as a reference point for expected failures.
|
1.8 |
| 07-Jul-2011 |
jruoho | Improve the QEMU/amd64 detection.
|
1.7 |
| 30-Mar-2011 |
jruoho | Add missing __RCSID(3).
|
1.6 |
| 25-Mar-2011 |
jruoho | Do not skip the QEMU bugs but instead mark these as expected failures.
|
1.5 |
| 25-Mar-2011 |
jruoho | Bluntly skip the tests that fail under QEMU. XXX: system(3) is used for this?
wnCVS: ----------------------------------------------------------------------
|
1.4 |
| 25-Mar-2011 |
jruoho | Even these naive test cases caught one (QEMU?) bug; comment PR # 44767.
|
1.3 |
| 24-Mar-2011 |
jruoho | Add also a basic, naive, test for fast_divide32(3).
|
1.2 |
| 24-Mar-2011 |
jruoho | Add some naive test cases for the ffs32(3) family of functions.
|
1.1 |
| 19-Mar-2011 |
jruoho | Add a simple test file for <sys/bitops.h>. For now, only ilog2(3) is tested.
|
1.14.8.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.14.2.1 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.19.16.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.19.14.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|