Cycles: use LIKELY/UNLIKELY macros
authorCampbell Barton <ideasman42@gmail.com>
Sun, 4 May 2014 17:49:22 +0000 (03:49 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 4 May 2014 17:49:22 +0000 (03:49 +1000)
commitd828d44d7a934e6e9c8fb492c8f788e91fda16ff
treed9ae1cf32ab6d26d2d663ca1611ac7036485bb98
parentdc13969e484ed9fa6834b1aba85ba00f65bf8a11
Cycles: use LIKELY/UNLIKELY macros

Gives overall ~3% speedup in own tests for BMW scene.
intern/cycles/kernel/osl/osl_services.cpp
intern/cycles/util/util_color.h
intern/cycles/util/util_math.h
intern/cycles/util/util_transform.cpp
intern/cycles/util/util_types.h