summaryrefslogtreecommitdiff
path: root/target-i386/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-01-23 16:10:49 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-18 15:25:55 -0800
commitdb9f2597722d5d8bc5f2330f186288d893114338 (patch)
tree240c865992c49a148ba7df2e0d50dffa7cb04a88 /target-i386/helper.h
parent8601c0b6c553a018fc62007efa8ac2a71d77f449 (diff)
downloadqemu-db9f2597722d5d8bc5f2330f186288d893114338.tar.gz
target-i386: Make helper_cc_compute_{all,c} const
Pass the data in explicitly, rather than indirectly via env. This avoids all sorts of unnecessary register spillage. 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 9ed720d0ed..901ff73c12 100644
--- a/target-i386/helper.h
+++ b/target-i386/helper.h
@@ -1,7 +1,7 @@
#include "exec/def-helper.h"
-DEF_HELPER_FLAGS_2(cc_compute_all, TCG_CALL_NO_SE, i32, env, int)
-DEF_HELPER_FLAGS_2(cc_compute_c, TCG_CALL_NO_SE, i32, env, int)
+DEF_HELPER_FLAGS_3(cc_compute_all, TCG_CALL_NO_RWG_SE, tl, tl, tl, int)
+DEF_HELPER_FLAGS_3(cc_compute_c, TCG_CALL_NO_RWG_SE, tl, tl, tl, int)
DEF_HELPER_0(lock, void)
DEF_HELPER_0(unlock, void)