pub struct LoongArch;
Expand description
LoongArch architecture specific definitions.
Implementations§
source§impl LoongArch
impl LoongArch
pub const R0: Register = _
pub const R1: Register = _
pub const R2: Register = _
pub const R3: Register = _
pub const R4: Register = _
pub const R5: Register = _
pub const R6: Register = _
pub const R7: Register = _
pub const R8: Register = _
pub const R9: Register = _
pub const R10: Register = _
pub const R11: Register = _
pub const R12: Register = _
pub const R13: Register = _
pub const R14: Register = _
pub const R15: Register = _
pub const R16: Register = _
pub const R17: Register = _
pub const R18: Register = _
pub const R19: Register = _
pub const R20: Register = _
pub const R21: Register = _
pub const R22: Register = _
pub const R23: Register = _
pub const R24: Register = _
pub const R25: Register = _
pub const R26: Register = _
pub const R27: Register = _
pub const R28: Register = _
pub const R29: Register = _
pub const R30: Register = _
pub const R31: Register = _
pub const F0: Register = _
pub const F1: Register = _
pub const F2: Register = _
pub const F3: Register = _
pub const F4: Register = _
pub const F5: Register = _
pub const F6: Register = _
pub const F7: Register = _
pub const F8: Register = _
pub const F9: Register = _
pub const F10: Register = _
pub const F11: Register = _
pub const F12: Register = _
pub const F13: Register = _
pub const F14: Register = _
pub const F15: Register = _
pub const F16: Register = _
pub const F17: Register = _
pub const F18: Register = _
pub const F19: Register = _
pub const F20: Register = _
pub const F21: Register = _
pub const F22: Register = _
pub const F23: Register = _
pub const F24: Register = _
pub const F25: Register = _
pub const F26: Register = _
pub const F27: Register = _
pub const F28: Register = _
pub const F29: Register = _
pub const F30: Register = _
pub const F31: Register = _
pub const FCC0: Register = _
pub const FCC1: Register = _
pub const FCC2: Register = _
pub const FCC3: Register = _
pub const FCC4: Register = _
pub const FCC5: Register = _
pub const FCC6: Register = _
pub const FCC7: Register = _
pub const ZERO: Register = _
pub const RA: Register = _
pub const TP: Register = _
pub const SP: Register = _
pub const A0: Register = _
pub const A1: Register = _
pub const A2: Register = _
pub const A3: Register = _
pub const A4: Register = _
pub const A5: Register = _
pub const A6: Register = _
pub const A7: Register = _
pub const T0: Register = _
pub const T1: Register = _
pub const T2: Register = _
pub const T3: Register = _
pub const T4: Register = _
pub const T5: Register = _
pub const T6: Register = _
pub const T7: Register = _
pub const T8: Register = _
pub const FP: Register = _
pub const S0: Register = _
pub const S1: Register = _
pub const S2: Register = _
pub const S3: Register = _
pub const S4: Register = _
pub const S5: Register = _
pub const S6: Register = _
pub const S7: Register = _
pub const S8: Register = _
pub const FA0: Register = _
pub const FA1: Register = _
pub const FA2: Register = _
pub const FA3: Register = _
pub const FA4: Register = _
pub const FA5: Register = _
pub const FA6: Register = _
pub const FA7: Register = _
pub const FT0: Register = _
pub const FT1: Register = _
pub const FT2: Register = _
pub const FT3: Register = _
pub const FT4: Register = _
pub const FT5: Register = _
pub const FT6: Register = _
pub const FT7: Register = _
pub const FT8: Register = _
pub const FT9: Register = _
pub const FT10: Register = _
pub const FT11: Register = _
pub const FT12: Register = _
pub const FT13: Register = _
pub const FT14: Register = _
pub const FT15: Register = _
pub const FS0: Register = _
pub const FS1: Register = _
pub const FS2: Register = _
pub const FS3: Register = _
pub const FS4: Register = _
pub const FS5: Register = _
pub const FS6: Register = _
pub const FS7: Register = _
source§impl LoongArch
impl LoongArch
sourcepub fn register_name(register: Register) -> Option<&'static str>
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.
sourcepub fn name_to_register(value: &str) -> Option<Register>
pub fn name_to_register(value: &str) -> Option<Register>
Converts a register name into a register number.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LoongArch
impl Send for LoongArch
impl Sync for LoongArch
impl Unpin for LoongArch
impl UnwindSafe for LoongArch
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more