Enum wasmer_compiler::CpuFeature [−][src]
pub enum CpuFeature {}Show variants
SSE2, SSE3, SSSE3, SSE41, SSE42, POPCNT, AVX, BMI1, BMI2, AVX2, AVX512DQ, AVX512VL, AVX512F, LZCNT,
Expand description
The nomenclature is inspired by the cpuid
crate.
The list of supported features was initially retrieved from
cranelift-native
.
The CpuFeature
enum values are likely to grow closer to the
original cpuid
. However, we prefer to start small and grow from there.
If you would like to use a flag that doesn’t exist yet here, please open a PR.
Variants
Implementations
impl CpuFeature
[src]
impl CpuFeature
[src]Trait Implementations
impl<O: Into<EnumSet<CpuFeature>>> BitAnd<O> for CpuFeature
[src]
impl<O: Into<EnumSet<CpuFeature>>> BitAnd<O> for CpuFeature
[src]impl<O: Into<EnumSet<CpuFeature>>> BitOr<O> for CpuFeature
[src]
impl<O: Into<EnumSet<CpuFeature>>> BitOr<O> for CpuFeature
[src]impl<O: Into<EnumSet<CpuFeature>>> BitXor<O> for CpuFeature
[src]
impl<O: Into<EnumSet<CpuFeature>>> BitXor<O> for CpuFeature
[src]impl Clone for CpuFeature
[src]
impl Clone for CpuFeature
[src]impl Debug for CpuFeature
[src]
impl Debug for CpuFeature
[src]impl EnumSetTypePrivate for CpuFeature
[src]
impl EnumSetTypePrivate for CpuFeature
[src]fn enum_into_u32(self) -> u32
[src]
fn enum_into_u32(self) -> u32
[src]Converts an enum of this type into its bit position.
unsafe fn enum_from_u32(val: u32) -> Self
[src]
unsafe fn enum_from_u32(val: u32) -> Self
[src]Converts a bit position into an enum value.
impl FromStr for CpuFeature
[src]
impl FromStr for CpuFeature
[src]impl Hash for CpuFeature
[src]
impl Hash for CpuFeature
[src]impl Not for CpuFeature
[src]
impl Not for CpuFeature
[src]impl PartialEq<CpuFeature> for CpuFeature
[src]
impl PartialEq<CpuFeature> for CpuFeature
[src]impl PartialEq<EnumSet<CpuFeature>> for CpuFeature
[src]
impl PartialEq<EnumSet<CpuFeature>> for CpuFeature
[src]impl<O: Into<EnumSet<CpuFeature>>> Sub<O> for CpuFeature
[src]
impl<O: Into<EnumSet<CpuFeature>>> Sub<O> for CpuFeature
[src]impl ToString for CpuFeature
[src]
impl ToString for CpuFeature
[src]impl Copy for CpuFeature
[src]
impl EnumSetType for CpuFeature
[src]
impl Eq for CpuFeature
[src]
Auto Trait Implementations
impl RefUnwindSafe for CpuFeature
impl Send for CpuFeature
impl Sync for CpuFeature
impl Unpin for CpuFeature
impl UnwindSafe for CpuFeature
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]Converts some archived metadata to the pointer metadata for itself.
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more