<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE register_page SYSTEM "registers.dtd">
<!-- Copyright (c) 2010-2026 Arm Limited or its affiliates. All rights reserved. -->
<!-- This document is Non-Confidential. This document may only be used and distributed in accordance with the terms of the agreement entered into by Arm and the party that Arm delivered this document to. -->
<!--The data contained in this document is preliminary and subject to change or correction following further review. -->
<?xml-stylesheet href="one_register.xsl" type="text/xsl" ?>







<register_page>
  <registers>
  
    <register execution_state="AArch32" is_register="True" is_internal="True" is_stub_entry="False">
      <reg_short_name>AMEVCNTR1&lt;n&gt;</reg_short_name>
        
        <reg_long_name>Activity Monitors Event Counter Registers 1</reg_long_name>



      
            <reg_condition otherwise="UNDEFINED">when FEAT_AMUv1 is implemented and FEAT_AA32 is implemented</reg_condition>
          <reg_array>
              <reg_array_start>0</reg_array_start>
              <reg_array_end>15</reg_array_end>
         </reg_array>
      




          <reg_reset_value></reg_reset_value>

      <reg_mappings>
        



    
      
      <reg_mapping>
        
  

    

  

    <mapped_name filename="AArch64-amevcntr1n_el0.xml">AMEVCNTR1&lt;n&gt;_EL0</mapped_name>
  <mapped_type>Architectural</mapped_type>
      <mapped_execution_state>AArch64</mapped_execution_state>
    <mapped_from_startbit>63</mapped_from_startbit>
    <mapped_from_endbit>0</mapped_from_endbit>
    <mapped_to_startbit>63</mapped_to_startbit>
    <mapped_to_endbit>0</mapped_to_endbit>
    <mapped_from_rangeset output="63:0">
      <range>
        <msb>63</msb>
        <lsb>0</lsb>
      </range>
    </mapped_from_rangeset>
    <mapped_to_rangeset output="63:0">
      <range>
        <msb>63</msb>
        <lsb>0</lsb>
      </range>
    </mapped_to_rangeset>

      </reg_mapping>
    
      
      <reg_mapping>
        
  

    

  

    <mapped_name filename="amu.amevcntr1n.xml">AMEVCNTR1&lt;n&gt;</mapped_name>
  <mapped_type>Architectural</mapped_type>
    <mapped_execution_state>External</mapped_execution_state>
    <mapped_from_startbit>63</mapped_from_startbit>
    <mapped_from_endbit>0</mapped_from_endbit>
    <mapped_to_startbit>63</mapped_to_startbit>
    <mapped_to_endbit>0</mapped_to_endbit>
    <mapped_from_rangeset output="63:0">
      <range>
        <msb>63</msb>
        <lsb>0</lsb>
      </range>
    </mapped_from_rangeset>
    <mapped_to_rangeset output="63:0">
      <range>
        <msb>63</msb>
        <lsb>0</lsb>
      </range>
    </mapped_to_rangeset>

      </reg_mapping>

      </reg_mappings>

        <reg_purpose>
          
    
      <purpose_text>
        <para>Provides access to the auxiliary activity monitor event counters.</para>
      </purpose_text>

        </reg_purpose>

      <reg_groups>
          <reg_group>AMU</reg_group>
      </reg_groups>
      
      
        
      <reg_attributes>
          
    
      <attributes_text>
        <para>AMEVCNTR1&lt;n&gt; is a 64-bit register.</para>
      </attributes_text>

      </reg_attributes>
      <reg_fieldsets>
        






<fields id="fieldset_0" length="64">
  <text_before_fields/>
  <field id="fieldset_0-63_0" has_partial_fieldset="False" is_linked_to_partial_fieldset="False" is_access_restriction_possible="False" is_variable_length="False" is_constant_value="False" is_partial_field="False" is_conditional_field_name="False">
    <field_name>ACNT</field_name>
    <field_msb>63</field_msb>
    <field_lsb>0</field_lsb>
    <rel_range>63:0</rel_range>
    <field_description order="before"><para>Auxiliary activity monitor event counter n.</para>
<para>Value of auxiliary activity monitor event counter n, where n is the number of this register and is a number from 0 to 15.</para>
<para>If <xref filename="A_armv8_architecture_extensions.fm" linkend="FEAT_AMUv1p1">FEAT_AMUv1p1</xref> is implemented, <register_link state="AArch64" id="AArch64-hcr_el2.xml">HCR_EL2</register_link>.AMVOFFEN is 1, <register_link state="AArch64" id="AArch64-scr_el3.xml">SCR_EL3</register_link>.AMVOFFEN is 1, the Effective value of <register_link state="AArch64" id="AArch64-hcr_el2.xml">HCR_EL2</register_link>.{E2H, TGE} is not {1, 1}, EL2 is using AArch64 and is implemented in the current Security state, and <register_link state="AArch64" id="AArch64-amcr_el0.xml">AMCR_EL0</register_link>.CG1RZ is 0, reads to these registers at EL0 or EL1 return (PCount&lt;63:0&gt; - <register_link state="AArch64" id="AArch64-amevcntvoff1n_el2.xml">AMEVCNTVOFF1&lt;n&gt;_EL2</register_link>&lt;63:0&gt;).</para>
<para>PCount is the physical count returned when AMEVCNTR1&lt;n&gt; is read from EL2 or EL3.</para></field_description>
    <field_description order="after">
      <para>If the counter is enabled, writes to this register have <arm-defined-word>UNPREDICTABLE</arm-defined-word> results.</para>
    </field_description>
    <field_resets>
      <field_reset reset_type="AMU">
        <field_reset_expression>0x0000000000000000</field_reset_expression>
      </field_reset>
    </field_resets>
  </field>
  <text_after_fields/>
</fields>




<reg_fieldset length="64">
  <fieldat id="fieldset_0-63_0" msb="63" lsb="0"/>
</reg_fieldset>


      </reg_fieldsets>
        <reg_variables>
              <reg_variable variable="n" max="15"/>
        </reg_variables>

      <access_mechanisms>
          


  
    
      <access_permission_text>
        <para>If &lt;n&gt; is greater than or equal to <register_link state="AArch32" id="AArch32-amcgcr.xml">AMCGCR</register_link>.CG1NC or <xref linkend="#FEAT_AMUv1p1">FEAT_AMUv1p1</xref> is implemented and auxiliary counter &lt;n&gt; is not implemented, then reads and writes of AMEVCNTR1&lt;n&gt; are <arm-defined-word>UNDEFINED</arm-defined-word>.</para>
      </access_permission_text>





    
        
        <access_mechanism accessor="MRRC AMEVCNTR1&lt;m&gt;" type="SystemAccessor">
            <encoding>
                
                <acc_array var="m">
                    <acc_array_range>0-15</acc_array_range>
                </acc_array>
            <access_instruction>MRRC{&lt;c&gt;}{&lt;q&gt;} &lt;coproc&gt;, {#}&lt;opc1&gt;, &lt;Rt&gt;, &lt;Rt2&gt;, &lt;CRm&gt;</access_instruction>
                
                <enc n="coproc" v="0b1111"/>
                
                <enc n="CRm" v="0b010:m[3]"/>
                
                <enc n="opc1" v="0b0:m[2:0]"/>
            </encoding>
            <access_permission>
                <ps name="MRRC" sections="1" secttype="access_permission">
                <pstext>
let m:integer = UInt(CRm[0] :: opc1[2:0]);

if !(IsFeatureImplemented(FEAT_AMUv1) &amp;&amp; IsFeatureImplemented(FEAT_AA32)) then
    Undefined();
elsif m &gt;= NUM_AMU_CG1_MONITORS then
    Undefined();
elsif !IsG1ActivityMonitorImplemented(m) then
    Undefined();
elsif PSTATE.EL == EL0 then
    if HaveEL(EL3) &amp;&amp; EL3SDDUndefPriority() &amp;&amp; IsFeatureImplemented(FEAT_AA64EL3) &amp;&amp; !ELUsingAArch32(EL3) &amp;&amp; CPTR_EL3().TAM == '1' then
        Undefined();
    elsif IsFeatureImplemented(FEAT_AA64EL1) &amp;&amp; !ELUsingAArch32(EL1) &amp;&amp; AMUSERENR_EL0().EN == '0' then
        if EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2)) &amp;&amp; HCR_EL2().TGE == '1' then
            AArch64_AArch32SystemAccessTrap(EL2, 0x04);
        else
            AArch64_AArch32SystemAccessTrap(EL1, 0x04);
        end;
    elsif IsFeatureImplemented(FEAT_AA32EL1) &amp;&amp; ELUsingAArch32(EL1) &amp;&amp; AMUSERENR().EN == '0' then
        if EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2)) &amp;&amp; HCR_EL2().TGE == '1' then
            AArch64_AArch32SystemAccessTrap(EL2, 0x04);
        elsif EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA32EL2) &amp;&amp; ELUsingAArch32(EL2)) &amp;&amp; HCR().TGE == '1' then
            AArch32_TakeHypTrapException(0x00);
        else
            Undefined();
        end;
    elsif EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2)) &amp;&amp; !ELIsInHost(EL0) &amp;&amp; m &gt;= 8 &amp;&amp; HSTR_EL2().T5 == '1' then
        AArch64_AArch32SystemAccessTrap(EL2, 0x04);
    elsif EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA32EL2) &amp;&amp; ELUsingAArch32(EL2)) &amp;&amp; m &gt;= 8 &amp;&amp; HSTR().T5 == '1' then
        AArch32_TakeHypTrapException(0x04);
    elsif EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2)) &amp;&amp; CPTR_EL2().TAM == '1' then
        AArch64_AArch32SystemAccessTrap(EL2, 0x04);
    elsif EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA32EL2) &amp;&amp; ELUsingAArch32(EL2)) &amp;&amp; HCPTR().TAM == '1' then
        AArch32_TakeHypTrapException(0x04);
    elsif EL2Enabled() &amp;&amp; (IsFeatureImplemented(FEAT_AA64EL1) &amp;&amp; !ELUsingAArch32(EL1)) &amp;&amp; !ELIsInHost(EL0) &amp;&amp; IsFeatureImplemented(FEAT_FGT) &amp;&amp; (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') &amp;&amp; HAFGRTR_EL2()[(2 * m) + 18] == '1' then
        AArch64_AArch32SystemAccessTrap(EL2, 0x04);
    elsif HaveEL(EL3) &amp;&amp; IsFeatureImplemented(FEAT_AA64EL3) &amp;&amp; !ELUsingAArch32(EL3) &amp;&amp; CPTR_EL3().TAM == '1' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_AArch32SystemAccessTrap(EL3, 0x04);
        end;
    elsif IsFeatureImplemented(FEAT_AA64) &amp;&amp; AMCR_EL0().CG1RZ == '1' then
        R(t, t2) = Zeros{64};
    elsif !IsFeatureImplemented(FEAT_AA64) &amp;&amp; AMCR().CG1RZ == '1' then
        R(t, t2) = Zeros{64};
    else
        R(t, t2) = AMEVCNTR1(m);
    end;
elsif PSTATE.EL == EL1 then
    if HaveEL(EL3) &amp;&amp; EL3SDDUndefPriority() &amp;&amp; IsFeatureImplemented(FEAT_AA64EL3) &amp;&amp; !ELUsingAArch32(EL3) &amp;&amp; CPTR_EL3().TAM == '1' then
        Undefined();
    elsif EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2) &amp;&amp; m &gt;= 8 &amp;&amp; HSTR_EL2().T5 == '1' then
        AArch64_AArch32SystemAccessTrap(EL2, 0x04);
    elsif EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_AA32EL2) &amp;&amp; ELUsingAArch32(EL2) &amp;&amp; m &gt;= 8 &amp;&amp; HSTR().T5 == '1' then
        AArch32_TakeHypTrapException(0x04);
    elsif EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2) &amp;&amp; CPTR_EL2().TAM == '1' then
        AArch64_AArch32SystemAccessTrap(EL2, 0x04);
    elsif EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_AA32EL2) &amp;&amp; ELUsingAArch32(EL2) &amp;&amp; HCPTR().TAM == '1' then
        AArch32_TakeHypTrapException(0x04);
    elsif HaveEL(EL3) &amp;&amp; IsFeatureImplemented(FEAT_AA64EL3) &amp;&amp; !ELUsingAArch32(EL3) &amp;&amp; CPTR_EL3().TAM == '1' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_AArch32SystemAccessTrap(EL3, 0x04);
        end;
    elsif !IsHighestEL(PSTATE.EL) &amp;&amp; IsFeatureImplemented(FEAT_AA64) &amp;&amp; AMCR_EL0().CG1RZ == '1' then
        R(t, t2) = Zeros{64};
    elsif !IsHighestEL(PSTATE.EL) &amp;&amp; !IsFeatureImplemented(FEAT_AA64) &amp;&amp; AMCR().CG1RZ == '1' then
        R(t, t2) = Zeros{64};
    else
        R(t, t2) = AMEVCNTR1(m);
    end;
elsif PSTATE.EL == EL2 then
    if HaveEL(EL3) &amp;&amp; EL3SDDUndefPriority() &amp;&amp; IsFeatureImplemented(FEAT_AA64EL3) &amp;&amp; !ELUsingAArch32(EL3) &amp;&amp; CPTR_EL3().TAM == '1' then
        Undefined();
    elsif HaveEL(EL3) &amp;&amp; IsFeatureImplemented(FEAT_AA64EL3) &amp;&amp; !ELUsingAArch32(EL3) &amp;&amp; CPTR_EL3().TAM == '1' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_AArch32SystemAccessTrap(EL3, 0x04);
        end;
    elsif !IsHighestEL(PSTATE.EL) &amp;&amp; IsFeatureImplemented(FEAT_AA64) &amp;&amp; AMCR_EL0().CG1RZ == '1' then
        R(t, t2) = Zeros{64};
    elsif !IsHighestEL(PSTATE.EL) &amp;&amp; !IsFeatureImplemented(FEAT_AA64) &amp;&amp; AMCR().CG1RZ == '1' then
        R(t, t2) = Zeros{64};
    else
        R(t, t2) = AMEVCNTR1(m);
    end;
elsif PSTATE.EL == EL3 then
    R(t, t2) = AMEVCNTR1(m);
end;
                </pstext>
                </ps>
            </access_permission>
        </access_mechanism>
    
        
        <access_mechanism accessor="MCRR AMEVCNTR1&lt;m&gt;" type="SystemAccessor">
            <encoding>
                
                <acc_array var="m">
                    <acc_array_range>0-15</acc_array_range>
                </acc_array>
            <access_instruction>MCRR{&lt;c&gt;}{&lt;q&gt;} &lt;coproc&gt;, {#}&lt;opc1&gt;, &lt;Rt&gt;, &lt;Rt2&gt;, &lt;CRm&gt;</access_instruction>
                
                <enc n="coproc" v="0b1111"/>
                
                <enc n="CRm" v="0b010:m[3]"/>
                
                <enc n="opc1" v="0b0:m[2:0]"/>
            </encoding>
            <access_permission>
                <ps name="MCRR" sections="1" secttype="access_permission">
                <pstext>
let m:integer = UInt(CRm[0] :: opc1[2:0]);

if !(IsFeatureImplemented(FEAT_AMUv1) &amp;&amp; IsFeatureImplemented(FEAT_AA32)) then
    Undefined();
elsif m &gt;= NUM_AMU_CG1_MONITORS then
    Undefined();
elsif !IsG1ActivityMonitorImplemented(m) then
    Undefined();
elsif PSTATE.EL == EL1 &amp;&amp; EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_AA64EL2) &amp;&amp; !ELUsingAArch32(EL2) &amp;&amp; m &gt;= 8 &amp;&amp; HSTR_EL2().T5 == '1' then
    AArch64_AArch32SystemAccessTrap(EL2, 0x04);
elsif PSTATE.EL == EL1 &amp;&amp; EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_AA32EL2) &amp;&amp; ELUsingAArch32(EL2) &amp;&amp; m &gt;= 8 &amp;&amp; HSTR().T5 == '1' then
    AArch32_TakeHypTrapException(0x04);
elsif IsHighestEL(PSTATE.EL) then
    AMEVCNTR1(m) = R(t2) :: R(t);
else
    Undefined();
end;
                </pstext>
                </ps>
            </access_permission>
        </access_mechanism>

      </access_mechanisms>

      <arch_variants>
      </arch_variants>
  </register>
</registers>
<timestamp>2026-03-26 20:27:25</timestamp>
<commit_id>2026-03_rel</commit_id>
</register_page>