summaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-07 22:48:36 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-07 22:48:36 +0000
commit37f9ba46003cf7629b1f2bc7604e8a945cd7e094 (patch)
treed847054ef911477c517ca18af23725921f1285ba /target-arm
parent31a877f201416821d80ac974ac03c476fae7efd2 (diff)
downloadqemu-37f9ba46003cf7629b1f2bc7604e8a945cd7e094.zip
target-arm: don't use T[x] in helper
(Torbjörn Andersson) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7034 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 9e5146444e..f71162bc4f 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -307,7 +307,7 @@ void HELPER(set_user_reg)(uint32_t regno, uint32_t val)
uint32_t HELPER (add_cc)(uint32_t a, uint32_t b)
{
uint32_t result;
- result = T0 + T1;
+ result = a + b;
env->NF = env->ZF = result;
env->CF = result < a;
env->VF = (a ^ b ^ -1) & (a ^ result);