Mark Neon f16 vectors as unstable

This commit is contained in:
Adam Gemmell
2025-05-30 13:35:13 +01:00
committed by Amanieu d'Antras
parent d2587282eb
commit 3fe6f7616d

View File

@@ -62,8 +62,6 @@ types! {
pub struct int16x4_t(4 x pub(crate) i16); pub struct int16x4_t(4 x pub(crate) i16);
/// Arm-specific 64-bit wide vector of four packed `u16`. /// Arm-specific 64-bit wide vector of four packed `u16`.
pub struct uint16x4_t(4 x pub(crate) 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`. /// Arm-specific 64-bit wide vector of four packed `p16`.
pub struct poly16x4_t(4 x pub(crate) p16); pub struct poly16x4_t(4 x pub(crate) p16);
/// Arm-specific 64-bit wide vector of two packed `i32`. /// Arm-specific 64-bit wide vector of two packed `i32`.
@@ -89,8 +87,6 @@ types! {
pub struct int16x8_t(8 x pub(crate) i16); pub struct int16x8_t(8 x pub(crate) i16);
/// Arm-specific 128-bit wide vector of eight packed `u16`. /// Arm-specific 128-bit wide vector of eight packed `u16`.
pub struct uint16x8_t(8 x pub(crate) 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`. /// Arm-specific 128-bit wide vector of eight packed `p16`.
pub struct poly16x8_t(8 x pub(crate) p16); pub struct poly16x8_t(8 x pub(crate) p16);
/// Arm-specific 128-bit wide vector of four packed `i32`. /// Arm-specific 128-bit wide vector of four packed `i32`.
@@ -107,6 +103,15 @@ types! {
pub struct poly64x2_t(2 x pub(crate) p64); 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. /// Arm-specific type containing two `int8x8_t` vectors.
#[repr(C)] #[repr(C)]
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug)]