annotate lib/ffsl.c @ 15946:d0eb709725f5

ffsl, ffsll: Optimize for GCC. * lib/ffsl.h (FUNC): Use GCC_BUILTIN if defined. * lib/ffsl.c (GCC_BUILTIN): New macro. * lib/ffsll.c (GCC_BUILTIN): Likewise.
author Bruno Haible <bruno@clisp.org>
date Fri, 14 Oct 2011 00:48:29 +0200
parents 4e3a37b1ceae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15428
4e3a37b1ceae ffsl, ffsll: new modules
Eric Blake <eblake@redhat.com>
parents:
diff changeset
1 #define FUNC ffsl
4e3a37b1ceae ffsl, ffsll: new modules
Eric Blake <eblake@redhat.com>
parents:
diff changeset
2 #define TYPE long int
15946
d0eb709725f5 ffsl, ffsll: Optimize for GCC.
Bruno Haible <bruno@clisp.org>
parents: 15428
diff changeset
3 #define GCC_BUILTIN __builtin_ffsl
15428
4e3a37b1ceae ffsl, ffsll: new modules
Eric Blake <eblake@redhat.com>
parents:
diff changeset
4 #include "ffsl.h"