Commit e7a6965b5a327c4136bad8df582e8acc08db9eff
1 parent
b9c18f56
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
Showing
1 changed file
with
4 additions
and
4 deletions
target-mips/helper.h
... | ... | @@ -15,11 +15,11 @@ DEF_HELPER_3(lwr, tl, tl, tl, int) |
15 | 15 | DEF_HELPER_3(swl, void, tl, tl, int) |
16 | 16 | DEF_HELPER_3(swr, void, tl, tl, int) |
17 | 17 | |
18 | -DEF_HELPER_1(clo, tl, tl) | |
19 | -DEF_HELPER_1(clz, tl, tl) | |
18 | +DEF_HELPER_FLAGS_1(clo, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) | |
19 | +DEF_HELPER_FLAGS_1(clz, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) | |
20 | 20 | #ifdef TARGET_MIPS64 |
21 | -DEF_HELPER_1(dclo, tl, tl) | |
22 | -DEF_HELPER_1(dclz, tl, tl) | |
21 | +DEF_HELPER_FLAGS_1(dclo, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) | |
22 | +DEF_HELPER_FLAGS_1(dclz, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) | |
23 | 23 | DEF_HELPER_2(dmult, void, tl, tl) |
24 | 24 | DEF_HELPER_2(dmultu, void, tl, tl) |
25 | 25 | #endif | ... | ... |