diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-12-29 13:38:49 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-12-29 22:06:38 +0100 |
| commit | 08ea1a2eab9472389d57ddbd97e307fcb096a992 (patch) | |
| tree | 6f546b4f1cc266f56fd9640713ae3de750c64504 /src/codegen | |
| parent | be5130ec535456559497ac241ac9fa76c4bbb8ca (diff) | |
| download | zig-08ea1a2eab9472389d57ddbd97e307fcb096a992.tar.gz zig-08ea1a2eab9472389d57ddbd97e307fcb096a992.zip | |
stage2: add separate tag for MI encoding
To request memory-immediate encoding at the MIR side, we should now
use a new tag such as `mov_mem_imm` where the size of the memory
pointer is encoded as the flags:
```
0b00 => .byte_ptr,
0b01 => .word_ptr,
0b10 => .dword_ptr,
0b11 => .qword_ptr,
```
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
