pub enum Cop1Access {
ReadFpr {
src: u8,
dest: u8,
wide: bool,
},
WriteFpr {
dest: u8,
value: u64,
wide: bool,
},
Arith {
fmt: u8,
funct: u8,
ft: u8,
fs: u8,
fd: u8,
},
ReadControl {
src: u8,
dest: u8,
},
WriteControl {
dest: u8,
value: u32,
},
}Expand description
The COP1 control moves (T-12-006). Arithmetic is Sprint 3.
Variants§
ReadFpr
MFC1/DMFC1 — move an FPR to a GPR.
Fields
WriteFpr
MTC1/DMTC1 — move a GPR to an FPR.
Fields
Arith
A COP1 arithmetic operation, performed by the pipeline because it reads
two FPRs and writes a third, and execute has no FPR access.
Fields
ReadControl
CFC1 — read control register src into GPR dest.
WriteControl
CTC1 — write value to control register dest.
Trait Implementations§
Source§impl Clone for Cop1Access
impl Clone for Cop1Access
Source§fn clone(&self) -> Cop1Access
fn clone(&self) -> Cop1Access
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Cop1Access
impl Debug for Cop1Access
Source§impl<'de> Deserialize<'de> for Cop1Access
impl<'de> Deserialize<'de> for Cop1Access
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Cop1Access
impl PartialEq for Cop1Access
Source§impl Serialize for Cop1Access
impl Serialize for Cop1Access
impl Copy for Cop1Access
impl Eq for Cop1Access
impl StructuralPartialEq for Cop1Access
Auto Trait Implementations§
impl Freeze for Cop1Access
impl RefUnwindSafe for Cop1Access
impl Send for Cop1Access
impl Sync for Cop1Access
impl Unpin for Cop1Access
impl UnsafeUnpin for Cop1Access
impl UnwindSafe for Cop1Access
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