diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-23 23:00:53 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-23 23:03:37 +0100 |
| commit | f2cff5ebb9ebc9712eec88dd5ec578f76efb33bc (patch) | |
| tree | 15261fea86c99fff5d3cda1b6edca48749433186 /library/portable-simd | |
| parent | 038e7c6c38b9e1713fb258c783441bb0102b8492 (diff) | |
| download | rust-f2cff5ebb9ebc9712eec88dd5ec578f76efb33bc.tar.gz rust-f2cff5ebb9ebc9712eec88dd5ec578f76efb33bc.zip | |
also rename the SIMD intrinsic
Diffstat (limited to 'library/portable-simd')
| -rw-r--r-- | library/portable-simd/crates/core_simd/src/simd/ptr/const_ptr.rs | 2 | ||||
| -rw-r--r-- | library/portable-simd/crates/core_simd/src/simd/ptr/mut_ptr.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/portable-simd/crates/core_simd/src/simd/ptr/const_ptr.rs b/library/portable-simd/crates/core_simd/src/simd/ptr/const_ptr.rs index 3ec9fccbff9..4d2fe999ca6 100644 --- a/library/portable-simd/crates/core_simd/src/simd/ptr/const_ptr.rs +++ b/library/portable-simd/crates/core_simd/src/simd/ptr/const_ptr.rs @@ -139,7 +139,7 @@ where #[inline] fn with_exposed_provenance(addr: Self::Usize) -> Self { // Safety: `self` is a pointer vector - unsafe { core::intrinsics::simd::simd_from_exposed_addr(addr) } + unsafe { core::intrinsics::simd::simd_with_exposed_provenance(addr) } } #[inline] diff --git a/library/portable-simd/crates/core_simd/src/simd/ptr/mut_ptr.rs b/library/portable-simd/crates/core_simd/src/simd/ptr/mut_ptr.rs index 1142839e213..b3437b9c499 100644 --- a/library/portable-simd/crates/core_simd/src/simd/ptr/mut_ptr.rs +++ b/library/portable-simd/crates/core_simd/src/simd/ptr/mut_ptr.rs @@ -136,7 +136,7 @@ where #[inline] fn with_exposed_provenance(addr: Self::Usize) -> Self { // Safety: `self` is a pointer vector - unsafe { core::intrinsics::simd::simd_from_exposed_addr(addr) } + unsafe { core::intrinsics::simd::simd_with_exposed_provenance(addr) } } #[inline] |
