MAMEWorld >> News
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/12/05
Posts: 4573
Loc: Melbourne, Australia
Send PM
Re: MAME 0.281 Icons / Snaps / Benchmarks
10/04/25 11:49 AM


> > It compiles MAME about a minute faster than my M3 Max (7 minutes for a clean full
> > build with tools vs. 8 on my M3 Max), which is what I'm happiest about, but running
> > it really well is great too of course :-) Also Vas is continuing to tune the DRC for
> > both x64 and ARM so there should be small improvements in the heavier games in 0.282
> > again.
>
> A 13% saved in compile time is huge for development, I can understand why you're
> happy with that.
>
> Great to hear Vas is working on squeezing more performance out of the DRC. Any gains
> on the software side of the performance equation is only going to be multiplied by
> gains on the hardware side.

The ARM back-end is already executing more IR instructions per host CPU clock cycle than the x86-64 back-end, and I’ve mostly just been going for easy gains so far. (That’s part of the reason some of the MIPS, PowerPC and SuperH games do so well on ARM – the back-end is actually pretty impressive, even to me as the person who did most of the performance tuning for it.)

I know I can get quite a bit more performance out of ARM, but it requires some significant architectural changes to the back-end (won’t require changes to the emulated CPU cores themselves to benefit). The stuff I want to do can’t be done incrementally, and it’s going to require non-trivial time investment.

I optimised the Hyperstone E1 recompiler a lot already. Between that and optimising the x86-64 back-end, it now generates less than half the number of native instructions, while emulating more CPU features with more accuracy and matching the interpreter on cycle counts. There are definitely gains to be had by optimising the code generation for the other recompiling CPUs, but it isn’t a rabbit hole I want to go down right now.

On the bright side, the state the code was in at the beginning of the year meant it was relatively easy to get some significant performance gains already while also fixing a bunch of long-standing issues along the way. The trouble is I’ll inevitably run out of low-hanging fruit and have to start making bigger architectural changes to keep making progress.







Entire thread
Subject Posted by Posted on
* MAME 0.281 Icons / Snaps / Benchmarks John IV 09/26/25 07:32 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks John IVModerator  10/04/25 04:53 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks R. Belmont  10/03/25 07:39 PM
. * . voodoodoll  10/04/25 12:29 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks R. Belmont  10/04/25 09:12 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/03/25 11:16 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks R. Belmont  10/04/25 09:08 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/04/25 11:09 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks Vas Crabb  10/04/25 11:49 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/04/25 12:15 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks John IVModerator  10/03/25 09:59 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks SecretAgentMan  09/27/25 05:24 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks petran79  09/30/25 02:57 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks John IVModerator  09/30/25 05:26 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks petran79  10/01/25 06:00 AM
. * . voodoodoll  10/02/25 02:44 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/03/25 12:58 AM
. * . voodoodoll  10/03/25 01:40 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/03/25 04:54 AM
. * . John IVModerator  10/02/25 07:49 PM
. * . voodoodoll  10/02/25 10:21 PM
. * . uman  10/03/25 07:35 AM
. * . voodoodoll  10/03/25 10:54 AM
. * . uman  10/04/25 09:42 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks petran79  10/03/25 06:23 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/03/25 09:20 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks petran79  10/03/25 02:10 PM
. * . voodoodoll  10/03/25 10:38 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks petran79  10/04/25 02:25 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/02/25 02:48 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks petran79  10/02/25 10:08 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/03/25 01:22 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks John IVModerator  10/02/25 03:40 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks Mr. DoAdministrator  10/02/25 02:44 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks John IVModerator  10/02/25 03:33 PM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks taz-nz  10/02/25 04:30 AM
. * Re: MAME 0.281 Icons / Snaps / Benchmarks John IVModerator  10/02/25 05:14 AM

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
0 registered and 88 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1376