summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.cpp
diff options
context:
space:
mode:
authorSintendo <bram.speeckaert@gmail.com>2021-01-04 23:56:58 +0100
committerSintendo <bram.speeckaert@gmail.com>2021-01-05 00:11:16 +0100
commitb0be20560f0ec41173ac4593aebbf6ef5f940536 (patch)
tree18b44d8e9dc338274d1ab28c52a8755a05f0c22b /Source/Core/VideoCommon/PostProcessing.cpp
parent57548b456bd4d551109d0591ad513ab949ca6092 (diff)
Jit64: subfx - Special case b == 0
Happens in Super Mario Sunshine. You could probably do something similar for b == -1 (like we do for subfic), but I couldn't find any titles that do this. - Case 1: d == a Before: 41 8B C7 mov eax,r15d 41 BF 00 00 00 00 mov r15d,0 44 2B F8 sub r15d,eax After: 41 F7 DF neg r15d - Case 2: d != a Before: BF 00 00 00 00 mov edi,0 41 2B FD sub edi,r13d After: 41 8B FD mov edi,r13d F7 DF neg edi
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
0 files changed, 0 insertions, 0 deletions