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:15
334
16:20
/
21:31
 
Format X-form
Opcode 0x7C00029E
Extension Embedded

Operands

  • RT
    Target
  • PMRN
    Register Num

Example

mfpmr r3, 0

Related

More in Embedded

Reference

Description

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]