From a79718ffa8cdfb5ee7ab3d9281b162fe37eb0606 Mon Sep 17 00:00:00 2001 From: Caleb Zulawski Date: Sun, 18 Sep 2022 16:48:51 -0400 Subject: [PATCH] Use new intrinsics --- crates/core_simd/src/intrinsics.rs | 14 -------------- 1 file changed, 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(ptr: T, offset: U) -> T; - /* /// equivalent to `T as U` semantics, specifically for pointers pub(crate) fn simd_cast_ptr(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(addr: T) -> U; - */ -} - -pub(crate) unsafe fn simd_cast_ptr(_ptr: T) -> U { - unimplemented!() -} - -pub(crate) unsafe fn simd_expose_addr(_ptr: T) -> U { - unimplemented!() -} - -pub(crate) unsafe fn simd_from_exposed_addr(_addr: T) -> U { - unimplemented!() }