News for hackers. Stuff that matters.
Re:Temptation of the Apple: Dolphin on macOS M1 by Macha on Monday May 24, 2021 @07:52AM (#27263278)
The rosetta vs native vs 9900k vs 8559h graph?

The only game rosetta is beating native on is rogue squadron 2. Since Dolphin is a JIT, this seems to be a case of where Rosetta's JIT is smarter than Dolphin's in terms of which ARM instructions are chosen when converting from the Intel instructions than Dolphin when converting from the emulated PPC instructions.

Unless you're comparison is the 8559h and not the "native" bar. I mean, the 8559h is a mid range older Intel CPU and it's hard to understate how much Intel stagnated since Sandy Bridge (and especially since Skylake).

Re:Temptation of the Apple: Dolphin on macOS M1 by Aaargh20318 on Monday May 24, 2021 @08:02AM (#27263358)
> Since Dolphin is a JIT, this seems to be a case of where Rosetta's JIT is smarter than Dolphin's in terms of which ARM instructions are chosen when converting from the Intel instructions than Dolphin

According to the article, the AArch64 JIT isn’t as complete as the x86 one so some less common instructions are emulated, not JITed. I imagine a game that uses a lot of these is slower with the native ARM version.

Re:Temptation of the Apple: Dolphin on macOS M1 by leoetlino on Monday May 24, 2021 @08:02AM (#27263354)
Rosetta is faster than native in that case because the AArch64 JIT has to fall back to the interpreter for memchecks (unlike the x86-64 JIT).