trying a test case for clzsi2
This commit is contained in:
parent
86de741356
commit
a57c899eb1
1 changed files with 6 additions and 0 deletions
|
|
@ -775,6 +775,12 @@ fn main() {
|
|||
(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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue