mtpmr
Move To Performance Monitor Register
mtpmr PMRN, RS
Writes a performance monitor register (Embedded).
Details
Moves a value from the general-purpose register RS into the performance monitor register identified by PMRN. 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
PMR[PMRN] ← RS
Example
mtpmr 0, r3
Encoding
Binary Layout
31
0
RS
6
PMRN
11
462
16
/
21
Operands
-
PMRN
Register Num -
RS
Source