User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
1.4 PowerPC Registers and Programming Model
The PowerPC Architecture defines
PowerPC processors have two levels of privilege: supervisor mode and user mode.The supervisor mode of operation is typically used by the operating system. The user mode of operation, also called the problem state, is typically used by the application software. The programming models incorporate 32 GPRs, 32 FPRs,
While running in supervisor mode, the operating system is able to execute all instructions and access all registers defined in the PowerPC Architecture. In this mode, the operating system establishes all address translations and protection mechanisms, loads all Processor State Registers, and sets up all other control mechanisms defined in the PowerPC 750GX processor. While running in user mode (problem state), many of these registers and facilities are not accessible, and any attempt to read or write these register results in a program exception.
Figure
The following tables summarize the PowerPC registers implemented in 750GX, and describe registers (excluding SPRs) defined by the architecture.
Table
Register | Level | Function | |
|
|
| |
|
|
| |
|
| The Condition Register (CR) consists of eight | |
CR | User | tions, such as move, integer and | |
|
| register provides a mechanism for testing and branching. | |
|
|
| |
|
| The 32 Floating Point Registers (FPRs) serve as the data source or destination for | |
FPRs | User | instructions. These | |
|
| ues. | |
|
|
| |
|
| The | |
FPSCR | User | nal bits, exception summary bits, exception enable bits, and rounding control bits needed for com- | |
|
| pliance with the IEEE | |
|
|
| |
|
| The 32 GPRs contain the address and data arguments addressed from source or destination fields | |
GPRs | User | in integer instructions. Also, | |
|
| ory. | |
|
|
| |
|
| The Machine State Register (MSR) defines the processor state. Its contents are saved when an | |
|
| exception is taken and restored when exception handling completes. The 750GX implements | |
MSR | Supervisor | MSR[POW], defined by the architecture as optional, which is used to enable the power manage- | |
|
| ment feature. The | |
|
| monitor. | |
|
|
| |
|
| The sixteen | |
|
| ments.The 750GX implements Segment Registers as two | |
Supervisor | and a shadow array for instruction accesses (see Figure | ||
|
| with the | |
|
| reads the master register, shown as part of the data MMU in Figure | |
|
|
| |
|
|
|
|
PowerPC 750GX Overview | gx_01.fm.(1.2) | ||
Page 42 of 377 |
| March 27,2006 |