Justin Hibbits
19cfd8759e
powerpc: micro-optimize cpu_switch()
...
Since the non-volatile registers are restored at the end of cpu_switchin (of
the new thread) they're free for us to use for our own purposes. Load the
PCB_FLAGS into a non-volatile register so it's preserved across the C
function calls that manage FPU and altivec state. This removes 4 loads from
each file. Might be a trivial performance improvement (~12 clock cycles per
context switch).
MFC after: 3 weeks
2019-04-27 00:53:41 +00:00
..
2019-04-25 22:51:36 +00:00
2019-04-25 18:43:01 +00:00
2019-04-20 03:21:47 +00:00
2019-01-17 06:35:45 +00:00
2019-04-22 01:08:14 +00:00
2019-04-26 19:02:21 +00:00
2019-04-26 12:55:52 +00:00
2019-04-24 01:11:50 +00:00
2019-04-21 02:36:01 +00:00
2019-03-01 23:30:23 +00:00
2019-02-09 21:08:19 +00:00
2019-04-25 22:27:56 +00:00
2019-04-10 19:18:05 +00:00
2019-04-21 22:53:51 +00:00
2019-04-24 19:56:02 +00:00
2019-04-10 18:15:36 +00:00
2019-04-23 18:10:46 +00:00
2019-04-26 15:00:59 +00:00
2019-02-21 01:30:37 +00:00
2019-04-19 22:08:17 +00:00
2019-04-18 20:48:54 +00:00
2019-04-26 20:15:47 +00:00
2019-04-25 21:24:56 +00:00
2019-03-18 02:40:22 +00:00
2019-03-14 22:30:05 +00:00
2019-04-25 15:37:28 +00:00
2019-04-25 15:37:28 +00:00
2019-04-04 01:02:50 +00:00
2019-04-18 11:37:44 +00:00
2018-12-11 19:32:16 +00:00
2019-01-09 01:11:19 +00:00
2019-04-24 23:27:39 +00:00
2019-04-27 00:53:41 +00:00
2019-04-24 13:41:46 +00:00
2019-04-04 01:23:06 +00:00
2019-04-03 03:57:37 +00:00
2019-04-13 06:30:45 +00:00
2019-04-25 18:42:07 +00:00
2019-02-20 02:14:41 +00:00
2019-02-04 21:28:25 +00:00
2018-12-14 23:53:28 +00:00
2019-04-08 15:20:05 +00:00
2019-04-22 11:23:35 +00:00
2019-04-24 18:24:22 +00:00
2019-01-30 11:34:52 +00:00