Sintendo
dd58a8d65e
Jit_LoadStore: Minor dcbx register optimization
...
Instructions referencing registers r8-r15 take an additional byte to
encode. `reg_downcount` may be assigned to one of these registers, so it
is a small size win to store the downcount value in `RSCRATCH` first.
Before:
33 D2 xor edx,edx
44 8B 6D 64 mov r13d,dword ptr [rbp+64h]
45 85 ED test r13d,r13d
7E 30 jle 0000023546B43F6D
44 8B B5 D4 02 00 00 mov r14d,dword ptr [rbp+2D4h]
41 8B C5 mov eax,r13d
BF 07 00 00 00 mov edi,7
F7 F7 div eax,edi
After:
33 D2 xor edx,edx
8B 45 64 mov eax,dword ptr [rbp+64h]
85 C0 test eax,eax
7E 30 jle 000001AFBBAE359D
44 8B B5 D4 02 00 00 mov r14d,dword ptr [rbp+2D4h]
44 8B E8 mov r13d,eax
BF 07 00 00 00 mov edi,7
F7 F7 div eax,edi
2023-10-22 15:13:52 +02:00
..
2023-05-15 20:41:05 +02:00
2023-10-06 01:12:10 +03:00
2023-10-01 11:24:48 -04:00
2023-06-22 00:06:50 -05:00
2023-06-17 07:15:33 -05:00
2023-09-02 18:19:26 -07:00
2023-07-29 20:06:09 +02:00
2023-10-08 15:13:41 +02:00
2023-10-11 14:21:29 -07:00
2023-10-22 15:13:52 +02:00
2023-10-19 19:21:12 +02:00
2023-10-19 19:21:12 +02:00
2023-04-13 10:19:28 -04:00
2023-04-13 10:19:28 -04:00
2022-12-11 08:59:18 +01:00
2023-04-12 03:08:47 -04:00
2022-01-06 16:13:54 +01:00
2023-04-13 10:19:28 -04:00
2023-03-28 03:47:51 +02:00
2023-02-12 11:27:50 +01:00
2023-10-02 17:28:23 -04:00
2023-09-03 15:56:02 -04:00
2023-06-25 14:57:15 -04:00
2023-05-19 19:35:17 +02:00
2023-10-17 02:47:29 +02:00
2023-06-02 18:51:43 +02:00
2023-08-17 19:19:25 +02:00
2023-08-17 19:19:26 +02:00
2023-08-17 19:19:26 +02:00
2023-08-17 19:19:26 +02:00
2023-06-19 01:34:42 +03:00
2023-05-06 17:18:17 -07:00
2023-06-25 20:29:23 -07:00
2023-08-17 19:19:25 +02:00
2023-06-12 18:11:04 -07:00
2023-03-28 03:47:51 +02:00
2023-02-12 11:27:50 +01:00
2023-04-13 10:19:28 -04:00
2023-04-13 10:19:28 -04:00
2022-08-06 07:32:29 +01:00
2023-06-12 18:11:04 -07:00
2023-05-26 13:36:08 -07:00
2022-06-08 15:29:11 -07:00
2022-06-08 15:29:11 -07:00
2022-12-11 13:36:44 +00:00
2023-03-28 03:47:51 +02:00
2023-02-12 11:27:50 +01:00
2023-03-26 14:38:07 +02:00
2022-05-19 12:26:41 -07:00
2023-06-13 13:25:22 -07:00
2022-10-03 22:04:09 +02:00
2023-06-18 18:37:32 -05:00
2023-04-24 08:53:14 -04:00
2022-08-09 16:26:52 -06:00
2023-04-02 17:23:10 +02:00
2023-07-13 01:15:12 -07:00
2023-04-24 08:53:14 -04:00
2022-09-29 23:08:25 +04:00
2022-07-12 13:35:49 +04:00
2023-04-13 10:19:28 -04:00
2023-04-13 10:19:28 -04:00
2023-10-08 20:45:49 -04:00
2023-10-08 20:45:49 -04:00
2022-08-09 16:26:53 -06:00
2023-06-05 16:33:19 -05:00
2023-06-05 16:33:19 -05:00
2022-07-25 18:40:12 -07:00
2023-09-03 15:56:02 -04:00
2023-06-25 14:57:15 -04:00
2023-06-13 13:25:22 -07:00
2023-07-14 05:24:29 +02:00
2023-07-14 05:24:29 +02:00