mtpmr
Move To Performance Monitor Register
mtpmr PMRN, RS
Writes a performance monitor register (Embedded).
Encoding
Binary Layout
31
0:5
RS
6:10
PMRN
11:20
462
21:30
/
31
Operands
-
PMRN
Register Num -
RS
Source
Example
mtpmr 0, r3
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 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.
Operation
PMR[PMRN] ← RS