Files
linux-nvgpu/drivers/gpu/nvgpu/common/posix/bitmap.c
Alex Waterman 64b6918ea9 gpu: nvgpu: posix: Use GCC builtins for ffs(), fls()
These intrinsics will be fast for the given platform that the
compiler is targeting. This also reduces complexity in the
code.

Change-Id: I6cfb761d6f881056446fa9a5de53dca50ed93c34
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1727383
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2018-05-25 15:15:47 -07:00

5.5 KiB