>>> Eugene Korenevsky 04/28/15 11:54 PM >>>
>--- a/tools/tests/x86_emulator/test_x86_emulator.c
>+++ b/tools/tests/x86_emulator/test_x86_emulator.c
>@@ -288,7 +288,7 @@ int main(int argc, char **argv)
>rc = x86_emulate(&ctxt, &emulops);
>if ( (rc != X86EMUL_OKAY) ||
>(*res != 0x923456AA) ||
>-
CMPXCHG: in the case of inequality of the rAX and the operand,
need to check CF, PF, AF, SF and OF flags as well.
This adjustment covers the fix of incorrect comparison during
CMPXCHG emulation.
Signed-off-by: Eugene Korenevsky
---
tools/tests/x86_emulator/test_x86_emulator.c | 2 +-
1 file cha