aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/helper.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-20 19:37:39 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-26 21:10:11 +0200
commit4acb54baa6557244fd9ea60d8119abfbefae6777 (patch)
treec61957165747f6af51114b0a8ebc37d666f97be6 /target-microblaze/helper.h
parent370ab9863dd058c36781715f7a910685900acd5f (diff)
downloadqemu-4acb54baa6557244fd9ea60d8119abfbefae6777.zip
qemu-4acb54baa6557244fd9ea60d8119abfbefae6777.tar.gz
qemu-4acb54baa6557244fd9ea60d8119abfbefae6777.tar.bz2
microblaze: Add translation routines.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/helper.h')
-rw-r--r--target-microblaze/helper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/target-microblaze/helper.h b/target-microblaze/helper.h
new file mode 100644
index 0000000..8c5361e
--- /dev/null
+++ b/target-microblaze/helper.h
@@ -0,0 +1,19 @@
+#include "def-helper.h"
+
+DEF_HELPER_1(raise_exception, void, i32)
+DEF_HELPER_0(debug, void)
+DEF_HELPER_4(addkc, i32, 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)
+
+DEF_HELPER_2(divs, i32, i32, i32)
+DEF_HELPER_2(divu, i32, i32, i32)
+
+DEF_HELPER_FLAGS_2(pcmpbf, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32)
+#if !defined(CONFIG_USER_ONLY)
+DEF_HELPER_1(mmu_read, i32, i32)
+DEF_HELPER_2(mmu_write, void, i32, i32)
+#endif
+
+#include "def-helper.h"