Skip to content

Commit

Permalink
Update docs regarding Avx512 on AMD
Browse files Browse the repository at this point in the history
- See AMD whitepaper and wikichips
- No info on AMD manual though
  • Loading branch information
Mert Kurttutan authored and gz committed Jul 15, 2024
1 parent 4dbb8c3 commit 3d53917
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3432,7 +3432,7 @@ impl ExtendedFeatures {
/// Supports AVX512F.
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512f(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512F)
Expand All @@ -3441,7 +3441,7 @@ impl ExtendedFeatures {
/// Supports AVX512DQ.
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512dq(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512DQ)
Expand All @@ -3450,7 +3450,7 @@ impl ExtendedFeatures {
/// AVX512_IFMA
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512_ifma(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512_IFMA)
Expand All @@ -3459,7 +3459,7 @@ impl ExtendedFeatures {
/// AVX512PF
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512pf(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512PF)
Expand All @@ -3468,7 +3468,7 @@ impl ExtendedFeatures {
/// AVX512ER
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512er(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512ER)
Expand All @@ -3477,7 +3477,7 @@ impl ExtendedFeatures {
/// AVX512CD
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512cd(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512CD)
Expand All @@ -3486,7 +3486,7 @@ impl ExtendedFeatures {
/// AVX512BW
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512bw(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512BW)
Expand All @@ -3495,7 +3495,7 @@ impl ExtendedFeatures {
/// AVX512VL
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512vl(&self) -> bool {
self.ebx.contains(ExtendedFeaturesEbx::AVX512VL)
Expand Down Expand Up @@ -3557,7 +3557,7 @@ impl ExtendedFeatures {

/// AVX512VBMI2
///
/// AMD ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_av512vbmi2(&self) -> bool {
self.ecx.contains(ExtendedFeaturesEcx::AVX512VBMI2)
Expand Down Expand Up @@ -3600,15 +3600,15 @@ impl ExtendedFeatures {
/// AVX512VNNI
///
/// # Platforms
/// AMD (reserved) ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512vnni(&self) -> bool {
self.ecx.contains(ExtendedFeaturesEcx::AVX512VNNI)
}

/// AVX512BITALG
///
/// AMD ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512bitalg(&self) -> bool {
self.ecx.contains(ExtendedFeaturesEcx::AVX512BITALG)
Expand All @@ -3625,7 +3625,7 @@ impl ExtendedFeatures {

/// AVX512VPOPCNTDQ
///
/// AMD ✅ Intel
/// AMD ✅ Intel
#[inline]
pub const fn has_avx512vpopcntdq(&self) -> bool {
self.ecx.contains(ExtendedFeaturesEcx::AVX512VPOPCNTDQ)
Expand Down

0 comments on commit 3d53917

Please sign in to comment.