Skip to content

Commit c7a9561

Browse files
committed
also rename the SIMD intrinsic
1 parent def711f commit c7a9561

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/core_simd/src/simd/ptr/const_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ where
139139
#[inline]
140140
fn with_exposed_provenance(addr: Self::Usize) -> Self {
141141
// Safety: `self` is a pointer vector
142-
unsafe { core::intrinsics::simd::simd_from_exposed_addr(addr) }
142+
unsafe { core::intrinsics::simd::simd_with_exposed_provenance(addr) }
143143
}
144144

145145
#[inline]

crates/core_simd/src/simd/ptr/mut_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ where
136136
#[inline]
137137
fn with_exposed_provenance(addr: Self::Usize) -> Self {
138138
// Safety: `self` is a pointer vector
139-
unsafe { core::intrinsics::simd::simd_from_exposed_addr(addr) }
139+
unsafe { core::intrinsics::simd::simd_with_exposed_provenance(addr) }
140140
}
141141

142142
#[inline]

0 commit comments

Comments
 (0)