@@ -1190,20 +1190,6 @@ impl_sign_conversions_neon! {
1190
1190
( uint8x8x4_t, int8x8x4_t)
1191
1191
}
1192
1192
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
-
1207
1193
#[ cfg( test) ]
1208
1194
mod tests {
1209
1195
use super :: * ;
@@ -5512,9 +5498,8 @@ mod tests {
5512
5498
test_vcombine ! ( test_vcombine_s16 => vcombine_s16( [ 3_i16 , -4 , 5 , -6 ] , [ 13_i16 , -14 , 15 , -16 ] ) ) ;
5513
5499
test_vcombine ! ( test_vcombine_u16 => vcombine_u16( [ 3_u16 , 4 , 5 , 6 ] , [ 13_u16 , 14 , 15 , 16 ] ) ) ;
5514
5500
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. ] ) ) ;
5518
5503
5519
5504
test_vcombine ! ( test_vcombine_s32 => vcombine_s32( [ 3_i32 , -4 ] , [ 13_i32 , -14 ] ) ) ;
5520
5505
test_vcombine ! ( test_vcombine_u32 => vcombine_u32( [ 3_u32 , 4 ] , [ 13_u32 , 14 ] ) ) ;
0 commit comments