trying a test case for clzsi2
This commit is contained in:
parent
4e3fc640df
commit
e8c09a84f8
@ -775,6 +775,12 @@ fn main() {
|
|||||||
(builtins::int::udiv::__udivmodti4(a, b, Some(&mut r)), r)
|
(builtins::int::udiv::__udivmodti4(a, b, Some(&mut r)), r)
|
||||||
}");
|
}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// count leading zeros
|
||||||
|
gen(|(a): (usize)| {
|
||||||
|
Some(a.leading_zeros())
|
||||||
|
},
|
||||||
|
"builtins::int::__clzsi2(a)");
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! gen_float {
|
macro_rules! gen_float {
|
||||||
|
Loading…
Reference in New Issue
Block a user