diff options
author | Jia Liu <proljc@gmail.com> | 2012-07-20 15:50:43 +0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-27 21:12:59 +0000 |
commit | e54a5aff1305bd538ba320c4b637e0c89029337e (patch) | |
tree | ccb6b23090af705ab09c62eb1a4ebde1c2ebe0fb /target-openrisc/helper.h | |
parent | 1d7d4034690a4dd292b214a788298a2cacd09fb2 (diff) | |
download | qemu-e54a5aff1305bd538ba320c4b637e0c89029337e.zip qemu-e54a5aff1305bd538ba320c4b637e0c89029337e.tar.gz qemu-e54a5aff1305bd538ba320c4b637e0c89029337e.tar.bz2 |
target-or32: Add int instruction helpers
Add OpenRISC int instruction helpers.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-openrisc/helper.h b/target-openrisc/helper.h index 43b23ca..b4128ac 100644 --- a/target-openrisc/helper.h +++ b/target-openrisc/helper.h @@ -22,6 +22,11 @@ /* exception */ DEF_HELPER_FLAGS_2(exception, 0, void, env, i32) +/* int */ +DEF_HELPER_FLAGS_1(ff1, 0, tl, tl) +DEF_HELPER_FLAGS_1(fl1, 0, tl, tl) +DEF_HELPER_FLAGS_3(mul32, 0, i32, env, i32, i32) + /* interrupt */ DEF_HELPER_FLAGS_1(rfe, 0, void, env) |