Le 06/05/2016 à 13:45, Alexander Graf a écrit : > > > On 06.05.16 13:40, John Paul Adrian Glaubitz wrote: >> On 05/06/2016 11:54 AM, Laurent Vivier wrote: >>>> When I bootstrap gcc with the qemu built from your 680x0-master-dev >>>> branch I get a bootstrap comparison failure for a lot of files. >> >> That is odd. Both gcc-5 [1] and gcc-6 [2] build fine for me. >> >>> Yes, I know this is not perfect, but keeping all these patches in my own >>> tree doesn't help. >>> >>> It's why I try to have them merged. >> >> Exactly. Laurent is doing a great job on the m68k code and I'm trying >> to help him where I can and so are other Debian people whose packages >> are failing to build on qemu-m68k. >> >> There are still several issues, but we are working on ironing these >> out. > > Awesome, do you think you could port risu to 68k? > > https://git.linaro.org/people/peter.maydell/risu.git/ > > I was amazed by the quality the aarch64 emulation received once it was > properly testable.
I've already had a look at risu for that. But risu uses a perl scripts to generate the instruction from the .risu file, and it is very ARM specific (and I don't like perl :) ) I will try again. BTW, M68k emulation has been tested and compared to real hardware execution. It's not as good as risu, but it helps (it works only with register access). https://github.com/vivier/m68k-testgen From http://lisa.sunder.net/cputest.html (extended by Gwenole Beauchesne for BasiliskII) For the FPU part, I've compared the result in QEMU and on a real host with: https://github.com/vivier/m68k-testfloat https://github.com/vivier/m68k-softfloat Laurent