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 Freeze for LoongArch
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