@@ -7,40 +7,40 @@ macro_rules! common_tests {
7
7
test_helpers:: test_lanes! {
8
8
fn is_null<const LANES : usize >( ) {
9
9
test_helpers:: test_unary_mask_elementwise(
10
- & Simd :: <* $constness ( ) , LANES >:: is_null,
11
- & <* $constness ( ) >:: is_null,
10
+ & Simd :: <* $constness u32 , LANES >:: is_null,
11
+ & <* $constness u32 >:: is_null,
12
12
& |_| true ,
13
13
) ;
14
14
}
15
15
16
16
fn addr<const LANES : usize >( ) {
17
17
test_helpers:: test_unary_elementwise(
18
- & Simd :: <* $constness ( ) , LANES >:: addr,
19
- & <* $constness ( ) >:: addr,
18
+ & Simd :: <* $constness u32 , LANES >:: addr,
19
+ & <* $constness u32 >:: addr,
20
20
& |_| true ,
21
21
) ;
22
22
}
23
23
24
24
fn wrapping_offset<const LANES : usize >( ) {
25
25
test_helpers:: test_binary_elementwise(
26
- & Simd :: <* $constness ( ) , LANES >:: wrapping_offset,
27
- & <* $constness ( ) >:: wrapping_offset,
26
+ & Simd :: <* $constness u32 , LANES >:: wrapping_offset,
27
+ & <* $constness u32 >:: wrapping_offset,
28
28
& |_, _| true ,
29
29
) ;
30
30
}
31
31
32
32
fn wrapping_add<const LANES : usize >( ) {
33
33
test_helpers:: test_binary_elementwise(
34
- & Simd :: <* $constness ( ) , LANES >:: wrapping_add,
35
- & <* $constness ( ) >:: wrapping_add,
34
+ & Simd :: <* $constness u32 , LANES >:: wrapping_add,
35
+ & <* $constness u32 >:: wrapping_add,
36
36
& |_, _| true ,
37
37
) ;
38
38
}
39
39
40
40
fn wrapping_sub<const LANES : usize >( ) {
41
41
test_helpers:: test_binary_elementwise(
42
- & Simd :: <* $constness ( ) , LANES >:: wrapping_sub,
43
- & <* $constness ( ) >:: wrapping_sub,
42
+ & Simd :: <* $constness u32 , LANES >:: wrapping_sub,
43
+ & <* $constness u32 >:: wrapping_sub,
44
44
& |_, _| true ,
45
45
) ;
46
46
}
0 commit comments