microblaze: Improve addkc
commit40cbf5b7098981f66ef161e6ce7a9f6770537ea4
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sat, 22 Jan 2011 11:02:53 +0000 (22 12:02 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sat, 22 Jan 2011 11:02:53 +0000 (22 12:02 +0100)
tree7e478289e6c8733e271a723cd9b08704e52ea651
parent2accfb5fa6f097845915973a06824bc72fb26e94
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>
target-microblaze/helper.h
target-microblaze/op_helper.c
target-microblaze/translate.c