Closed
Description
I'm in the process of writing my own x86 emulator which uses dynamic recompilation, but I've run into a huge bottleneck: testing. It can translate code well, but I'm afraid that my emulator will have errors that will come back to bite me in the form of weird errors that takes loads of time to debug.
I've seen the tests/
folder, but it doesn't provide any true CPU testing. The QEMU test is cool, but the problem is that I need to be able to boot Linux first...
Besides manually looking at each opcode description and checking for accuracy, are there any other CPU correctness tests out there?
I've googled "Testing CPU Emulators", and I've seen an interesting CPU testing scheme that sounds cool but requires protected mode...
Metadata
Assignees
Labels
No labels