Enum wasmer_runtime_core_fl::state::x64_decl::X64Register[][src]

pub enum X64Register {
    GPR(GPR),
    XMM(XMM),
}
Expand description

A machine register under the x86-64 architecture.

Variants

GPR

General-purpose registers.

Tuple Fields of GPR

0: GPR
XMM

XMM (floating point/SIMD) registers.

Tuple Fields of XMM

0: XMM

Implementations

Returns the index of the register.

Converts a DWARD regnum to X64Register.

Returns the instruction prefix for movq %this_reg, ?(%rsp).

To build an instruction, append the memory location as a 32-bit offset to the stack pointer to this prefix.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.