aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-openrisc/helper.h')
-rw-r--r--target-openrisc/helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-openrisc/helper.h b/target-openrisc/helper.h
index 635c69c423..404d46447f 100644
--- a/target-openrisc/helper.h
+++ b/target-openrisc/helper.h
@@ -63,4 +63,8 @@ DEF_HELPER_FLAGS_3(mul32, 0, i32, env, i32, i32)
/* interrupt */
DEF_HELPER_FLAGS_1(rfe, 0, void, env)
+/* sys */
+DEF_HELPER_FLAGS_4(mtspr, 0, void, env, tl, tl, tl)
+DEF_HELPER_FLAGS_4(mfspr, 0, tl, env, tl, tl, tl)
+
#include "def-helper.h"