@@ -32,10 +32,10 @@ macro_rules! common_tests {
32
32
) ;
33
33
}
34
34
35
- fn expose_addr <const LANES : usize >( ) {
35
+ fn expose_provenance <const LANES : usize >( ) {
36
36
test_helpers:: test_unary_elementwise(
37
- & Simd :: <* $constness u32 , LANES >:: expose_addr ,
38
- & <* $constness u32 >:: expose_addr ,
37
+ & Simd :: <* $constness u32 , LANES >:: expose_provenance ,
38
+ & <* $constness u32 >:: expose_provenance ,
39
39
& |_| true ,
40
40
) ;
41
41
}
@@ -80,10 +80,10 @@ mod const_ptr {
80
80
) ;
81
81
}
82
82
83
- fn from_exposed_addr <const LANES : usize >( ) {
83
+ fn with_exposed_provenance <const LANES : usize >( ) {
84
84
test_helpers:: test_unary_elementwise(
85
- & Simd :: <* const u32 , LANES >:: from_exposed_addr ,
86
- & core:: ptr:: from_exposed_addr :: <u32 >,
85
+ & Simd :: <* const u32 , LANES >:: with_exposed_provenance ,
86
+ & core:: ptr:: with_exposed_provenance :: <u32 >,
87
87
& |_| true ,
88
88
) ;
89
89
}
@@ -103,10 +103,10 @@ mod mut_ptr {
103
103
) ;
104
104
}
105
105
106
- fn from_exposed_addr <const LANES : usize >( ) {
106
+ fn with_exposed_provenance <const LANES : usize >( ) {
107
107
test_helpers:: test_unary_elementwise(
108
- & Simd :: <* mut u32 , LANES >:: from_exposed_addr ,
109
- & core:: ptr:: from_exposed_addr_mut :: <u32 >,
108
+ & Simd :: <* mut u32 , LANES >:: with_exposed_provenance ,
109
+ & core:: ptr:: with_exposed_provenance_mut :: <u32 >,
110
110
& |_| true ,
111
111
) ;
112
112
}
0 commit comments