diff options
author | Jia Liu <proljc@gmail.com> | 2012-07-20 15:50:49 +0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-27 21:13:03 +0000 |
commit | 4dd044c6ba8b957899f0f308ab43ad61a27d26d4 (patch) | |
tree | 68983918642a4b791fee6659513f8097c9ccdb17 /target-openrisc/helper.h | |
parent | ce6e1e9ec9b54811a942d6aece92fab3f5ace88d (diff) |
target-or32: Add system instructions
Add OpenRISC system instructions.
Signed-off-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-openrisc/helper.h')
-rw-r--r-- | target-openrisc/helper.h | 4 |
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" |