On 01/10/2012 09:27 PM, Edgar E. Iglesias wrote: > +++ b/target-microblaze/helper.h > @@ -5,6 +5,7 @@ DEF_HELPER_0(debug, void) > DEF_HELPER_FLAGS_3(carry, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32, i32) > DEF_HELPER_2(cmp, i32, i32, i32) > DEF_HELPER_2(cmpu, i32, i32, i32) > +DEF_HELPER_1(clz, i32, i32)
Use DEF_HELPER_FLAGS_1 with PURE|CONST, since the function examines nothing but its arguments. r~