aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorXiao Wang <[email protected]>2023-11-12 09:52:44 +0000
committerPalmer Dabbelt <[email protected]>2024-01-18 02:18:40 +0000
commit55ca8d7aa2af3ebdb6f85cccf1b0703d031c1678 (patch)
treeae97ea25f9f1e3a4c91cca7520bad636f3fa4db5 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentriscv: add dependency among Image(.gz), loader(.bin), and vmlinuz.efi (diff)
downloadkernel-55ca8d7aa2af3ebdb6f85cccf1b0703d031c1678.tar.gz
kernel-55ca8d7aa2af3ebdb6f85cccf1b0703d031c1678.zip
riscv: Optimize hweight API with Zbb extension
The Hamming Weight of a number is the total number of bits set in it, so the cpop/cpopw instruction from Zbb extension can be used to accelerate hweight() API. Signed-off-by: Xiao Wang <[email protected]> Reviewed-by: Charlie Jenkins <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions