diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-05-22 14:24:22 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-25 18:15:47 -0400 |
commit | 64b6918ea9ab897d6c6bff1ae351ff950519e831 (patch) | |
tree | 00dfbbf15c3690ea7046290f0d0ce58a34413d6d /drivers/gpu/nvgpu/boardobj/boardobjgrpmask.h | |
parent | a3a9ed3b126f13fff52973159d171eb44ae71a43 (diff) |
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>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrpmask.h')
0 files changed, 0 insertions, 0 deletions