cap5lut
Micro-optimizing a Z80 emulators' pipeline. **Unsafe code**
if u have methods like
LD_C_A
that call LD_R_R
internally,
it might be better if there is no inlining, because then its basically all about keeping this
in a register and the switch will become a hug jump table215 replies
Micro-optimizing a Z80 emulators' pipeline. **Unsafe code**
since i made it a method that takes
RegisterSet
as a parameter, i guess due to managed calling convention the struct is spilled onto the stack and esp
gets a pointer to that, before the actual call
happens215 replies
Micro-optimizing a Z80 emulators' pipeline. **Unsafe code**
if u look at this modified sharplab, u can see in the asm, that
Unsafe.Add
will be resolved to a constant offset.
Unsafe.As
doesnt even emit any code, thats purely "meta info" for roslyn and the JIT215 replies