aboutsummaryrefslogtreecommitdiff
path: root/target-mips/helper.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-06-08 13:29:59 -0700
committerAurelien Jarno <aurelien@aurel32.net>2010-06-09 16:10:50 +0200
commit3c824109da076d2a1df4b798f9df81b385131f92 (patch)
tree504d7c603ec17658f473702dd2034e0b8bba0e49 /target-mips/helper.h
parent620e48f66350991918dd78e9a686a9b159fec111 (diff)
downloadqemu-3c824109da076d2a1df4b798f9df81b385131f92.zip
qemu-3c824109da076d2a1df4b798f9df81b385131f92.tar.gz
qemu-3c824109da076d2a1df4b798f9df81b385131f92.tar.bz2
target-mips: microMIPS ASE support
Add instruction decoding for the microMIPS ASE. All we do is decode and then forward to the existing gen_* routines. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/helper.h')
-rw-r--r--target-mips/helper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/target-mips/helper.h b/target-mips/helper.h
index ab47b1a..a6ba75d 100644
--- a/target-mips/helper.h
+++ b/target-mips/helper.h
@@ -160,6 +160,15 @@ DEF_HELPER_1(emt, tl, tl)
DEF_HELPER_1(dvpe, tl, tl)
DEF_HELPER_1(evpe, tl, tl)
#endif /* !CONFIG_USER_ONLY */
+
+/* microMIPS functions */
+DEF_HELPER_3(lwm, void, tl, tl, i32);
+DEF_HELPER_3(swm, void, tl, tl, i32);
+#ifdef TARGET_MIPS64
+DEF_HELPER_3(ldm, void, tl, tl, i32);
+DEF_HELPER_3(sdm, void, tl, tl, i32);
+#endif
+
DEF_HELPER_2(fork, void, tl, tl)
DEF_HELPER_1(yield, tl, tl)