Use new intrinsics

This commit is contained in:
Caleb Zulawski 2022-09-18 16:48:51 -04:00
parent 0fcc4069c1
commit a79718ffa8

View File

@ -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!()
}