Home /Modules/cpu/SPECIFICATION.md

SPECIFICATION.md

lib/cpu/powerpc/SPECIFICATION.md · 48 line(s) · markdown

PowerPC Specification

Programmer-visible registers

ResourceWidthCount
GPR32-bit32
FPR64-bit32
CR32-bit1
LR32-bit1
CTR32-bit1
XER32-bit1
FPSCR32-bit1

IBM documents these resources for 32-bit PowerPC applications. citeturn0search1

Instruction format

PowerPC instructions are fixed 32-bit words. The consistent fixed-length encoding supports efficient decoding and pipelining. citeturn0search9

Execution classes

SLeeLa models:

Branching

PowerPC uses explicit branch, condition-register, link-register, and count-register mechanisms. Conditional branches can optionally update the Link Register when LK is set. citeturn0search11

Memory management

The base architecture does not force one concrete MMU/TLB organization. The OEA defines the operating-environment memory-management model, while particular processors may implement different translation structures. citeturn0search20

Cache

Cache behavior belongs primarily to the VEA and implementation layers. Cache sizes, associativity, levels, and coherency structures are therefore not invented in the generic CPU profile. citeturn0search20

DMA

DMA is a system/implementation facility. External DMA masters connect through SLBusArbiter rather than being inserted into the generic PowerPC execution core.