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:15
462
16:20
/
21:31
Operands
-
PMRN
Register Num -
RS
Source
Example
mtpmr 0, r3
Related
More in Embedded
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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