[][src]Enum cranelift_codegen_meta::isa::x86::recipes::RexRecipeKind

pub enum RexRecipeKind {
    Unspecified,
    NeverEmitRex,
    AlwaysEmitRex,
    InferRex,
}

Specifies how the REX prefix is emitted by a Recipe.

Variants

Unspecified

The REX emission behavior is not hardcoded for the Recipe and may be overridden when using the Template.

NeverEmitRex

The Recipe must hardcode the non-emission of the REX prefix.

AlwaysEmitRex

The Recipe must hardcode the emission of the REX prefix.

InferRex

The Recipe should infer the emission of the REX.RXB bits from registers, and the REX.W bit from the EncodingBits.

Because such a Recipe has a non-constant instruction size, it must have a special compute_size handler for the inferrable-REX case.

Trait Implementations

impl Clone for RexRecipeKind[src]

impl Copy for RexRecipeKind[src]

impl Default for RexRecipeKind[src]

impl PartialEq<RexRecipeKind> for RexRecipeKind[src]

impl StructuralPartialEq for RexRecipeKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.