BizHawk/waterbox/libco
nattthebear 07c7c329d3
Experiment to speed up libco and hence libsnes (#2248)
The compiler now can fully inline the co_switch, and with most registers being specified as clobbers and not saved explicitly, the compiler can choose to save only what it needs to (we don't have to defensively save everything).

Practically speaking, the co_switch calls are usually inlined, but the functions they're in don't seem to be that big and don't make direct use of r12..r15 too much anyway, so (push r12..r15, switch, pop r12..r15) is a common emit.  But I see a miniscule FPS increase.
2020-07-22 16:13:19 -04:00
..
.vscode waterbox: add guard pages to libco stacks 2017-06-11 20:10:37 -04:00
doc waterbox libco (not yet tested) 2017-06-09 19:54:20 -04:00
Makefile Experiment to speed up libco and hence libsnes (#2248) 2020-07-22 16:13:19 -04:00
amd64.c Experiment to speed up libco and hence libsnes (#2248) 2020-07-22 16:13:19 -04:00
libco.h waterbox - track writes for smaller savestates 2020-06-03 07:13:40 -04:00