On Wed, 26 May 2021, Paul Gofman wrote:
FWIW the tests succeed on real hardware for me (64 bit, xstate supported) on Win7 and Win10 (latest; the broken case is not hit). I suspect the fall into broken case has something to do with VM specifics,
Not so for Windows 10 since it falls into the broken case on cw-rx460 (Windows 10 1507) which is not a VM (i7-2600K + AMD RX460 graphics card):
virtual.c:1128: system page size 0x1000 virtual.c:224: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:939: XState EnabledFeatures 7. virtual.c:962: Test failed: Got unexpected AllFeatures[0] 0, expected 160. virtual.c:962: Test failed: Got unexpected AllFeatures[1] 0, expected 256. virtual.c:962: Test failed: Got unexpected AllFeatures[2] 0, expected 256. virtual.c:970: Size=832 AllFeatureSize=832 virtual.c:1075: Tests skipped: RtlFindExportedRoutineByName not supported virtual.c:1092: Tests skipped: syscall thunk relocated 0f78:virtual:0.234 1040 tests executed (0 marked as todo, 3 failures), 3 skipped.