# stage2: register-aliasing-aware codegen · gitcafe/zig

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

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

Visibility: public

Requested revision: 606f157a6b6001b2623d28275a892c1a8ee3a646

Requested commit: 606f157a6b6001b2623d28275a892c1a8ee3a646

Commit: 606f157a6b6001b2623d28275a892c1a8ee3a646

Tree: 1c2f992a3cd091bdf92ab8407bff8ca1d206ab82

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: register-aliasing-aware codegen

 * unify duplicated register allocation codepath
 * support the x86_64 concept of register aliasing
 * slightly improved memset codegen, supports sizes 1, 2, 4, 8

```

## Parents

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

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