summaryrefslogtreecommitdiff
path: root/target-sparc/helper.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-07-03 16:01:57 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-10-23 15:09:37 +0000
commit2ffd9176b10caefab5f2bade13b1b54154266b35 (patch)
treecb0c460c8e9bdaf2210d9ed5acc0287e7abc9205 /target-sparc/helper.h
parentcffc581873fdb482644acfc4f61d294ad4e81cf0 (diff)
downloadqemu-2ffd9176b10caefab5f2bade13b1b54154266b35.zip
Sparc: avoid AREG0 for lazy condition code helpers
Make lazy condition code helpers take a parameter for CPUState instead of relying on global env. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/helper.h')
-rw-r--r--target-sparc/helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
index fe63846434..57d0073f2b 100644
--- a/target-sparc/helper.h
+++ b/target-sparc/helper.h
@@ -159,7 +159,7 @@ VIS_CMPHELPER(cmpne);
#undef F_HELPER_DQ_0_1
#undef VIS_HELPER
#undef VIS_CMPHELPER
-DEF_HELPER_0(compute_psr, void);
-DEF_HELPER_0(compute_C_icc, i32);
+DEF_HELPER_1(compute_psr, void, env);
+DEF_HELPER_1(compute_C_icc, i32, env);
#include "def-helper.h"