Files
dolphin/Source/Core/Core
Sintendo 10d65519f9 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.
2020-12-25 19:30:51 +01:00
..
2020-11-20 16:21:05 +01:00
2020-12-15 02:34:25 +01:00
2020-08-27 21:54:04 +01:00
2020-12-15 02:34:25 +01:00
2020-11-28 23:35:55 +01:00
2020-11-28 23:35:55 +01:00
2020-12-19 23:22:06 -05:00
2020-12-19 23:22:06 -05:00