# compiler_rt: add \_\_clzdi2 and \_\_clzti2 · gitcafe/zig

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

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

Visibility: public

Requested revision: 81e2034d4ad935185344030e5ecedbd1388a65e9

Requested commit: 81e2034d4ad935185344030e5ecedbd1388a65e9

Commit: 81e2034d4ad935185344030e5ecedbd1388a65e9

Tree: 2417cdc654c74985ad8527df5f14fd15777f073e

Author: Jan Philipp Hafer

Committer: Andrew Kelley

## Message

```
compiler_rt: add __clzdi2 and __clzti2

- structure derived from shift.zig
- rename clzsi2.zig to count0bits.zig
- test cases derived from clzsi2_test.zig

See #1290

```

## Parents

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

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