summaryrefslogtreecommitdiff
path: root/target-mips/helper.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-06 12:34:07 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-06 12:34:07 +0000
commite7a6965b5a327c4136bad8df582e8acc08db9eff (patch)
treee6f35e7eab28df3e4fd79da259276040d24c98ef /target-mips/helper.h
parentb9c18f56585ab146c6a25084bce00e4c52eefcc6 (diff)
downloadqemu-e7a6965b5a327c4136bad8df582e8acc08db9eff.tar.gz
target-mips: use the TCG_CALL_PURE and TCG_CALL_CONST for some helpers
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7009 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/helper.h')
-rw-r--r--target-mips/helper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-mips/helper.h b/target-mips/helper.h
index e446578377..b8ec15eab2 100644
--- a/target-mips/helper.h
+++ b/target-mips/helper.h
@@ -15,11 +15,11 @@ DEF_HELPER_3(lwr, tl, tl, tl, int)
DEF_HELPER_3(swl, void, tl, tl, int)
DEF_HELPER_3(swr, void, tl, tl, int)
-DEF_HELPER_1(clo, tl, tl)
-DEF_HELPER_1(clz, tl, tl)
+DEF_HELPER_FLAGS_1(clo, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
+DEF_HELPER_FLAGS_1(clz, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
#ifdef TARGET_MIPS64
-DEF_HELPER_1(dclo, tl, tl)
-DEF_HELPER_1(dclz, tl, tl)
+DEF_HELPER_FLAGS_1(dclo, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
+DEF_HELPER_FLAGS_1(dclz, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
DEF_HELPER_2(dmult, void, tl, tl)
DEF_HELPER_2(dmultu, void, tl, tl)
#endif