mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
Resolve semantics tests on AMD systems (#637)
This commit is contained in:
@@ -872,6 +872,11 @@ static void RunWithFlags(const test::TestInfo *info, Flags flags,
|
||||
lifted_state->x87.fxsave.fop = 0;
|
||||
native_state->x87.fxsave.fop = 0;
|
||||
|
||||
// On AMD systems, FXSAVE does not set x87 pointer registers.
|
||||
// Even though we track `ip`, don't compare it.
|
||||
lifted_state->x87.fxsave.ip = 0;
|
||||
native_state->x87.fxsave.ip = 0;
|
||||
|
||||
// Don't compare the tag words.
|
||||
lifted_state->x87.fxsave.ftw.flat = 0;
|
||||
native_state->x87.fxsave.ftw.flat = 0;
|
||||
|
||||
Reference in New Issue
Block a user