On 10/23/21 3:12 AM, BALATON Zoltan wrote:
You mentioning target_ulong reminded me a question I had. Currently we have
qemu-system-ppc and qemu-system-ppc64 but the latter includes all machines
of the former too so you could run for example sam460ex with
qemu-system-ppc64 (except mac99 which behaves differently based on which
executable it's part of but you could use mac99 -cpu G4 with
qemu-system-ppc64 as well). But isn't target_ulong different in these
executables and could that cause a problem with this? I've always used
qemu-system-ppc for 32 bit machines but we could have one just executable
for all machines if there's no need for both.
Yes, we can, and probably should, have one executable for all PPC system
emulation. RISCV is actively working toward that, and I think it would be
fairly easy for ARM and x86 to follow.
It's something relatively easy to do that reduces the size of the test
matrix.