diff options
author | Richard Henderson <rth@twiddle.net> | 2013-01-23 16:10:49 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-02-18 15:25:55 -0800 |
commit | db9f2597722d5d8bc5f2330f186288d893114338 (patch) | |
tree | 240c865992c49a148ba7df2e0d50dffa7cb04a88 /target-i386/helper.h | |
parent | 8601c0b6c553a018fc62007efa8ac2a71d77f449 (diff) | |
download | qemu-db9f2597722d5d8bc5f2330f186288d893114338.zip qemu-db9f2597722d5d8bc5f2330f186288d893114338.tar.gz qemu-db9f2597722d5d8bc5f2330f186288d893114338.tar.bz2 |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/helper.h b/target-i386/helper.h index 9ed720d..901ff73 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) |