diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-07 22:48:36 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-07 22:48:36 +0000 |
commit | 37f9ba46003cf7629b1f2bc7604e8a945cd7e094 (patch) | |
tree | d847054ef911477c517ca18af23725921f1285ba /target-arm | |
parent | 31a877f201416821d80ac974ac03c476fae7efd2 (diff) | |
download | qemu-37f9ba46003cf7629b1f2bc7604e8a945cd7e094.zip qemu-37f9ba46003cf7629b1f2bc7604e8a945cd7e094.tar.gz qemu-37f9ba46003cf7629b1f2bc7604e8a945cd7e094.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index 9e51464..f71162b 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); |