aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/op_helper.c
diff options
context:
space:
mode:
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 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;
}