#include <rex/ppc/context.h>
|
| u32 | Read () const noexcept |
| void | Write (u32 word) noexcept |
Vector status and control register (VSCR).
◆ Read()
| u32 rex::ppc::VSCRRegister::Read |
( |
| ) |
const |
|
inlinenoexcept |
Returns the register as mfvscr reads it.
- Returns
- The word with sat in bit 0 and nj in bit 16.
◆ Write()
| void rex::ppc::VSCRRegister::Write |
( |
u32 | word | ) |
|
|
inlinenoexcept |
Sets the register as mtvscr writes it.
- Parameters
-
| word | The word to store. Only bit 0 for sat and bit 16 for nj are kept. |
◆ nj
| u8 rex::ppc::VSCRRegister::nj = 0 |
Non Java mode bit as mtvscr stored it.
◆ sat
| u8 rex::ppc::VSCRRegister::sat = 0 |
Saturation flag, 1 once a saturating vector operation clamped a result.
The documentation for this struct was generated from the following file: