From 4b7aba517372180537d98434e1604d5b0c4e8527 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 24 Jan 2004 15:27:58 +0000 Subject: [PATCH] correct NT flag behavior git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@583 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/op.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target-i386/op.c b/target-i386/op.c index 46e75e192c..1503134d1f 100644 --- a/target-i386/op.c +++ b/target-i386/op.c @@ -1092,32 +1092,32 @@ void OPPROTO op_set_cc_op(void) void OPPROTO op_movl_eflags_T0(void) { - load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK)); + load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | NT_MASK)); } void OPPROTO op_movw_eflags_T0(void) { - load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK) & 0xffff); + load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | NT_MASK) & 0xffff); } void OPPROTO op_movl_eflags_T0_io(void) { - load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | IF_MASK)); + load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | NT_MASK | IF_MASK)); } void OPPROTO op_movw_eflags_T0_io(void) { - load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | IF_MASK) & 0xffff); + load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | NT_MASK | IF_MASK) & 0xffff); } void OPPROTO op_movl_eflags_T0_cpl0(void) { - load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | IF_MASK | IOPL_MASK)); + load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | NT_MASK | IF_MASK | IOPL_MASK)); } void OPPROTO op_movw_eflags_T0_cpl0(void) { - load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | IF_MASK | IOPL_MASK) & 0xffff); + load_eflags(T0, (TF_MASK | AC_MASK | ID_MASK | NT_MASK | IF_MASK | IOPL_MASK) & 0xffff); } #if 0 -- GitLab