Skip to content

Unit Tests for v86 #129

Closed
Closed
@nepx

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions