# stage2: remove obsolete MOV variant 0b11 · gitcafe/zig

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

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

Visibility: public

Requested revision: 71c5eebd32d44ca01fedcb48674c5e7185f10289

Requested commit: 71c5eebd32d44ca01fedcb48674c5e7185f10289

Commit: 71c5eebd32d44ca01fedcb48674c5e7185f10289

Tree: 2f58bd79d159f7c8952af53fe68e78e17e312003

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
stage2: remove obsolete MOV variant 0b11

* variant `0b11` when both `reg1 != .none` and `reg2 != .none` is
  identical to `0b00` therefore it can safely be removed
* fix proper destination register size calculation when setting register from
  another source register

```

## Parents

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

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