summaryrefslogtreecommitdiff
path: root/tests/bit-test.c
Commit message (Collapse)AuthorAgeFilesLines
* all: remove use of 'register' keywordRyan Lortie2014-06-281-1/+1
| | | | | | We should have done this a decade ago... https://bugzilla.gnome.org/show_bug.cgi?id=730293
* Fix tests on x86_64.Behdad Esfahbod2007-01-051-3/+3
| | | | | | | | | | 2007-01-04 Behdad Esfahbod <behdad@gnome.org> * tests/bit-test.c (builtin_bit_nth_lsf1), (builtin_bit_nth_lsf2), (builtin_bit_nth_msf): Fix tests on x86_64. svn path=/trunk/; revision=5216
* Fix bug in g_bit_nth_lsf (#371631) and use __builtin_clzl forBehdad Esfahbod2007-01-031-0/+145
2007-01-03 Behdad Esfahbod <behdad@gnome.org> * glib/gutils.h: Fix bug in g_bit_nth_lsf (#371631) and use __builtin_clzl for g_bit_storage if available (#371670). * tests/Makefile.am: * tests/bit-test.c: New test, to test g_bit_* operations against naive and builtin implementations. svn path=/trunk/; revision=5200