diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2024-08-22 00:48:55 +0200 |
---|---|---|
committer | Alessandro Gatti <a.gatti@frob.it> | 2025-01-01 10:44:53 +0100 |
commit | 3044233ea3726e9d8727d8f6a76f32c48e6fae5e (patch) | |
tree | d8fc0c7ddf3845917b644f69903b36e4b76705fe /tests/inlineasm/rv32/asmconst.py | |
parent | a5270c84cfdab6136d0dd4e63d41007f9a37b108 (diff) |
py/misc: Add a popcount(uint32_t) implementation.
This makes the existing popcount(uint32_t) implementation found in the
RV32 emitter available to the rest of the codebase. This version of
popcount will use intrinsic or builtin implementations if they are
available, falling back to a generic implementation if that is not the
case.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tests/inlineasm/rv32/asmconst.py')
0 files changed, 0 insertions, 0 deletions