mfpmr

Move From Performance Monitor Register

mfpmr RT, PMRN

Reads a performance monitor register (Embedded).

Details

Moves a value from a performance monitor register identified by PMRN into the general-purpose register RT. This instruction is available only in embedded Power ISA implementations with performance monitoring support and typically requires supervisor privilege. No condition flags are affected.

Pseudocode Operation

RT ← PMR[PMRN]

Example

mfpmr r3, 0

Encoding

Binary Layout
31
0
RT
6
PMRN
11
334
16
/
21
 
Format X-form
Opcode 0x7C00029E
Extension Embedded

Operands

  • RT
    Target
  • PMRN
    Register Num