about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-23 23:00:53 +0100
committerRalf Jung <post@ralfj.de>2024-03-23 23:03:37 +0100
commitf2cff5ebb9ebc9712eec88dd5ec578f76efb33bc (patch)
tree15261fea86c99fff5d3cda1b6edca48749433186 /library/core/src
parent038e7c6c38b9e1713fb258c783441bb0102b8492 (diff)
downloadrust-f2cff5ebb9ebc9712eec88dd5ec578f76efb33bc.tar.gz
rust-f2cff5ebb9ebc9712eec88dd5ec578f76efb33bc.zip
also rename the SIMD intrinsic
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/intrinsics/simd.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/core/src/intrinsics/simd.rs b/library/core/src/intrinsics/simd.rs
index b69f4f853b9..f28ba84f7e9 100644
--- a/library/core/src/intrinsics/simd.rs
+++ b/library/core/src/intrinsics/simd.rs
@@ -549,6 +549,10 @@ extern "rust-intrinsic" {
     ///
     /// `U` must be a vector of pointers, with the same length as `T`.
     #[rustc_nounwind]
+    #[cfg(not(bootstrap))]
+    pub fn simd_with_exposed_provenance<T, U>(addr: T) -> U;
+    #[rustc_nounwind]
+    #[cfg(bootstrap)]
     pub fn simd_from_exposed_addr<T, U>(addr: T) -> U;
 
     /// Swap bytes of each element.
@@ -655,3 +659,6 @@ extern "rust-intrinsic" {
     #[rustc_nounwind]
     pub fn simd_flog<T>(a: T) -> T;
 }
+
+#[cfg(bootstrap)]
+pub use simd_from_exposed_addr as simd_with_exposed_provenance;