# stage2 x86_64: refactor codegen to use inst encoder · gitcafe/zig

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

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

Visibility: public

Requested revision: 36df1526da0e703a9f3d5bd6c8775d3f0e0f0a33

Requested commit: 36df1526da0e703a9f3d5bd6c8775d3f0e0f0a33

Commit: 36df1526da0e703a9f3d5bd6c8775d3f0e0f0a33

Tree: 04d8a15225424eaf01e885220c5c9d34043de16c

Author: gracefu

Committer: gracefu

## Message

```
stage2 x86_64: refactor codegen to use inst encoder

There are parts of it that I didn't modify because the byte
representation was important (e.g. we need to know what the exact
byte position where we store the address into the offset table is)

```

## Parents

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

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