mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 07:28:57 +01:00
![Sintendo](/assets/img/avatar_default.png)
When the source registers are a simple register and a constant zero and overflow isn't needed, emitting LEA is kinda silly. This will occasionally save a single byte for certain registers due to how x86 encoding works. More importantly, LEA takes up execution resources while MOV does not. Before: 41 8D 7D 00 lea edi,[r13] After: 41 8B FD mov edi,r13d