Skip to content

Commit 6da2337

Browse files
RalfJungcalebzulawski
authored andcommitted
also rename the SIMD intrinsic
1 parent 2b03143 commit 6da2337

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
@@ -160,7 +160,7 @@ where
160160
#[inline]
161161
fn with_exposed_provenance(addr: Self::Usize) -> Self {
162162
// Safety: `self` is a pointer vector
163-
unsafe { core::intrinsics::simd::simd_from_exposed_addr(addr) }
163+
unsafe { core::intrinsics::simd::simd_with_exposed_provenance(addr) }
164164
}
165165

166166
#[inline]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ where
157157
#[inline]
158158
fn with_exposed_provenance(addr: Self::Usize) -> Self {
159159
// Safety: `self` is a pointer vector
160-
unsafe { core::intrinsics::simd::simd_from_exposed_addr(addr) }
160+
unsafe { core::intrinsics::simd::simd_with_exposed_provenance(addr) }
161161
}
162162

163163
#[inline]

0 commit comments

Comments
 (0)