# CBE: implement popCount, byteSwap, bitReverse for ints \<= 128 bits · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d0277a3d17f738036a951a44f367839597dcaee4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d0277a3d17f738036a951a44f367839597dcaee4

Requested commit: d0277a3d17f738036a951a44f367839597dcaee4

Commit: d0277a3d17f738036a951a44f367839597dcaee4

Tree: 5415e8fcfc445b567fb2c0ba2e2f1b187f46d021

Author: Daniele Cocca

Committer: Daniele Cocca

## Message

```
CBE: implement popCount, byteSwap, bitReverse for ints <= 128 bits

This folds the airCountZeroes() code from
226fcd7c709ec664c5d883042cf7beb3026f66cb back into airBuiltinCall(),
since most of these builtins happen to require the same arguments and
can be unified under a common function signature.

```

## Parents

- [87744a7ea9a2449764a110da4210d7750e3938ee](https://git.cafe/gitcafe/zig/commit/87744a7ea9a2449764a110da4210d7750e3938ee?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d0277a3d17f738036a951a44f367839597dcaee4?format=markdown)
