aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cc_helper.c
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-05-28 16:21:08 +0800
committerBlue Swirl <blauwirbel@gmail.com>2013-06-15 17:50:21 +0000
commit80cf2c81a1be732cf1ce4a810ddc7721714d684e (patch)
treefb7dafd0d88b49f1d0cfde3cacfbb34107f0b0bf /target-i386/cc_helper.c
parenta78d0eabd4ca05789a9604fe632b9399bf378fee (diff)
downloadqemu-arm-80cf2c81a1be732cf1ce4a810ddc7721714d684e.tar.gz
target-i386/helper: remove DF macro
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/cc_helper.c')
-rw-r--r--target-i386/cc_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cc_helper.c b/target-i386/cc_helper.c
index 9daa1a06b8..ee04092b4e 100644
--- a/target-i386/cc_helper.c
+++ b/target-i386/cc_helper.c
@@ -331,7 +331,7 @@ target_ulong helper_read_eflags(CPUX86State *env)
uint32_t eflags;
eflags = cpu_cc_compute_all(env, CC_OP);
- eflags |= (DF & DF_MASK);
+ eflags |= (env->df & DF_MASK);
eflags |= env->eflags & ~(VM_MASK | RF_MASK);
return eflags;
}