ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

mhpmevent14

T1 riscv register register
Machine Hardware Performance Counter 14 Control
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (Sm)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeM
ExtensionsSm

Summary

Programmable hardware performance counter event selector <% if ext?(:Sscofpmf) %> and overflow/filtering control<% end %>

Syntax / Encoding

CSR 0x32e (M-mode, RW)

Bitfields (7)

BitsFieldDescription
63OFOverflow status and interrupt disable. The OF bit is set when the corresponding hpmcounter overflows, and remains set until written by software. Since hpmcounter values are unsigned values, overflow is defined as unsigned overflow of the implemented counter bits. The OF bit is sticky; it stays set until explicitly cl
62MINHWhen set, mhpmcounter14 does not increment while the hart in operating in M-mode.
61SINHWhen set, mhpmcounter14 does not increment while the hart in operating in (H)S-mode.
60UINHWhen set, mhpmcounter14 does not increment while the hart in operating in U-mode.
59VSINHWhen set, mhpmcounter14 does not increment while the hart in operating in VS-mode.
58VUINHWhen set, mhpmcounter14 does not increment while the hart in operating in VU-mode.
57:0EVENTEvent selector for performance counter mhpmcounter14.