Poster | Thread |
cdimauro
|  |
68k emulation Posted on 8-Sep-2025 6:00:46
| | [ #1 ] |
|
|
 |
Elite Member  |
Joined: 29-Oct-2012 Posts: 4528
From: Germany | | |
|
| Continuing the discussion from here: https://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=43330&forum=16&start=600&viewmode=flat&order=0#881001
@Hammer
Quote:
Hammer wrote: @ppcamiga1
Quote:
ppcamiga1 wrote: if you using pistorm you are idiot because you may have the some for zero euro just use winuae on pc
|
FYI, there are plans for PPC emulation with Emu68 since it has unused CPU cores. |
You don't need an extra core only for it. Even with the PowerPC acceleration cards for Amigas, only a single CPU is used at the same time (the 68k was put on hold when the PowerPC was running).
Extra cores can be used for additional tasks (e.g.: offloading tasks to the host system, or optimizing code hot spots), but certainly not for emulating multiple CPUs in parallel (at least for the Emu68 scope / how it workds). Quote:
AArch64's big-endian mode and 32 GPR programming model have less translation overhead when compared to little-endian/16 GPR X86-64's PPC emulation.
AArch64 can match PPC on arithmetic operations and the discrete load-store RISC instruction model. |
I doubt that the MOVBE instruction is used on (Win)UAE JIT, and here a good performance boost can come.
Besides that, x86-64 has other advantages compared to AArch64: load-op, op-store, rep instructions, and especially large immediates support. So, the CISC way -> it's easier to mimick the 68k code execution, and it's also more efficient (less pipeline stalls due to depending, less instructions executed). |
|
Status: Offline |
|
|
Karlos
|  |
Re: 68k emulation Posted on 8-Sep-2025 17:06:06
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 24-Aug-2003 Posts: 4964
From: As-sassin-aaate! As-sassin-aaate! Ooh! We forgot the ammunition! | | |
|
| |
Status: Offline |
|
|
Hammer
 |  |
Re: 68k emulation Posted on 8-Sep-2025 18:21:32
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 9-Mar-2003 Posts: 6607
From: Australia | | |
|
| @cdimauro
Quote:
You don't need an extra core only for it. Even with the PowerPC acceleration cards for Amigas, only a single CPU is used at the same time (the 68k was put on hold when the PowerPC was running). |
Go argue with Emu68's author.
Using another CPU core has its own L1 cache and register storage. It's unwise to add extra workload on the 68K role CPU core's L1 cache and register storage.
Are you arguing for unloading 68K instructions from the primary CPU's L1 cache/registers with PPC instructions?
Emu68's speed is about single-tasking without being disturbed by other workloads from a hosted Linux OS. Context switching has a cost.
Current Emu68 is using two CPU cores i.e. one for 68K translation and one for I/O. Debug uses another CPU core. Last edited by Hammer on 08-Sep-2025 at 06:45 PM. Last edited by Hammer on 08-Sep-2025 at 06:42 PM. Last edited by Hammer on 08-Sep-2025 at 06:39 PM. Last edited by Hammer on 08-Sep-2025 at 06:36 PM. Last edited by Hammer on 08-Sep-2025 at 06:32 PM. Last edited by Hammer on 08-Sep-2025 at 06:25 PM.
_________________
|
|
Status: Offline |
|
|
Mobileconnect
|  |
Re: 68k emulation Posted on 8-Sep-2025 19:51:49
| | [ #4 ] |
|
|
 |
Cult Member  |
Joined: 13-Jun-2003 Posts: 523
From: Unknown | | |
|
| @Hammer
could use a third core for chipset emulation too if he added that _________________
|
|
Status: Offline |
|
|
OneTimer1
|  |
Re: 68k emulation Posted on 8-Sep-2025 21:44:22
| | [ #5 ] |
|
|
 |
Super Member  |
Joined: 3-Aug-2015 Posts: 1319
From: Germany | | |
|
| Quote:
Mobileconnect wrote:
could use a third core for chipset emulation too if he added that
|
That would be more than a 68k emulation.
But I like the idea of having a chipset emulation on a free CPU core, maybe someone can offload some GFX operations to a free core. |
|
Status: Offline |
|
|
Hammer
 |  |
Re: 68k emulation Posted on 9-Sep-2025 0:16:50
| | [ #6 ] |
|
|
 |
Elite Member  |
Joined: 9-Mar-2003 Posts: 6607
From: Australia | | |
|
| @cdimauro
Quote:
I doubt that the MOVBE instruction is used on (Win)UAE JIT, and here a good performance boost can come.
Besides that, x86-64 has other advantages compared to AArch64: load-op, op-store, rep instructions, and especially large immediates support. So, the CISC way -> it's easier to mimick the 68k code execution, and it's also more efficient (less pipeline stalls due to depending, less instructions executed). |
I already know about x86-64's fused memory + ALU operations advantage for 68K emulation, but my comment is about the PPC plan for AArch64-based Emu68.
I already have an AmigaOS 4.1 FE license. _________________
|
|
Status: Offline |
|
|
ppcamiga1
|  |
Re: 68k emulation Posted on 9-Sep-2025 4:57:02
| | [ #7 ] |
|
|
 |
Super Member  |
Joined: 23-Aug-2015 Posts: 1082
From: Unknown | | |
|
| forget about emu something install linux and qemu on rpi
|
|
Status: Offline |
|
|