clarify some stuff
This commit is contained in:
parent
3437e856be
commit
4c420edcd8
2 changed files with 4 additions and 3 deletions
|
@ -27,9 +27,10 @@ impl MOpRegNum {
|
|||
pub const POWER_ISA_LR_REG_NUM: u32 = 1;
|
||||
pub const POWER_ISA_CTR_REG_NUM: u32 = 2;
|
||||
pub const POWER_ISA_TAR_REG_NUM: u32 = 3;
|
||||
/// XER bits are stored in [`PRegValue.flags`][PRegValue], other bits are stored
|
||||
/// XER bits are stored in [`PRegValue.flags`], bits that don't exist in [`PRegValue.flags`] are stored in [`PRegValue.int_fp`]
|
||||
///
|
||||
/// [PRegValue]: struct@crate::register::PRegValue
|
||||
/// [`PRegValue.flags`]: struct@crate::register::PRegValue
|
||||
/// [`PRegValue.int_fp`]: struct@crate::register::PRegValue
|
||||
pub const POWER_ISA_XER_REG_NUM: u32 = 4;
|
||||
|
||||
pub const POWER_ISA_CR_REG_NUMS: Range<u32> = 8..16;
|
||||
|
|
|
@ -143,6 +143,6 @@ impl PRegFlags {
|
|||
/// Register Renaming will independently rename the ISA-level integer/fp
|
||||
/// register, flags, and CR field portions.
|
||||
pub struct PRegValue {
|
||||
pub integer: UInt<64>,
|
||||
pub int_fp: UInt<64>,
|
||||
pub flags: PRegFlags,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue