ilog2(): inline functions if practical
commit0a126062fbeb22658ab4f7aace115c6353f33f08
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 27 Sep 2017 20:34:42 +0000 (27 13:34 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 27 Sep 2017 20:34:42 +0000 (27 13:34 -0700)
tree3998842cbc5ecdce243ee6f767c2cd95121de936
parentfbce0bfb4ebab9e790879a8f9c2e90aa21b6108f
ilog2(): inline functions if practical

For many (most?) targets these will be very small functions, so inline
them.  However, just in case make these external library functions.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
12 files changed:
Makefile.in
Mkfiles/msvc.mak
Mkfiles/openwcom.mak
asm/directiv.c
asm/eval.c
include/compiler.h
include/iflag.h
include/ilog2.h [copied from nasmlib/ilog2.c with 79% similarity]
include/nasmlib.h
nasmlib/ilog2.c
output/outcoff.c
output/outmacho.c