#[repr(C, align(16))]pub struct FpuContext {
pub f: [u64; 32],
pub fcsr: u32,
}Expand description
FPU context for RISC-V 64-bit (F/D extensions)
Contains all floating-point registers and the floating-point control/status register. This is saved/restored during task context switches to preserve FPU state.
Fields§
§f: [u64; 32]Floating-point registers f0-f31 (64-bit each for D extension)
fcsr: u32Floating-point control and status register (fcsr)
Implementations§
Trait Implementations§
Source§impl Clone for FpuContext
impl Clone for FpuContext
Source§fn clone(&self) -> FpuContext
fn clone(&self) -> FpuContext
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FpuContext
impl Debug for FpuContext
Auto Trait Implementations§
impl Freeze for FpuContext
impl RefUnwindSafe for FpuContext
impl Send for FpuContext
impl Sync for FpuContext
impl Unpin for FpuContext
impl UnwindSafe for FpuContext
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)