# =======================================================================================
#
#      Filename:  perfmon_graviton3_events.txt
#
#      Description:  Event list for ARM AWS Graviton3
#
#      Version:   <VERSION>
#      Released:  <DATE>
#
#      Author:   Carlos Falquez, c.falquez@fz-juelich.de
#      Project:  likwid
#
#      Copyright (C) 2022, Forschungszentrum Juelich, Germany
#
#      This program is free software: you can redistribute it and/or modify it under
#      the terms of the GNU General Public License as published by the Free Software
#      Foundation, either version 3 of the License, or (at your option) any later
#      version.
#
#      This program is distributed in the hope that it will be useful, but WITHOUT ANY
#      WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
#      PARTICULAR PURPOSE.  See the GNU General Public License for more details.
#
#      You should have received a copy of the GNU General Public License along with
#      this program.  If not, see <http://www.gnu.org/licenses/>.
#
# =======================================================================================

EVENT_SW_INCR 0x00 PMC
UMASK_SW_INCR 0x00

EVENT_L1I_CACHE_REFILL 0x01 PMC
UMASK_L1I_CACHE_REFILL 0x00

EVENT_L1I_TLB_REFILL 0x02 PMC
UMASK_L1I_TLB_REFILL 0x00

EVENT_L1D_CACHE_REFILL 0x03 PMC
UMASK_L1D_CACHE_REFILL 0x00

EVENT_L1D_CACHE 0x04 PMC
UMASK_L1D_CACHE 0x00

EVENT_L1D_TLB_REFILL 0x05 PMC
UMASK_L1D_TLB_REFILL 0x00

EVENT_INST_RETIRED 0x08 PMC
UMASK_INST_RETIRED 0x00

EVENT_EXC_TAKEN 0x09 PMC
UMASK_EXC_TAKEN 0x00

EVENT_EXC_RETURN 0x0A PMC
UMASK_EXC_RETURN 0x00

EVENT_CID_WRITE_RETIRED 0x0B PMC
UMASK_CID_WRITE_RETIRED 0x00

EVENT_BR_MIS_PRED 0x10 PMC
UMASK_BR_MIS_PRED 0x00

EVENT_CPU_CYCLES 0x11 PMC
UMASK_CPU_CYCLES 0x00

EVENT_BR_PRED 0x12 PMC
UMASK_BR_PRED 0x00

EVENT_MEM_ACCESS 0x13 PMC
UMASK_MEM_ACCESS 0x00

EVENT_L1I_CACHE 0x14 PMC
UMASK_L1I_CACHE 0x00

EVENT_L1D_CACHE_WB 0x15 PMC
UMASK_L1D_CACHE_WB 0x00

EVENT_L2D_CACHE 0x16 PMC
UMASK_L2D_CACHE 0x00

EVENT_L2D_CACHE_REFILL 0x17 PMC
UMASK_L2D_CACHE_REFILL 0x00

EVENT_L2D_CACHE_WB 0x18 PMC
UMASK_L2D_CACHE_WB 0x00

EVENT_BUS_ACCESS 0x19 PMC
UMASK_BUS_ACCESS 0x00

EVENT_MEMORY_ERROR 0x1A PMC
UMASK_MEMORY_ERROR 0x00

EVENT_INST_SPEC  0x1B PMC
UMASK_INST_SPEC  0x00

EVENT_TTBR_WRITE_RETIRED  0x1C PMC
UMASK_TTBR_WRITE_RETIRED  0x00

EVENT_BUS_CYCLES  0x1D PMC
UMASK_BUS_CYCLES  0x00

EVENT_COUNTER_OVERFLOW  0x1E PMC
UMASK_COUNTER_OVERFLOW  0x00

EVENT_L2D_CACHE_ALLOCATE 0x20 PMC
UMASK_L2D_CACHE_ALLOCATE 0x00

EVENT_BR_RETIRED 0x21 PMC
UMASK_BR_RETIRED 0x00

EVENT_BR_MIS_PRED_RETIRED 0x22 PMC
UMASK_BR_MIS_PRED_RETIRED 0x00

EVENT_STALL_FRONTEND 0x23 PMC
UMASK_STALL_FRONTEND 0x00

EVENT_STALL_BACKEND 0x24 PMC
UMASK_STALL_BACKEND 0x00

EVENT_L1D_TLB 0x25 PMC
UMASK_L1D_TLB 0x00

EVENT_L1I_TLB 0x26 PMC
UMASK_L1I_TLB 0x00

EVENT_L3D_CACHE_ALLOCATE 0x29 PMC
UMASK_L3D_CACHE_ALLOCATE 0x00

EVENT_L3D_CACHE_REFILL 0x2A PMC
UMASK_L3D_CACHE_REFILL 0x00

EVENT_L3D_CACHE 0x2B PMC
UMASK_L3D_CACHE 0x00

EVENT_L2D_TLB_REFILL 0x2D PMC
UMASK_L2D_TLB_REFILL 0x00

EVENT_L2D_TLB 0x2F PMC
UMASK_L2D_TLB 0x00

EVENT_REMOTE_ACCESS 0x31 PMC
UMASK_REMOTE_ACCESS 0x00

EVENT_DTLB_WALK 0x34 PMC
UMASK_DTLB_WALK 0x00

EVENT_ITLB_WALK 0x35 PMC
UMASK_ITLB_WALK 0x00

EVENT_LL_CACHE_RD 0x36 PMC
UMASK_LL_CACHE_RD 0x00

EVENT_LL_CACHE_MISS_RD 0x37 PMC
UMASK_LL_CACHE_MISS_RD 0x00

EVENT_L1D_CACHE_LMISS_RD 0x39 PMC
UMASK_L1D_CACHE_LMISS_RD 0x00

EVENT_OP_RETIRED 0x3a PMC
UMASK_OP_RETIRED 0x00

EVENT_OP_SPEC 0x3b PMC
UMASK_OP_SPEC 0x00

EVENT_STALL 0x3c PMC
UMASK_STALL 0x00

EVENT_STALL_SLOT_BACKEND 0x3d PMC
UMASK_STALL_SLOT_BACKEND 0x00

EVENT_STALL_SLOT_FRONTEND 0x3e PMC
UMASK_STALL_SLOT_FRONTEND 0x00

EVENT_STALL_SLOT 0x3f PMC
UMASK_STALL_SLOT 0x00

EVENT_L1D_CACHE_RD 0x40 PMC
UMASK_L1D_CACHE_RD 0x00

EVENT_L1D_CACHE_WR 0x41 PMC
UMASK_L1D_CACHE_WR 0x00

EVENT_L1D_CACHE_REFILL_RD 0x42 PMC
UMASK_L1D_CACHE_REFILL_RD 0x00

EVENT_L1D_CACHE_REFILL_WR 0x43 PMC
UMASK_L1D_CACHE_REFILL_WR 0x00

EVENT_L1D_CACHE_REFILL_INNER 0x44 PMC
UMASK_L1D_CACHE_REFILL_INNER 0x00

EVENT_L1D_CACHE_REFILL_OUTER 0x45 PMC
UMASK_L1D_CACHE_REFILL_OUTER 0x00

EVENT_L1D_CACHE_WB_VICTIM 0x46 PMC
UMASK_L1D_CACHE_WB_VICTIM 0x00

EVENT_L1D_CACHE_WB_CLEAN 0x47 PMC
UMASK_L1D_CACHE_WB_CLEAN 0x00

EVENT_L1D_CACHE_INVAL 0x48 PMC
UMASK_L1D_CACHE_INVAL 0x00

EVENT_L1D_TLB_REFILL_RD 0x4c PMC
UMASK_L1D_TLB_REFILL_RD 0x00

EVENT_L1D_TLB_REFILL_WR 0x4d PMC
UMASK_L1D_TLB_REFILL_WR 0x00

EVENT_L1D_TLB_RD 0x4e PMC
UMASK_L1D_TLB_RD 0x00

EVENT_L1D_TLB_WR 0x4f PMC
UMASK_L1D_TLB_WR 0x00

EVENT_CACHE_ACCESS_RD  0x50 PMC
UMASK_CACHE_ACCESS_RD  0x00

EVENT_CACHE_ACCESS_WR  0x51 PMC
UMASK_CACHE_ACCESS_WR  0x00

EVENT_CACHE_RD_REFILL  0x52 PMC
UMASK_CACHE_RD_REFILL  0x00

EVENT_CACHE_WR_REFILL  0x53 PMC
UMASK_CACHE_WR_REFILL  0x00

EVENT_CACHE_WRITEBACK_VICTIM  0x56 PMC
UMASK_CACHE_WRITEBACK_VICTIM  0x00

EVENT_CACHE_WRITEBACK_CLEAN_COH  0x57 PMC
UMASK_CACHE_WRITEBACK_CLEAN_COH  0x00

EVENT_L2CACHE_INV  0x58 PMC
UMASK_L2CACHE_INV  0x00

EVENT_L2TLB_RD_REFILL  0x5C PMC
UMASK_L2TLB_RD_REFILL  0x00

EVENT_L2TLB_WR_REFILL  0x5D PMC
UMASK_L2TLB_WR_REFILL  0x00

EVENT_L2TLB_RD_REQ  0x5E PMC
UMASK_L2TLB_RD_REQ  0x00

EVENT_L2TLB_WR_REQ  0x5F PMC
UMASK_L2TLB_WR_REQ  0x00

EVENT_BUS_ACCESS_REQ  0x60 PMC
UMASK_BUS_ACCESS_REQ  0x00

EVENT_BUS_ACCESS_RETRY  0x61 PMC
UMASK_BUS_ACCESS_RETRY  0x00

EVENT_MEM_ACCESS_RD  0x66 PMC
UMASK_MEM_ACCESS_RD  0x00

EVENT_MEM_ACCESS_WR  0x67 PMC
UMASK_MEM_ACCESS_WR  0x00

EVENT_UNALIGNED_LD_SPEC  0x68 PMC
UMASK_UNALIGNED_LD_SPEC  0x00

EVENT_UNALIGNED_ST_SPEC  0x69 PMC
UMASK_UNALIGNED_ST_SPEC  0x00

EVENT_UNALIGNED_LDST_SPEC  0x6a PMC
UMASK_UNALIGNED_LDST_SPEC  0x00

EVENT_LDREX_SPEC  0x6c PMC
UMASK_LDREX_SPEC  0x00

EVENT_STREX_PASS_SPEC  0x6d PMC
UMASK_STREX_PASS_SPEC  0x00

EVENT_STREX_FAIL_SPEC  0x6e PMC
UMASK_STREX_FAIL_SPEC  0x00

EVENT_STREX_SPEC  0x6f PMC
UMASK_STREX_SPEC  0x00

EVENT_LD_SPEC  0x70 PMC
UMASK_LD_SPEC  0x00

EVENT_ST_SPEC  0x71 PMC
UMASK_ST_SPEC  0x00

EVENT_DP_SPEC  0x73 PMC
UMASK_DP_SPEC  0x00

EVENT_ASE_SPEC  0x74 PMC
UMASK_ASE_SPEC  0x00

EVENT_VFP_SPEC  0x75 PMC
UMASK_VFP_SPEC  0x00

EVENT_PC_WRITE_SPEC  0x76 PMC
UMASK_PC_WRITE_SPEC  0x00

EVENT_CRYPTO_SPEC  0x77 PMC
UMASK_CRYPTO_SPEC  0x00

EVENT_BR_IMMED_SPEC  0x78 PMC
UMASK_BR_IMMED_SPEC  0x00

EVENT_BR_RETURN_SPEC  0x79 PMC
UMASK_BR_RETURN_SPEC  0x00

EVENT_BR_INDIRECT_SPEC  0x7a PMC
UMASK_BR_INDIRECT_SPEC  0x00

EVENT_ISB_SPEC  0x7c PMC
UMASK_ISB_SPEC  0x00

EVENT_DSB_SPEC  0x7d PMC
UMASK_DSB_SPEC  0x00

EVENT_DMB_SPEC  0x7e PMC
UMASK_DMB_SPEC  0x00

EVENT_EXC_UNDEF  0x81 PMC
UMASK_EXC_UNDEF  0x00

EVENT_EXC_SVC  0x82 PMC
UMASK_EXC_SVC  0x00

EVENT_EXC_PABORT  0x83 PMC
UMASK_EXC_PABORT  0x00

EVENT_EXC_DABORT  0x84 PMC
UMASK_EXC_DABORT  0x00

EVENT_EXC_IRQ  0x86 PMC
UMASK_EXC_IRQ  0x00

EVENT_EXC_FIQ  0x87 PMC
UMASK_EXC_FIQ  0x00

EVENT_EXC_SMC  0x88 PMC
UMASK_EXC_SMC  0x00

EVENT_EXC_HVC  0x8a PMC
UMASK_EXC_HVC  0x00

EVENT_EXC_TRAP_PABORT  0x8b PMC
UMASK_EXC_TRAP_PABORT  0x00

EVENT_EXC_TRAP_DABORT  0x8c PMC
UMASK_EXC_TRAP_DABORT  0x00

EVENT_EXC_TRAP_OTHER  0x8d PMC
UMASK_EXC_TRAP_OTHER  0x00

EVENT_EXC_TRAP_IRQ  0x8e PMC
UMASK_EXC_TRAP_IRQ  0x00

EVENT_EXC_TRAP_FIQ  0x8f PMC
UMASK_EXC_TRAP_FIQ  0x00

EVENT_RC_LD_SPEC  0x90 PMC
UMASK_RC_LD_SPEC  0x00

EVENT_RC_ST_SPEC  0x91 PMC
UMASK_RC_ST_SPEC  0x00

EVENT_L3_CACHE_RD  0xa0 PMC
UMASK_L3_CACHE_RD  0x00

EVENT_SAMPLE_POP 0x4000 PMC
UMASK_SAMPLE_POP 0x00

EVENT_SAMPLE_FEED 0x4001 PMC
UMASK_SAMPLE_FEED 0x00

EVENT_SAMPLE_FILTRATE 0x4002 PMC
UMASK_SAMPLE_FILTRATE 0x00

EVENT_SAMPLE_COLLISION 0x4003 PMC
UMASK_SAMPLE_COLLISION 0x00

EVENT_CNT_CYCLES 0x4004 PMC
UMASK_CNT_CYCLES 0x00

EVENT_STALL_BACKEND_MEM 0x4005 PMC
UMASK_STALL_BACKEND_MEM 0x00

EVENT_L1I_CACHE_LMISS 0x4006 PMC
UMASK_L1I_CACHE_LMISS 0x00

EVENT_L2D_CACHE_LMISS_RD 0x4009 PMC
UMASK_L2D_CACHE_LMISS_RD 0x00

EVENT_L3D_CACHE_LMISS_RD 0x400b PMC
UMASK_L3D_CACHE_LMISS_RD 0x00

EVENT_TRB_WRAP 0x400c PMC
UMASK_TRB_WRAP 0x00

EVENT_TRCEXTOUT0 0x4010 PMC
UMASK_TRCEXTOUT0 0x00

EVENT_TRCEXTOUT1 0x4011 PMC
UMASK_TRCEXTOUT1 0x00

EVENT_TRCEXTOUT2 0x4012 PMC
UMASK_TRCEXTOUT2 0x00

EVENT_TRCEXTOUT3 0x4013 PMC
UMASK_TRCEXTOUT3 0x00

EVENT_CTI_TRIGOUT4 0x4018 PMC
UMASK_CTI_TRIGOUT4 0x00

EVENT_CTI_TRIGOUT5 0x4019 PMC
UMASK_CTI_TRIGOUT5 0x00

EVENT_CTI_TRIGOUT6 0x401a PMC
UMASK_CTI_TRIGOUT6 0x00

EVENT_CTI_TRIGOUT7 0x401b PMC
UMASK_CTI_TRIGOUT7 0x00

EVENT_LDST_ALIGN_LAT 0x4020 PMC
UMASK_LDST_ALIGN_LAT 0x00

EVENT_LD_ALIGN_LAT 0x4021 PMC
UMASK_LD_ALIGN_LAT 0x00

EVENT_ST_ALIGN_LAT 0x4022 PMC
UMASK_ST_ALIGN_LAT 0x00

EVENT_MEM_ACCESS_CHECKED 0x4024 PMC
UMASK_MEM_ACCESS_CHECKED 0x00

EVENT_MEM_ACCESS_RD_CHECKED 0x4025 PMC
UMASK_MEM_ACCESS_RD_CHECKED 0x00

EVENT_MEM_ACCESS_WR_CHECKED 0x4026 PMC
UMASK_MEM_ACCESS_WR_CHECKED 0x00

EVENT_ASE_INST_SPEC 0x8005 PMC
UMASK_ASE_INST_SPEC 0x00

EVENT_SVE_INST_SPEC 0x8006 PMC
UMASK_SVE_INST_SPEC 0x00

EVENT_FP_HP_SPEC 0x8014 PMC
UMASK_FP_HP_SPEC 0x00

EVENT_FP_SP_SPEC 0x8018 PMC
UMASK_FP_SP_SPEC 0x00

EVENT_FP_DP_SPEC 0x801c PMC
UMASK_FP_DP_SPEC 0x00

EVENT_SVE_PRED_SPEC 0x8074 PMC
UMASK_SVE_PRED_SPEC 0x00

EVENT_SVE_PRED_EMPTY_SPEC 0x8075 PMC
UMASK_SVE_PRED_EMPTY_SPEC 0x00

EVENT_SVE_PRED_FULL_SPEC 0x8076 PMC
UMASK_SVE_PRED_FULL_SPEC 0x00

EVENT_SVE_PRED_PARTIAL_SPEC 0x8077 PMC
UMASK_SVE_PRED_PARTIAL_SPEC 0x00

EVENT_SVE_PRED_NOT_FULL_SPEC 0x8079 PMC
UMASK_SVE_PRED_NOT_FULL_SPEC 0x00

EVENT_SVE_LDFF_SPEC 0x80bc PMC
UMASK_SVE_LDFF_SPEC 0x00

EVENT_SVE_LDFF_FAULT_SPEC 0x80bd PMC
UMASK_SVE_LDFF_FAULT_SPEC 0x00

EVENT_FP_SCALE_OPS_SPEC 0x80c0 PMC
UMASK_FP_SCALE_OPS_SPEC 0x00

EVENT_FP_FIXED_OPS_SPEC 0x80c1 PMC
UMASK_FP_FIXED_OPS_SPEC 0x00

EVENT_ASE_SVE_INT8_SPEC 0x80e3 PMC
UMASK_ASE_SVE_INT8_SPEC 0x00

EVENT_ASE_SVE_INT16_SPEC 0x80e7 PMC
UMASK_ASE_SVE_INT16_SPEC 0x00

EVENT_ASE_SVE_INT32_SPEC 0x80eb PMC
UMASK_ASE_SVE_INT32_SPEC 0x00

EVENT_ASE_SVE_INT64_SPEC 0x80ef PMC
UMASK_ASE_SVE_INT64_SPEC 0x00
