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-23 12:20:02 -05:00
2020-12-24 13:49:25 -06:00
2020-12-24 13:49:25 -06:00
2020-11-19 14:21:06 -05:00
2020-11-20 16:21:05 +01:00
2020-11-20 10:05:44 -05:00
2020-11-20 10:05:44 -05:00
2020-12-19 21:46:01 -05:00
2020-12-15 02:34:25 +01:00
2020-12-25 19:30:51 +01:00
2020-12-11 15:38:11 +01:00
2020-12-11 10:08:20 +01:00
2020-12-20 22:32:07 +00:00
2020-04-02 12:52:16 +10:00
2020-11-23 12:20:02 -05:00
2020-12-11 19:54:16 +01:00
2020-12-11 10:02:14 +01:00
2020-12-24 13:49:25 -06:00
2020-11-28 15:40:21 -05:00
2020-10-21 20:02:52 +02:00
2020-12-24 13:49:25 -06:00
2020-11-09 10:38:49 +01:00
2020-12-24 13:49:25 -06:00
2020-12-19 23:22:06 -05:00
2020-11-19 14:21:06 -05:00
2020-12-24 13:49:25 -06:00
2020-12-24 13:49:25 -06:00
2020-12-24 13:49:25 -06:00
2020-12-24 13:49:25 -06:00
2020-11-19 14:21:06 -05:00
2020-12-11 10:08:20 +01:00
2020-12-11 15:38:11 +01:00
2020-04-03 12:53:38 +02:00
2020-12-24 13:48:38 -06:00
2020-12-24 13:48:38 -06:00
2020-08-27 21:54:04 +01:00
2020-08-30 10:29:40 +02: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-11 10:02:14 +01:00
2020-09-27 13:10:19 -05:00
2020-09-27 13:10:19 -05:00
2020-11-23 12:20:02 -05:00
2020-08-02 22:46:53 +02:00
2020-12-11 10:08:20 +01:00
2020-12-11 10:08:20 +01:00
2020-12-24 13:49:25 -06:00
2020-10-21 22:49:59 +02:00
2020-08-02 22:46:53 +02:00
2020-11-19 14:21:06 -05:00
2020-01-23 22:58:23 -06:00
2020-12-19 23:22:06 -05:00
2020-12-19 23:22:06 -05:00
2020-11-19 14:21:06 -05:00
2020-03-16 21:04:19 +01:00
2020-12-06 01:53:55 +01:00