Stefanos Kornilios Mitsis Poiitidis
Stefanos Kornilios Mitsis Poiitidis
rebased, addressed review feedback
Yeah, the div fast paths are not 100% accurate on division by zero and such. It is a huge win for most games though, nearly doubling sotb perf, so it...
@shoegazer as this only affects a few games, and majorly boosts perf, I think most users would want to have it on by default. We’ll have per game profiles soon,...
fyi, i’ve put around an hour of thought in the mt stuff, and the entire thing was implemented in a day, and there’s been at least a few stupid bugs...
> In the broader picture, the problem is a restriction in the thunk generator: Functions that must be guest-callable through host function pointers can not use a custom guest entrypoint....
Copyable functions PoC in our X11 thunks https://github.com/FEX-Emu/FEX/blob/c5f1929edd4804d0894b0dc736c808f50471c5ed/ThunkLibs/libX11/libX11_Host.cpp#L61 Boilerplate aside, ```C++ DECL_COPYABLE_TRAMPLOLINE(XUnregisterIMInstantiateCallbackCBFN) Bool fexfn_impl_libX11_XUnregisterIMInstantiateCallback_internal( Display* a0, struct _XrmHashBucketRec* a1, char* a2, char* a3, XUnregisterIMInstantiateCallbackCBFN* a4, XPointer a5) { auto fn...