summaryrefslogtreecommitdiff
path: root/target-i386/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-07-01 13:01:50 +0100
committerRichard Henderson <rth@twiddle.net>2016-02-13 07:59:59 +1100
commit64dbaff09bb768dbbb13142862554f18ab642866 (patch)
tree06f5149e36bd7057601b6e1b123a51fc19e100d7 /target-i386/helper.h
parenta5af12871fd4601c44f08d9e49131e9ca13ef102 (diff)
downloadqemu-64dbaff09bb768dbbb13142862554f18ab642866.tar.gz
target-i386: Split fxsave/fxrstor implementation
We will be able to reuse these pieces for XSAVE/XRSTOR. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/helper.h')
-rw-r--r--target-i386/helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/helper.h b/target-i386/helper.h
index 3a25c3b392..6109e466fb 100644
--- a/target-i386/helper.h
+++ b/target-i386/helper.h
@@ -185,8 +185,8 @@ DEF_HELPER_3(fstenv, void, env, tl, int)
DEF_HELPER_3(fldenv, void, env, tl, int)
DEF_HELPER_3(fsave, void, env, tl, int)
DEF_HELPER_3(frstor, void, env, tl, int)
-DEF_HELPER_3(fxsave, void, env, tl, int)
-DEF_HELPER_3(fxrstor, void, env, tl, int)
+DEF_HELPER_FLAGS_2(fxsave, TCG_CALL_NO_WG, void, env, tl)
+DEF_HELPER_FLAGS_2(fxrstor, TCG_CALL_NO_WG, void, env, tl)
DEF_HELPER_FLAGS_1(clz, TCG_CALL_NO_RWG_SE, tl, tl)
DEF_HELPER_FLAGS_1(ctz, TCG_CALL_NO_RWG_SE, tl, tl)