@@ -32,10 +32,10 @@ macro_rules! common_tests {
3232 ) ;
3333 }
3434
35- fn expose_addr <const LANES : usize >( ) {
35+ fn expose_provenance <const LANES : usize >( ) {
3636 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 ,
3939 & |_| true ,
4040 ) ;
4141 }
@@ -80,10 +80,10 @@ mod const_ptr {
8080 ) ;
8181 }
8282
83- fn from_exposed_addr <const LANES : usize >( ) {
83+ fn with_exposed_provenance <const LANES : usize >( ) {
8484 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 >,
8787 & |_| true ,
8888 ) ;
8989 }
@@ -103,10 +103,10 @@ mod mut_ptr {
103103 ) ;
104104 }
105105
106- fn from_exposed_addr <const LANES : usize >( ) {
106+ fn with_exposed_provenance <const LANES : usize >( ) {
107107 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 >,
110110 & |_| true ,
111111 ) ;
112112 }
0 commit comments