Skip to content

Commit d77878b

Browse files
scottmcmAmanieu
authored andcommitted
Stabilize __m512i, __m512, and __m512d
I didn't include `__m512bh` since `__m128bh` is also unstable.
1 parent 7c318a9 commit d77878b

File tree

1 file changed

+3
-0
lines changed
  • crates/core_arch/src/x86

1 file changed

+3
-0
lines changed

crates/core_arch/src/x86/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ types! {
258258
///
259259
/// Note that this means that an instance of `__m512i` typically just means
260260
/// a "bag of bits" which is left up to interpretation at the point of use.
261+
#[stable(feature = "simd_avx512_types", since = "CURRENT_RUSTC_VERSION")]
261262
pub struct __m512i(i64, i64, i64, i64, i64, i64, i64, i64);
262263

263264
/// 512-bit wide set of sixteen `f32` types, x86-specific
@@ -275,6 +276,7 @@ types! {
275276
/// Most intrinsics using `__m512` are prefixed with `_mm512_` and are
276277
/// suffixed with "ps" (or otherwise contain "ps"). Not to be confused with
277278
/// "pd" which is used for `__m512d`.
279+
#[stable(feature = "simd_avx512_types", since = "CURRENT_RUSTC_VERSION")]
278280
pub struct __m512(
279281
f32, f32, f32, f32, f32, f32, f32, f32,
280282
f32, f32, f32, f32, f32, f32, f32, f32,
@@ -295,6 +297,7 @@ types! {
295297
/// Most intrinsics using `__m512d` are prefixed with `_mm512_` and are
296298
/// suffixed with "pd" (or otherwise contain "pd"). Not to be confused with
297299
/// "ps" which is used for `__m512`.
300+
#[stable(feature = "simd_avx512_types", since = "CURRENT_RUSTC_VERSION")]
298301
pub struct __m512d(f64, f64, f64, f64, f64, f64, f64, f64);
299302

300303
/// 128-bit wide set of eight 'u16' types, x86-specific

0 commit comments

Comments
 (0)