summaryrefslogtreecommitdiffstats
path: root/sys/dev/hifn
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-03-12 07:02:16 +0000
committermav <mav@FreeBSD.org>2012-03-12 07:02:16 +0000
commit34c484fbf29f386a35bfe2d2d0fd822a4d99d942 (patch)
treeb066ebe3f220696d97beec40d6033f94c618c7c2 /sys/dev/hifn
parent4f3e1bda6145f2c6f883c870734936e0b38e922c (diff)
downloadFreeBSD-src-34c484fbf29f386a35bfe2d2d0fd822a4d99d942.zip
FreeBSD-src-34c484fbf29f386a35bfe2d2d0fd822a4d99d942.tar.gz
Tune cpuset macros to optimize cases when CPU_SETSIZE fits into single
machine word. For example, it turns CPU_SET() into expected shift and OR, removing two extra shifts and additional index on memory access. Generated code checked for kernel (optimized) and user-level (unoptimized) cases with GCC and CLANG. Reviewed by: attilio MFC after: 2 weeks
Diffstat (limited to 'sys/dev/hifn')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud