Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit better x86_64 asm for constant loads
Instead of always emitting movabs, emit a regular mov or a xor. Slims down sequences like: movabs $0,%rax mov %rsi,%rax To: xor %eax,%eax // also zeroes upper word mov %rsi,%rax Future work is to just emit: xor %esi,%esi
- Loading branch information