diff options
| author | Sintendo <bram.speeckaert@gmail.com> | 2021-03-24 22:40:35 +0100 |
|---|---|---|
| committer | Sintendo <bram.speeckaert@gmail.com> | 2021-04-24 18:53:21 +0200 |
| commit | 246adf0d6dbefc329f1347000be4b9ea3aa3447e (patch) | |
| tree | 3e039c80143dcef2c9749f1e6cea0d8f3c8cc794 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 4d37dad20d230b003b74e38ff4c5af68e6ed232e (diff) | |
Jit64: divwx - Eliminate MOV for division by 2
When destination and input registers match, a redundant MOV instruction
can be eliminated.
Before:
8B C7 mov eax,edi
8B F8 mov edi,eax
C1 EF 1F shr edi,1Fh
03 F8 add edi,eax
D1 FF sar edi,1
After:
8B C7 mov eax,edi
C1 EF 1F shr edi,1Fh
03 F8 add edi,eax
D1 FF sar edi,1
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
0 files changed, 0 insertions, 0 deletions
