Skip to content

Commit 5ba56c7

Browse files
JamesbarfordAmanieu
authored andcommitted
pr feedback - remove the commented out vcombine_f16
1 parent 1254d6f commit 5ba56c7

File tree

1 file changed

+2
-17
lines changed
  • crates/core_arch/src/arm_shared/neon

1 file changed

+2
-17
lines changed

Diff for: crates/core_arch/src/arm_shared/neon/mod.rs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1190,20 +1190,6 @@ impl_sign_conversions_neon! {
11901190
(uint8x8x4_t, int8x8x4_t)
11911191
}
11921192

1193-
/* FIXME: 16-bit float
1194-
/// Vector combine
1195-
#[inline]
1196-
#[target_feature(enable = "neon")]
1197-
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
1198-
#[cfg_attr(test, assert_instr(nop))]
1199-
#[cfg_attr(
1200-
target_arch = "arm",
1201-
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
1202-
)] pub fn vcombine_f16 ( low: float16x4_t, high: float16x4_t) -> float16x8_t {
1203-
unsafe { simd_shuffle!(low, high, [0, 1, 2, 3, 4, 5, 6, 7]) }
1204-
}
1205-
*/
1206-
12071193
#[cfg(test)]
12081194
mod tests {
12091195
use super::*;
@@ -5512,9 +5498,8 @@ mod tests {
55125498
test_vcombine!(test_vcombine_s16 => vcombine_s16([3_i16, -4, 5, -6], [13_i16, -14, 15, -16]));
55135499
test_vcombine!(test_vcombine_u16 => vcombine_u16([3_u16, 4, 5, 6], [13_u16, 14, 15, 16]));
55145500
test_vcombine!(test_vcombine_p16 => vcombine_p16([3_u16, 4, 5, 6], [13_u16, 14, 15, 16]));
5515-
// FIXME: 16-bit floats
5516-
// test_vcombine!(test_vcombine_f16 => vcombine_f16([3_f16, 4., 5., 6.],
5517-
// [13_f16, 14., 15., 16.]));
5501+
test_vcombine!(test_vcombine_f16 => vcombine_f16([3_f16, 4., 5., 6.],
5502+
[13_f16, 14., 15., 16.]));
55185503

55195504
test_vcombine!(test_vcombine_s32 => vcombine_s32([3_i32, -4], [13_i32, -14]));
55205505
test_vcombine!(test_vcombine_u32 => vcombine_u32([3_u32, 4], [13_u32, 14]));

0 commit comments

Comments
 (0)