Spice86 icon indicating copy to clipboard operation
Spice86 copied to clipboard

Cpu: 32 bit instructions unit test

Open maximilien-noal opened this issue 3 years ago • 8 comments

maximilien-noal avatar Jan 08 '23 22:01 maximilien-noal

Are there any plans in motion for this?

JorisVanEijden avatar Feb 16 '23 06:02 JorisVanEijden

This issue is not being worked on, feel free to grab it !

Also this issue should be renamed ' take the test executable from the qemu project and test 32 bit support with it', as I understand it.

@kevinferrare knows more about this.

maximilien-noal avatar Feb 16 '23 07:02 maximilien-noal

How about using this? https://github.com/barotto/test386.asm

It appears to be a test executable specifically written for testing x86 emulators.

JorisVanEijden avatar Feb 16 '23 19:02 JorisVanEijden

I considered it at one point but it is testing protected mode which we don't support. We could edit the asm to remove that though. Otherwise qemu has nice tests that you can recompile with only the features you want: https://github.com/JonathanSalwan/Triton/blob/master/src/testers/unittests/misc/qemu/test-i386.c

kevinferrare avatar Feb 17 '23 07:02 kevinferrare

https://github.com/TomHarte/ProcessorTests (contains the 8088 tests, too, the only part, apart from the approach, that might be revelant)

maximilien-noal avatar Sep 05 '23 07:09 maximilien-noal