# stage2: implement shl_exact and shr_exact · gitcafe/zig

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

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

Visibility: public

Requested revision: fb7060d3c2e8ce4d7de5560adf8ec4a26fc5f6e8

Requested commit: fb7060d3c2e8ce4d7de5560adf8ec4a26fc5f6e8

Commit: fb7060d3c2e8ce4d7de5560adf8ec4a26fc5f6e8

Tree: 3710af0870e1e1d43f44830d6ff3e662761e93ce

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: implement shl_exact and shr_exact

These produce an undefined value when one bits are shifted out.

New AIR instruction: shr_exact.

```

## Parents

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

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