diff options
| author | Sintendo <bram.speeckaert@gmail.com> | 2020-04-19 23:53:56 +0200 |
|---|---|---|
| committer | Sintendo <bram.speeckaert@gmail.com> | 2020-04-21 22:45:47 +0200 |
| commit | 19dda51a0d34d9b26d8ef38139a81079b21633b4 (patch) | |
| tree | a52e3cf138ffab70e60bc39ec2f71c6bb82f38ef /Source/Core/VideoCommon/FramebufferShaderGen.cpp | |
| parent | 89646c898fc0507135cb56acda7a4776ccca17d1 (diff) | |
Jit64: subfx - Use LEA when possible
Similar to what we do for addx. Since we're calculating b - a and
because subtraction is not communitative, we can only apply this when
source register a holds the constant.
Before:
45 8B EE mov r13d,r14d
41 83 ED 08 sub r13d,8
After:
45 8D 6E F8 lea r13d,[r14-8]
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferShaderGen.cpp')
0 files changed, 0 insertions, 0 deletions
