summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
diff options
context:
space:
mode:
authorSintendo <bram.speeckaert@gmail.com>2020-12-13 11:52:21 +0100
committerSintendo <bram.speeckaert@gmail.com>2020-12-25 19:30:51 +0100
commit10d65519f95b33221731aab1b96d98d69e5792f3 (patch)
treef729f5df02003ebe2a4e2b381d8ed11b19c06aae /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
parent1a52fdf7e361b26eb1b7a0ae551b9672947b9b09 (diff)
Jit64: slwx - Handle constant zero input
Shifting zero by any amount always gives zero. Before: 41 BF 00 00 00 00 mov r15d,0 8B CF mov ecx,edi 49 D3 E7 shl r15,cl 45 8B FF mov r15d,r15d After: Nothing, register is set to constant zero. All games I've tried hit this optimization on launch. In Soul Calibur II it occurs very frequently during gameplay.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp')
0 files changed, 0 insertions, 0 deletions