summaryrefslogtreecommitdiff
path: root/target-mips/helper.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-12 12:42:35 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-12 12:42:35 +0000
commit2b0233abfb42d42c2ac1fb3d73953218f5e30b39 (patch)
treec148358ce96148315ff06c453e216108b444dc09 /target-mips/helper.h
parentc596defdb9507d9f98269e760616773e2acde371 (diff)
downloadqemu-2b0233abfb42d42c2ac1fb3d73953218f5e30b39.tar.gz
Switch bitfield instructions and assorted special ops to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4739 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/helper.h')
-rw-r--r--target-mips/helper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/target-mips/helper.h b/target-mips/helper.h
index 7918c9e993..246270a59e 100644
--- a/target-mips/helper.h
+++ b/target-mips/helper.h
@@ -204,5 +204,24 @@ FOP_PROTO(ngt)
#undef FOP_PROTO
/* Special functions */
+DEF_HELPER(void, do_di, (void))
+DEF_HELPER(void, do_ei, (void))
+DEF_HELPER(void, do_eret, (void))
+DEF_HELPER(void, do_deret, (void))
+DEF_HELPER(void, do_rdhwr_cpunum, (void))
+DEF_HELPER(void, do_rdhwr_synci_step, (void))
+DEF_HELPER(void, do_rdhwr_cc, (void))
+DEF_HELPER(void, do_rdhwr_ccres, (void))
DEF_HELPER(void, do_pmon, (int function))
DEF_HELPER(void, do_wait, (void))
+
+/* Bitfield operations. */
+DEF_HELPER(void, do_ext, (uint32_t pos, uint32_t size))
+DEF_HELPER(void, do_ins, (uint32_t pos, uint32_t size))
+DEF_HELPER(void, do_wsbh, (void))
+#ifdef TARGET_MIPS64
+DEF_HELPER(void, do_dext, (uint32_t pos, uint32_t size))
+DEF_HELPER(void, do_dins, (uint32_t pos, uint32_t size))
+DEF_HELPER(void, do_dsbh, (void))
+DEF_HELPER(void, do_dshd, (void))
+#endif