diff options
| author | Caleb Zulawski <caleb.zulawski@gmail.com> | 2022-08-04 19:38:56 -0400 |
|---|---|---|
| committer | Caleb Zulawski <caleb.zulawski@gmail.com> | 2022-10-29 11:55:01 -0400 |
| commit | dadf98a290e4f52d02a469f97931b90e953a98cf (patch) | |
| tree | d286be4dc62b738f5d6b34ad42d310a83e0120bc | |
| parent | 176cc81324d008bd58e28136aa8e60b537caa3ce (diff) | |
| download | rust-dadf98a290e4f52d02a469f97931b90e953a98cf.tar.gz rust-dadf98a290e4f52d02a469f97931b90e953a98cf.zip | |
Remove duplicate intrinsic
| -rw-r--r-- | crates/core_simd/src/intrinsics.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/core_simd/src/intrinsics.rs b/crates/core_simd/src/intrinsics.rs index c0fbae2db08..45f01fa0f77 100644 --- a/crates/core_simd/src/intrinsics.rs +++ b/crates/core_simd/src/intrinsics.rs @@ -61,9 +61,6 @@ extern "platform-intrinsic" { /// xor pub(crate) fn simd_xor<T>(x: T, y: T) -> T; - /// getelementptr (without inbounds) - pub(crate) fn simd_arith_offset<T, U>(ptrs: T, offsets: U) -> T; - /// fptoui/fptosi/uitofp/sitofp /// casting floats to integers is truncating, so it is safe to convert values like e.g. 1.5 /// but the truncated value must fit in the target type or the result is poison. @@ -152,7 +149,8 @@ extern "platform-intrinsic" { #[allow(unused)] pub(crate) fn simd_select_bitmask<M, T>(m: M, yes: T, no: T) -> T; - // equivalent to wrapping_offset + /// getelementptr (without inbounds) + /// equivalent to wrapping_offset pub(crate) fn simd_arith_offset<T, U>(ptr: T, offset: U) -> T; /* |
