From 5d0bb8239d84292380d0024acd0d510cc957dae0 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Sun, 23 Jan 2011 03:52:20 +0100 Subject: microblaze: cleanup helper_addkc Remove unused addition and rename to helper_carry. Signed-off-by: Edgar E. Iglesias --- target-microblaze/op_helper.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'target-microblaze/op_helper.c') diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index 59e4674ded..d75a53cc54 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; } -- cgit v1.2.1