# x64: track callee and caller saved registers · gitcafe/zig

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

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

Visibility: public

Requested revision: d447cd940d7da884f0d699d9da679d8bbabb237a

Requested commit: d447cd940d7da884f0d699d9da679d8bbabb237a

Commit: d447cd940d7da884f0d699d9da679d8bbabb237a

Tree: e5a70bc4491a70498c4b4c3af473c9503410bbbd

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
x64: track callee and caller saved registers

This is now required to correctly track and spill registers
required for some ops such `mul` or `div` (both required use of
`.rax` and `.rdx` registers).

```

## Parents

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

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