aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/op_helper.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-01-23 03:52:20 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-01-23 03:52:20 +0100
commit5d0bb8239d84292380d0024acd0d510cc957dae0 (patch)
tree197a920c4bc5474d3345f786dfa33b95d57d972b /target-microblaze/op_helper.c
parente0a42ebc0831e3ae18e965cc202b5d6649cc38f2 (diff)
downloadqemu-5d0bb8239d84292380d0024acd0d510cc957dae0.zip
qemu-5d0bb8239d84292380d0024acd0d510cc957dae0.tar.gz
qemu-5d0bb8239d84292380d0024acd0d510cc957dae0.tar.bz2
microblaze: cleanup helper_addkc
Remove unused addition and rename to helper_carry. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/op_helper.c')
-rw-r--r--target-microblaze/op_helper.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c
index 59e4674..d75a53c 100644
--- a/target-microblaze/op_helper.c
+++ b/target-microblaze/op_helper.c
@@ -128,12 +128,9 @@ uint32_t helper_cmpu(uint32_t a, uint32_t b)
return t;
}
-uint32_t helper_addkc(uint32_t a, uint32_t b, uint32_t cf)
+uint32_t helper_carry(uint32_t a, uint32_t b, uint32_t cf)
{
- uint32_t d, ncf;
-
- d = a + b + cf;
-
+ uint32_t ncf;
ncf = compute_carry(a, b, cf);
return ncf;
}