4 ms·
They elaborated on this a little more in their post about Dolphin on the M1: https://dolphin-emu.org/blog/2021/05/24/temptation-of-the-apple-dolphin-on-macos-m1
by NobodyNada 4y ago
They elaborated on this a little more in their post about Dolphin on the M1: https://dolphin-emu.org/blog/2021/05/24/temptation-of-the-apple-dolphin-on-macos-m1/ https://dolphin-emu.org/blog/2021/05/24/temptation-of-the-ap...
> AArch64 does have its advantages, though. Namely, the processors have 31 registers, compared to the 16 available in x86-64 processors. The PowerPC processor we are emulating has 32 registers, and while it is rare for all of them to be used within a single code block, more registers is always nice to have. Another difference is that AArch64 and PowerPC have 3 operand instructions while x86-64 only has two.
PPC: A = B + C
AArch64: A = B + C
x86-64: A = B, A = A + C
> As you can see, it makes emulating some instructions much cleaner and easier than on our x86-64 JIT.
So yes, it is certainly more straightforward: the JIT can do something closer to a one-to-one translation without having to spill registers as often. But they don't go into detail about how much of a performance benefit that is; I'd imagine a small boost but not something too drastic.