Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jit64: addx - Emit nothing when possible
When the destination register matches a source register, the other source register contains zero, and overflow isn't needed, the instruction becomes a nop and we don't need to emit anything. We could add specialized handling for the case where overflow is needed, but none of the titles I tried would hit this path. Before: 83 C7 00 add edi,0 After:
- Loading branch information