diff options
| -rw-r--r-- | library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs b/library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs index 84a3701cb70..0683d48ed32 100644 --- a/library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs +++ b/library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs @@ -62,8 +62,6 @@ types! { pub struct int16x4_t(4 x pub(crate) i16); /// Arm-specific 64-bit wide vector of four packed `u16`. pub struct uint16x4_t(4 x pub(crate) u16); - // Arm-specific 64-bit wide vector of four packed `f16`. - pub struct float16x4_t(4 x pub(crate) f16); /// Arm-specific 64-bit wide vector of four packed `p16`. pub struct poly16x4_t(4 x pub(crate) p16); /// Arm-specific 64-bit wide vector of two packed `i32`. @@ -89,8 +87,6 @@ types! { pub struct int16x8_t(8 x pub(crate) i16); /// Arm-specific 128-bit wide vector of eight packed `u16`. pub struct uint16x8_t(8 x pub(crate) u16); - // Arm-specific 128-bit wide vector of eight packed `f16`. - pub struct float16x8_t(8 x pub(crate) f16); /// Arm-specific 128-bit wide vector of eight packed `p16`. pub struct poly16x8_t(8 x pub(crate) p16); /// Arm-specific 128-bit wide vector of four packed `i32`. @@ -107,6 +103,15 @@ types! { pub struct poly64x2_t(2 x pub(crate) p64); } +types! { + #![unstable(feature = "stdarch_neon_f16", issue = "136306")] + + /// Arm-specific 64-bit wide vector of four packed `f16`. + pub struct float16x4_t(4 x pub(crate) f16); + /// Arm-specific 128-bit wide vector of eight packed `f16`. + pub struct float16x8_t(8 x pub(crate) f16); +} + /// Arm-specific type containing two `int8x8_t` vectors. #[repr(C)] #[derive(Copy, Clone, Debug)] |
