Use new intrinsics
This commit is contained in:
parent
0fcc4069c1
commit
a79718ffa8
@ -153,7 +153,6 @@ extern "platform-intrinsic" {
|
|||||||
/// equivalent to wrapping_offset
|
/// equivalent to wrapping_offset
|
||||||
pub(crate) fn simd_arith_offset<T, U>(ptr: T, offset: U) -> T;
|
pub(crate) fn simd_arith_offset<T, U>(ptr: T, offset: U) -> T;
|
||||||
|
|
||||||
/*
|
|
||||||
/// equivalent to `T as U` semantics, specifically for pointers
|
/// equivalent to `T as U` semantics, specifically for pointers
|
||||||
pub(crate) fn simd_cast_ptr<T, U>(ptr: T) -> U;
|
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
|
/// convert an exposed address back to a pointer
|
||||||
pub(crate) fn simd_from_exposed_addr<T, U>(addr: T) -> U;
|
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!()
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user