aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/helper.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-01-10 10:17:21 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-01-12 13:54:16 +0100
commit48b5e96f0f7006f46a7d6c6f0934a6acdda22e3b (patch)
tree87714ec1e00a6c0e51c83f767ad5ead5656d43a4 /target-microblaze/helper.h
parent2355c16e74ffa4d14e7fc2b4a23b055565ac0221 (diff)
microblaze: Add support for the clz insn
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/helper.h')
-rw-r--r--target-microblaze/helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-microblaze/helper.h b/target-microblaze/helper.h
index b92aa34d05..a8d75c0bf0 100644
--- a/target-microblaze/helper.h
+++ b/target-microblaze/helper.h
@@ -5,6 +5,7 @@ DEF_HELPER_0(debug, void)
DEF_HELPER_FLAGS_3(carry, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32, i32)
DEF_HELPER_2(cmp, i32, i32, i32)
DEF_HELPER_2(cmpu, i32, i32, i32)
+DEF_HELPER_FLAGS_1(clz, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32)
DEF_HELPER_2(divs, i32, i32, i32)
DEF_HELPER_2(divu, i32, i32, i32)