diff options
| author | Caleb Zulawski <caleb.zulawski@gmail.com> | 2022-09-18 16:48:51 -0400 |
|---|---|---|
| committer | Caleb Zulawski <caleb.zulawski@gmail.com> | 2022-10-29 11:55:01 -0400 |
| commit | a79718ffa8cdfb5ee7ab3d9281b162fe37eb0606 (patch) | |
| tree | 286e9abafad7f94e25c346cad82b27af97129322 | |
| parent | 0fcc4069c12a4cffa69397388a0be42d45afdd49 (diff) | |
| download | rust-a79718ffa8cdfb5ee7ab3d9281b162fe37eb0606.tar.gz rust-a79718ffa8cdfb5ee7ab3d9281b162fe37eb0606.zip | |
Use new intrinsics
| -rw-r--r-- | crates/core_simd/src/intrinsics.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/crates/core_simd/src/intrinsics.rs b/crates/core_simd/src/intrinsics.rs index 45f01fa0f77..d5466822b93 100644 --- a/crates/core_simd/src/intrinsics.rs +++ b/crates/core_simd/src/intrinsics.rs @@ -153,7 +153,6 @@ extern "platform-intrinsic" { /// equivalent to wrapping_offset pub(crate) fn simd_arith_offset<T, U>(ptr: T, offset: U) -> T; - /* /// equivalent to `T as U` semantics, specifically for pointers pub(crate) fn simd_cast_ptr<T, U>(ptr: T) -> U; @@ -162,17 +161,4 @@ extern "platform-intrinsic" { /// convert an exposed address back to a pointer pub(crate) fn simd_from_exposed_addr<T, U>(addr: T) -> U; - */ -} - -pub(crate) unsafe fn simd_cast_ptr<T, U>(_ptr: T) -> U { - unimplemented!() -} - -pub(crate) unsafe fn simd_expose_addr<T, U>(_ptr: T) -> U { - unimplemented!() -} - -pub(crate) unsafe fn simd_from_exposed_addr<T, U>(_addr: T) -> U { - unimplemented!() } |
