[7009] target-mips: use the TCG_CALL_PURE and TCG_CALL_CONST for some helpers
Revision: 7009
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7009 Author: aurel32 Date: 2009-04-06 12:34:07 +0000 (Mon, 06 Apr 2009)
Log Message:
-----------
target-mips: use the TCG_CALL_PURE and TCG_CALL_CONST for some helpers
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/target-mips/helper.h
Modified: trunk/target-mips/helper.h
===================================================================
target-mips/helper.h +4 -4
@@ -15,11 +15,11 @@ 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