mfpmr

Move From Performance Monitor Register

mfpmr RT, PMRN

Reads a performance monitor register (Embedded).

Encoding

Binary Layout
31
0:5
RT
6:10
PMRN
11:20
334
21:30
/
31
 
Format X-form
Opcode 0x7C00029C
Extension Embedded

Operands

  • RT
    Target
  • PMRN
    Register Num

Example

mfpmr r3, 0

Related

More in Embedded

Reference

Not in Power ISA v3.1C

Description

Not in Power ISA v3.1C: this is an embedded-core instruction, and the encoding shown is binutils' (opcodes/ppc-opc.c), not the manual's. 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.

Operation

RT ← PMR[PMRN]