MarathonMan
Emulator Developer
- Thread Starter
- #21
an lle recompiler is not impossible at the end of all this.
Care to explain your thoughts a little further on this one?
I thought a recompiler core was out of the question due to the fact that you could have instances where, on one block of code, you have cache misses, whereas in another, have hits. I suppose you add x86 instructions to take that into account as well, but the gains aren't going to be as large as non-CE emulators.
I've actually been thinking about ways to possible multithread or add some compiler support way down at the end of the road.
I was almost thinking something along the lines of ROB entries, but in software. Doing this would enable me to perform speculative execution on each core and not synchronize on every cycle, as this has proven to be prohibitively expensive. If I end up having to toss out a few entries here and there, it's no big deal because there would be so much more processing power at my expense. I've writing the simulator in such a way that I can augment it with statistics to determine exactly how much communication occurs between the cores to see how plausible this idea is.
But I'm getting WAAAY ahead of myself at the moment. For now, I'm just working on getting the core implemented.