diff --git a/tests/X86/Run.cpp b/tests/X86/Run.cpp index 6a6d49a7..9ffcab67 100644 --- a/tests/X86/Run.cpp +++ b/tests/X86/Run.cpp @@ -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;