aboutsummaryrefslogtreecommitdiff
path: root/target-i386/op.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-24 15:27:58 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-24 15:27:58 +0000
commit4b7aba517372180537d98434e1604d5b0c4e8527 (patch)
tree2ea09f7eb506b68125986f1b37f98877045d5323 /target-i386/op.c
parent35b66fc4f9dd2c4c3fb8e26c5c1480965b81bbd4 (diff)
correct NT flag behavior
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@583 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op.c')
-rw-r--r--target-i386/op.c12
1 files 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