# x64: fix ptr_add and ptr_sub · gitcafe/zig

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

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

Visibility: public

Requested revision: 3193cc1c1ea1796df2ae40d5a11396d8626a8070

Requested commit: 3193cc1c1ea1796df2ae40d5a11396d8626a8070

Commit: 3193cc1c1ea1796df2ae40d5a11396d8626a8070

Tree: 785a1ca2745450b15f484a55ba15bfed77c60b28

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
x64: fix ptr_add and ptr_sub

Add standalone implementation of operand reuse for ptr related
arithmetic operations of add and sub.

```

## Parents

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

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