no old filehtmldiff from-(new)

SPMEVTYPER<n>_EL0, System Performance Monitors Event Type Register, n = 0 - 63

The SPMEVTYPER<n>_EL0 characteristics are:

Purpose

Configures which event increments the event counter SPMEVCNTR<n>_EL0, or to read the current configuration.

The contents of this register are IMPLEMENTATION DEFINED. An Event Type Select Register typically contains:

Additional controls might also be provided in the SPMEVFILTR<n>_EL0 and SPMEVFILT2R<n>_EL0 registers.

Configuration

This register is present only when FEAT_SPMU is implemented. Otherwise, direct accesses to SPMEVTYPER<n>_EL0 are UNDEFINED.

Attributes

SPMEVTYPER<n>_EL0 is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
IMPLEMENTATION DEFINED
IMPLEMENTATION DEFINED

IMPLEMENTATION DEFINED, bits [63:0]

IMPLEMENTATION DEFINED.

Accessing SPMEVTYPER<n>_EL0

To access SPMEVTYPER<n>_EL0 for System PMU <s>, set SPMSELR_EL0.SYSPMUSEL to s and SPMSELR_EL0.BANK to n[5:4].

SPMEVTYPER<n>_EL0 reads-as-zero and ignores writes if event counter <n> is not implemented.

Accesses to this register use the following encodings in the System register encoding space:

MRS <Xt>, SPMEVTYPER<m>_EL0 ; Where m = 0-15

op0op1CRnCRmop2
0b100b0110b11100b001:m[3]m[2:0]

integer m = UInt(CRm<0>:op2<2:0>); if PSTATE.EL == EL0 then X[t, 64] = SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m]; elsif PSTATE.EL == EL1 then X[t, 64] = SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m]; elsif PSTATE.EL == EL2 then X[t, 64] = SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m]; elsif PSTATE.EL == EL3 then X[t, 64] = SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m];

MSR SPMEVTYPER<m>_EL0, <Xt> ; Where m = 0-15

op0op1CRnCRmop2
0b100b0110b11100b001:m[3]m[2:0]

integer m = UInt(CRm<0>:op2<2:0>); if PSTATE.EL == EL0 then SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m] = X[t, 64]; elsif PSTATE.EL == EL1 then SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m] = X[t, 64]; elsif PSTATE.EL == EL2 then SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m] = X[t, 64]; elsif PSTATE.EL == EL3 then SPMEVTYPER_EL0[UInt(SPMSELR_EL0.SYSPMUSEL), m] = X[t, 64];


30/09/2022 15:58; 21c5a6dd0fdaf10a712e2f2d6fffbdbd66d4d96f

Copyright © 2010-2022 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.

no old filehtmldiff from-(new)