git: machine/endian.h: Mark bswap functions always inlineable.
zrj at crater.dragonflybsd.org
Mon Oct 24 05:15:19 PDT 2016
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Tue Oct 11 12:49:46 2016 +0300
machine/endian.h: Mark bswap functions always inlineable.
This solves many cases where compiler decides to make them as a local
static functions to prevent code size growth and causing -Winline.
Also then it leads to less optimal code generation.
To prevent all of this just mark them as always inlineable.
These functions are intended to be inlined and should be thought as macros.
Summary of changes:
sys/cpu/x86_64/include/endian.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
DragonFly BSD source repository
More information about the Commits