Struct gimli::RiscV

source ·
pub struct RiscV;
Expand description

RISC-V architecture specific definitions.

See RISC-V ELF psABI specification.

Implementations§

source§

impl RiscV

source

pub const X0: Register = _

source

pub const X1: Register = _

source

pub const X2: Register = _

source

pub const X3: Register = _

source

pub const X4: Register = _

source

pub const X5: Register = _

source

pub const X6: Register = _

source

pub const X7: Register = _

source

pub const X8: Register = _

source

pub const X9: Register = _

source

pub const X10: Register = _

source

pub const X11: Register = _

source

pub const X12: Register = _

source

pub const X13: Register = _

source

pub const X14: Register = _

source

pub const X15: Register = _

source

pub const X16: Register = _

source

pub const X17: Register = _

source

pub const X18: Register = _

source

pub const X19: Register = _

source

pub const X20: Register = _

source

pub const X21: Register = _

source

pub const X22: Register = _

source

pub const X23: Register = _

source

pub const X24: Register = _

source

pub const X25: Register = _

source

pub const X26: Register = _

source

pub const X27: Register = _

source

pub const X28: Register = _

source

pub const X29: Register = _

source

pub const X30: Register = _

source

pub const X31: Register = _

source

pub const F0: Register = _

source

pub const F1: Register = _

source

pub const F2: Register = _

source

pub const F3: Register = _

source

pub const F4: Register = _

source

pub const F5: Register = _

source

pub const F6: Register = _

source

pub const F7: Register = _

source

pub const F8: Register = _

source

pub const F9: Register = _

source

pub const F10: Register = _

source

pub const F11: Register = _

source

pub const F12: Register = _

source

pub const F13: Register = _

source

pub const F14: Register = _

source

pub const F15: Register = _

source

pub const F16: Register = _

source

pub const F17: Register = _

source

pub const F18: Register = _

source

pub const F19: Register = _

source

pub const F20: Register = _

source

pub const F21: Register = _

source

pub const F22: Register = _

source

pub const F23: Register = _

source

pub const F24: Register = _

source

pub const F25: Register = _

source

pub const F26: Register = _

source

pub const F27: Register = _

source

pub const F28: Register = _

source

pub const F29: Register = _

source

pub const F30: Register = _

source

pub const F31: Register = _

source

pub const ZERO: Register = _

source

pub const RA: Register = _

source

pub const SP: Register = _

source

pub const GP: Register = _

source

pub const TP: Register = _

source

pub const T0: Register = _

source

pub const T1: Register = _

source

pub const T2: Register = _

source

pub const S0: Register = _

source

pub const S1: Register = _

source

pub const A0: Register = _

source

pub const A1: Register = _

source

pub const A2: Register = _

source

pub const A3: Register = _

source

pub const A4: Register = _

source

pub const A5: Register = _

source

pub const A6: Register = _

source

pub const A7: Register = _

source

pub const S2: Register = _

source

pub const S3: Register = _

source

pub const S4: Register = _

source

pub const S5: Register = _

source

pub const S6: Register = _

source

pub const S7: Register = _

source

pub const S8: Register = _

source

pub const S9: Register = _

source

pub const S10: Register = _

source

pub const S11: Register = _

source

pub const T3: Register = _

source

pub const T4: Register = _

source

pub const T5: Register = _

source

pub const T6: Register = _

source

pub const FT0: Register = _

source

pub const FT1: Register = _

source

pub const FT2: Register = _

source

pub const FT3: Register = _

source

pub const FT4: Register = _

source

pub const FT5: Register = _

source

pub const FT6: Register = _

source

pub const FT7: Register = _

source

pub const FS0: Register = _

source

pub const FS1: Register = _

source

pub const FA0: Register = _

source

pub const FA1: Register = _

source

pub const FA2: Register = _

source

pub const FA3: Register = _

source

pub const FA4: Register = _

source

pub const FA5: Register = _

source

pub const FA6: Register = _

source

pub const FA7: Register = _

source

pub const FS2: Register = _

source

pub const FS3: Register = _

source

pub const FS4: Register = _

source

pub const FS5: Register = _

source

pub const FS6: Register = _

source

pub const FS7: Register = _

source

pub const FS8: Register = _

source

pub const FS9: Register = _

source

pub const FS10: Register = _

source

pub const FS11: Register = _

source

pub const FT8: Register = _

source

pub const FT9: Register = _

source

pub const FT10: Register = _

source

pub const FT11: Register = _

source§

impl RiscV

source

pub fn register_name(register: Register) -> Option<&'static str>

The name of a register, or None if the register number is unknown.

Only returns the primary name for registers that alias with others.

source

pub fn name_to_register(value: &str) -> Option<Register>

Converts a register name into a register number.

Trait Implementations§

source§

impl Clone for RiscV

source§

fn clone(&self) -> RiscV

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RiscV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for RiscV

Auto Trait Implementations§

§

impl Freeze for RiscV

§

impl RefUnwindSafe for RiscV

§

impl Send for RiscV

§

impl Sync for RiscV

§

impl Unpin for RiscV

§

impl UnwindSafe for RiscV

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.