aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/helper.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-01-22 12:02:53 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-01-22 12:02:53 +0100
commit40cbf5b7098981f66ef161e6ce7a9f6770537ea4 (patch)
tree7e478289e6c8733e271a723cd9b08704e52ea651 /target-microblaze/helper.h
parent2accfb5fa6f097845915973a06824bc72fb26e94 (diff)
microblaze: Improve addkc
* Optimize handling when carry is not updated. * Optimize handling for adds with nop semantics. * Move code from helper_addkc to the translator making helper_addkc PURE and CONST. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/helper.h')
-rw-r--r--target-microblaze/helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-microblaze/helper.h b/target-microblaze/helper.h
index 11ad1b6dcb..4871406f8f 100644
--- a/target-microblaze/helper.h
+++ b/target-microblaze/helper.h
@@ -2,7 +2,7 @@
DEF_HELPER_1(raise_exception, void, i32)
DEF_HELPER_0(debug, void)
-DEF_HELPER_4(addkc, i32, i32, i32, i32, i32)
+DEF_HELPER_FLAGS_3(addkc, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32, i32)
DEF_HELPER_4(subkc, i32, i32, i32, i32, i32)
DEF_HELPER_2(cmp, i32, i32, i32)
DEF_HELPER_2(cmpu, i32, i32, i32)