Skip to content

Commit dadf98a

Browse files
committed
Remove duplicate intrinsic
1 parent 176cc81 commit dadf98a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

crates/core_simd/src/intrinsics.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ extern "platform-intrinsic" {
6161
/// xor
6262
pub(crate) fn simd_xor<T>(x: T, y: T) -> T;
6363

64-
/// getelementptr (without inbounds)
65-
pub(crate) fn simd_arith_offset<T, U>(ptrs: T, offsets: U) -> T;
66-
6764
/// fptoui/fptosi/uitofp/sitofp
6865
/// casting floats to integers is truncating, so it is safe to convert values like e.g. 1.5
6966
/// but the truncated value must fit in the target type or the result is poison.
@@ -152,7 +149,8 @@ extern "platform-intrinsic" {
152149
#[allow(unused)]
153150
pub(crate) fn simd_select_bitmask<M, T>(m: M, yes: T, no: T) -> T;
154151

155-
// equivalent to wrapping_offset
152+
/// getelementptr (without inbounds)
153+
/// equivalent to wrapping_offset
156154
pub(crate) fn simd_arith_offset<T, U>(ptr: T, offset: U) -> T;
157155

158156
/*

0 commit comments

Comments
 (0)