Fixpoint int_of_one_bits' (l: list Int.int) : int :=
match l with
| nil => zero
| a :: b => add (shl' one a) (int_of_one_bits' b)
end.

Lemma is_power2'_rng:
forall n logn,
is_power2' n = Some logn ->
0 <= Int.unsigned logn < zwordsize.