Raptor Computing Systems Community Forums (BETA)
Software => Applications and Porting => Topic started by: tle on August 25, 2023, 07:34:58 am
-
We all have heard about the JIT patch of our fellow member ClassicHasClass for the original dosbox which could be found here https://www.talospace.com/2020/01/dosbox-jit-on-ppc64le-and-how-you-can.html
His patch though not apply cleanly to the dosbox SVN trunk, however with a bit of tweak, it still work perfectly with PCPBENCH reports 28.3fps!!
Another fork of dosbox is dosbox-staging that supports PPC64LE JIT out of the box (again thanks to ClassicHasClass) is another great option but performance is not as good as that of patched JIT dosbox. The PCPBENCH can get up to 17.1fps
(ref: https://github.com/dosbox-staging/dosbox-staging/commits/main/src/cpu/core_dynrec/risc_ppc64le.h)
I am going to dig in the source code of dosbox-staging to see how they did the PPC64LE JIT and why it is slower
EDIT: Great thanks to ClassicHasClass for the Pull Request https://github.com/dosbox-staging/dosbox-staging/pull/2828
Now dosbox-staging can achieve 41 fps!
(https://i.imgur.com/VfJzIpC.png)
-
It turns out PPC64LE JIT is currently disabled
https://github.com/dosbox-staging/dosbox-staging/commit/515161087c8e66b57f8c73ec289ae4b3a4f4548a
Upstream SVN r4424 started refactorization of cpu module, and it breaks
those backends; to be re-enabled once refactorization is done or when
we'll have time to fix it ourselves.
-
I'll have a look. I see you opened an issue. I've been happy with my old build for so long I've never really checked current ones.
-
Great thanks to ClassicHasClass for having a look at the issue I reported at https://github.com/dosbox-staging/dosbox-staging/issues/2789
-
Great thanks to ClassicHasClass for the Pull Request https://github.com/dosbox-staging/dosbox-staging/pull/2828
Now dosbox-staging can achieve 41 fps!
(https://user-images.githubusercontent.com/135605/265551112-a554ec36-3e2c-4c9f-9a71-02ceada5aa69.png)