# spirv: clz, ctz for opencl · gitcafe/zig

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

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

Visibility: public

Requested revision: 12350f53bf5e39403e11b9902ca85bea97f65722

Requested commit: 12350f53bf5e39403e11b9902ca85bea97f65722

Commit: 12350f53bf5e39403e11b9902ca85bea97f65722

Tree: f08dfc69c2baa89782d8d75683a0eb3b6b7d0dad

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: clz, ctz for opencl

This instruction seems common in compiler_rt.

```

## Parents

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

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