diff options
Diffstat (limited to 'tcg-runtime.c')
-rw-r--r-- | tcg-runtime.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tcg-runtime.c b/tcg-runtime.c index eb3bade..c8b98df 100644 --- a/tcg-runtime.c +++ b/tcg-runtime.c @@ -121,6 +121,16 @@ uint64_t HELPER(ctz_i64)(uint64_t arg, uint64_t zero_val) return arg ? ctz64(arg) : zero_val; } +uint32_t HELPER(clrsb_i32)(uint32_t arg) +{ + return clrsb32(arg); +} + +uint64_t HELPER(clrsb_i64)(uint64_t arg) +{ + return clrsb64(arg); +} + void HELPER(exit_atomic)(CPUArchState *env) { cpu_loop_exit_atomic(ENV_GET_CPU(env), GETPC()); |