# =======================================================================================
#
#      Filename:  perfmon_atom_events.txt
#
#      Description:  Event list for Intel Atom
#
#      Version:   4.1
#      Released:  8.8.2016
#
#      Author:   Jan Treibig (jt), jan.treibig@gmail.com
#                Thomas Roehl (tr), thomas.roehl@googlemail.com
#      Project:  likwid
#
#      Copyright (C) 2016 RRZE, University Erlangen-Nuremberg
#
#      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_INSTR_RETIRED              0x00   FIXC0
UMASK_INSTR_RETIRED_ANY          0x00

EVENT_CPU_CLK_UNHALTED           0x00   FIXC1
UMASK_CPU_CLK_UNHALTED_CORE      0x00

EVENT_BACLEARS                                        0xE6 PMC
UMASK_BACLEARS_ANY                                    0x01 

EVENT_BOGUS_BR                                        0xE4 PMC
UMASK_BOGUS_BR                                        0x01 

EVENT_BR_INST_RETIRED            0xC4   PMC
UMASK_BR_INST_RETIRED_ANY        0x00
UMASK_BR_INST_RETIRED_PRED_NOT_TAKEN        0x01
UMASK_BR_INST_RETIRED_MISPRED_NOT_TAKEN     0x02
UMASK_BR_INST_RETIRED_PRED_TAKEN            0x04
UMASK_BR_INST_RETIRED_MISPRED_TAKEN         0x08
UMASK_BR_INST_RETIRED_TAKEN                 0x0C

EVENT_BR_INST_RETIRED_MISPRED    0xC5   PMC
UMASK_BR_INST_RETIRED_MISPRED    0x00

EVENT_BR_INST_DECODED        0xE0   PMC
UMASK_BR_INST_DECODED    0x00

EVENT_BUS_BNR_DRV                                     0x61 PMC
UMASK_BUS_BNR_DRV_THIS_A                              0x00
UMASK_BUS_BNR_DRV_ALL_A                               0x20

EVENT_BUS_DATA_RCV               0x64  PMC
UMASK_BUS_DATA_RCV_ALL_CORES     0xC0
UMASK_BUS_DATA_RCV_THIS_CORE     0x40

EVENT_BUS_DRDY_CLOCKS            0x62  PMC
UMASK_BUS_DRDY_CLOCKS_THIS_A     0x00
UMASK_BUS_DRDY_CLOCKS_ALL_A      0x20

EVENT_BUS_HIT_DRV                                     0x7A PMC
UMASK_BUS_HIT_DRV_THIS_A                              0x00
UMASK_BUS_HIT_DRV_ALL_A                               0x20

EVENT_BUS_HITM_DRV                                    0x7B PMC
UMASK_BUS_HITM_DRV                                    0x00
UMASK_BUS_HITM_DRV                                    0x20

EVENT_BUS_IO_WAIT                                     0x7F PMC
UMASK_BUS_IO_WAIT_ALL_CORES                           0xC0
UMASK_BUS_IO_WAIT_THIS_CORE                           0x40

EVENT_BUS_LOCK_CLOCKS            0x63  PMC
UMASK_BUS_LOCK_CLOCKS_ALL_CORES_THIS_A    0xC0
UMASK_BUS_LOCK_CLOCKS_ALL_CORES_ALL_A     0xE0
UMASK_BUS_LOCK_CLOCKS_THIS_CORE_THIS_A    0x40
UMASK_BUS_LOCK_CLOCKS_THIS_CORE_ALL_A     0x60

EVENT_BUSQ_EMPTY                                      0x7D PMC
UMASK_BUSQ_EMPTY_ALL_CORES                            0xC0
UMASK_BUSQ_EMPTY_THIS_CORE                            0x40

EVENT_BUS_REQUEST_OUTSTANDING    0x60  PMC
UMASK_BUS_REQUEST_OUTSTANDING_ALL_CORES_THIS_A    0xC0
UMASK_BUS_REQUEST_OUTSTANDING_ALL_CORES_ALL_A     0xE0
UMASK_BUS_REQUEST_OUTSTANDING_THIS_CORE_THIS_A    0x40
UMASK_BUS_REQUEST_OUTSTANDING_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_ANY              0x70  PMC
UMASK_BUS_TRANS_ANY_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_ANY_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_ANY_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_ANY_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_BRD              0x65  PMC
UMASK_BUS_TRANS_BRD_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_BRD_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_BRD_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_BRD_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_BURST            0x6E  PMC
UMASK_BUS_TRANS_BURST_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_BURST_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_BURST_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_BURST_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_DEF              0x6D  PMC
UMASK_BUS_TRANS_DEF_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_DEF_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_DEF_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_DEF_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_IFETCH           0x68  PMC
UMASK_BUS_TRANS_IFETCH_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_IFETCH_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_IFETCH_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_IFETCH_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_INVAL            0x69  PMC
UMASK_BUS_TRANS_INVAL_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_INVAL_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_INVAL_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_INVAL_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_IO               0x6C  PMC
UMASK_BUS_TRANS_IO_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_IO_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_IO_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_IO_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_MEM              0x6F  PMC
UMASK_BUS_TRANS_MEM_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_MEM_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_MEM_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_MEM_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_P                0x6B  PMC
UMASK_BUS_TRANS_P_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_P_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_P_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_P_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_PWR              0x6A  PMC
UMASK_BUS_TRANS_PWR_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_PWR_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_PWR_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_PWR_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_RFO              0x66  PMC
UMASK_BUS_TRANS_RFO_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_RFO_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_RFO_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_RFO_THIS_CORE_ALL_A     0x60

EVENT_BUS_TRANS_WB               0x67  PMC
UMASK_BUS_TRANS_WB_ALL_CORES_THIS_A    0xC0
UMASK_BUS_TRANS_WB_ALL_CORES_ALL_A     0xE0
UMASK_BUS_TRANS_WB_THIS_CORE_THIS_A    0x40
UMASK_BUS_TRANS_WB_THIS_CORE_ALL_A     0x60

EVENT_CPU_CLK_UNHALTED                   0x3C  PMC
UMASK_CPU_CLK_UNHALTED_CORE_P            0x00
UMASK_CPU_CLK_UNHALTED_BUS               0x01
UMASK_CPU_CLK_UNHALTED_NO_OTHER          0x02

EVENT_CYCLES_DIV_BUSY            0x14   PMC0
UMASK_CYCLES_DIV_BUSY            0x00

EVENT_CYCLES_INT_MASKED                               0xC6 PMC
UMASK_CYCLES_INT_MASKED_CYCLES_INT_MASKED             0x01 
UMASK_CYCLES_INT_MASKED_CYCLES_INT_PENDING_AND_MASKED 0x02  

EVENT_DATA_TLB_MISSES                                 0x08 PMC
UMASK_DATA_TLB_MISSES_DTLB_MISS                       0x07 
UMASK_DATA_TLB_MISSES.DTLB_MISS_LD                    0x05 
UMASK_DATA_TLB_MISSES.DTLB_MISS_ST                    0x06 
UMASK_DATA_TLB_MISSES.L0_DTLB_MISS_LD                 0x09 

EVENT_DIV                                             0x13 PMC
UMASK_DIV_AR                                          0x81 
UMASK_DIV_S                                           0x01 

EVENT_EIST_TRANS               0x3A  PMC
UMASK_EIST_TRANS               0x00

EVENT_EXT_SNOOP                                       0x77 PMC
UMASK_EXT_SNOOP_ALL_CORES_MODIFIED                    0xC8  
UMASK_EXT_SNOOP_ALL_CORES_EXCLUSIVE                   0xC4  
UMASK_EXT_SNOOP_ALL_CORES_SHARED                      0xC2  
UMASK_EXT_SNOOP_ALL_CORES_INVALID                     0xC1  
UMASK_EXT_SNOOP_ALL_CORES_MESI                        0xCF  
UMASK_EXT_SNOOP_THIS_CORE_MODIFIED                    0x48  
UMASK_EXT_SNOOP_THIS_CORE_EXCLUSIVE                   0x44  
UMASK_EXT_SNOOP_THIS_CORE_SHARED                      0x42  
UMASK_EXT_SNOOP_THIS_CORE_INVALID                     0x41  
UMASK_EXT_SNOOP_THIS_CORE_MESI                        0x4F  

EVENT_FP_ASSIST                                       0x11 PMC
UMASK_FP_ASSIST                                       0x01 
UMASK_FP_ASSIST_AR                                    0x81 

EVENT_HW_INT_RCV             0xC8   PMC
UMASK_HW_INT_RCV    0x00

EVENT_ICACHE                                         0x80  PMC
UMASK_ICACHE_ACCESSES                                0x03 
UMASK_ICACHE_MISSES                                  0x02 

EVENT_INST_RETIRED               0xC0   PMC
UMASK_INST_RETIRED_ANY_P         0x00

EVENT_ITLB                                            0x82 PMC
UMASK_ITLB_MISSES                                     0x02 
UMASK_ITLB_FLUSH                                      0x04 

EVENT_L1D_CACHE                                       0x40 PMC
UMASK_L1D_CACHE_LD                                    0x21
UMASK_L1D_CACHE_ST                                    0x22 

EVENT_L2_ADS                     0x21   PMC
UMASK_L2_ADS_ALL_CORES           0xC0
UMASK_L2_ADS_THIS_CORE           0x40

EVENT_L2_DBUS_BUSY                                    0x22 PMC
UMASK_L2_DBUS_BUSY_CORES_ALL                          0xC0
UMASK_L2_DBUS_BUSY_THIS_CORE                          0x40

EVENT_L2_IFETCH                  0x28  PMC
UMASK_L2_IFETCH_ALL_CORES_MODIFIED     0xC8
UMASK_L2_IFETCH_ALL_CORES_EXCLUSIVE    0xC4
UMASK_L2_IFETCH_ALL_CORES_SHARED       0xC2
UMASK_L2_IFETCH_ALL_CORES_INVALID      0xC1
UMASK_L2_IFETCH_ALL_CORES_MESI         0xCF
UMASK_L2_IFETCH_THIS_CORE_MODIFIED     0x48
UMASK_L2_IFETCH_THIS_CORE_EXCLUSIVE    0x44
UMASK_L2_IFETCH_THIS_CORE_SHARED       0x42
UMASK_L2_IFETCH_THIS_CORE_INVALID      0x41
UMASK_L2_IFETCH_THIS_CORE_MESI         0x4F

EVENT_L2_LD                      0x29  PMC
UMASK_L2_LD_ALL_CORES_ALL_MODIFIED                0xF8
UMASK_L2_LD_ALL_CORES_ALL_EXCLUSIVE               0xF4
UMASK_L2_LD_ALL_CORES_ALL_SHARED                  0xF2
UMASK_L2_LD_ALL_CORES_ALL_INVALID                 0xF1
UMASK_L2_LD_ALL_CORES_ALL_MESI                    0xFF
UMASK_L2_LD_THIS_CORE_ALL_MODIFIED                0x78
UMASK_L2_LD_THIS_CORE_ALL_EXCLUSIVE               0x74
UMASK_L2_LD_THIS_CORE_ALL_SHARED                  0x72
UMASK_L2_LD_THIS_CORE_ALL_INVALID                 0x71
UMASK_L2_LD_THIS_CORE_ALL_MESI                    0x7F
UMASK_L2_LD_ALL_CORES_PREFETCH_ONLY_MODIFIED      0xD8
UMASK_L2_LD_ALL_CORES_PREFETCH_ONLY_EXCLUSIVE     0xD4
UMASK_L2_LD_ALL_CORES_PREFETCH_ONLY_SHARED        0xD2
UMASK_L2_LD_ALL_CORES_PREFETCH_ONLY_INVALID       0xD1
UMASK_L2_LD_ALL_CORES_PREFETCH_ONLY_MESI          0xDF
UMASK_L2_LD_THIS_CORE_PREFETCH_ONLY_MODIFIED      0x58
UMASK_L2_LD_THIS_CORE_PREFETCH_ONLY_EXCLUSIVE     0x54
UMASK_L2_LD_THIS_CORE_PREFETCH_ONLY_SHARED        0x52
UMASK_L2_LD_THIS_CORE_PREFETCH_ONLY_INVALID       0x51
UMASK_L2_LD_THIS_CORE_PREFETCH_ONLY_MESI          0x5F
UMASK_L2_LD_ALL_CORES_NO_PREFETCH_MODIFIED        0xC8
UMASK_L2_LD_ALL_CORES_NO_PREFETCH_EXCLUSIVE       0xC4
UMASK_L2_LD_ALL_CORES_NO_PREFETCH_SHARED          0xC2
UMASK_L2_LD_ALL_CORES_NO_PREFETCH_INVALID         0xC1
UMASK_L2_LD_ALL_CORES_NO_PREFETCH_MESI            0xCF
UMASK_L2_LD_THIS_CORE_NO_PREFETCH_MODIFIED        0x48
UMASK_L2_LD_THIS_CORE_NO_PREFETCH_EXCLUSIVE       0x44
UMASK_L2_LD_THIS_CORE_NO_PREFETCH_SHARED          0x42
UMASK_L2_LD_THIS_CORE_NO_PREFETCH_INVALID         0x41
UMASK_L2_LD_THIS_CORE_NO_PREFETCH_MESI            0x4F

EVENT_L2_LINES_IN                0x24  PMC
UMASK_L2_LINES_IN_ALL_CORES_ALL                0xF0
UMASK_L2_LINES_IN_THIS_CORE_ALL                0x70
UMASK_L2_LINES_IN_ALL_CORES_PREFETCH_ONLY      0xD0
UMASK_L2_LINES_IN_THIS_CORE_PREFETCH_ONLY      0x50
UMASK_L2_LINES_IN_ALL_CORES_NO_PREFETCH        0xC0
UMASK_L2_LINES_IN_THIS_CORE_NO_PREFETCH        0x40

EVENT_L2_LINES_OUT               0x26  PMC
UMASK_L2_LINES_OUT_ALL_CORES_ALL                0xF0
UMASK_L2_LINES_OUT_THIS_CORE_ALL                0x70
UMASK_L2_LINES_OUT_ALL_CORES_PREFETCH_ONLY      0xD0
UMASK_L2_LINES_OUT_THIS_CORE_PREFETCH_ONLY      0x50
UMASK_L2_LINES_OUT_ALL_CORES_NO_PREFETCH        0xC0
UMASK_L2_LINES_OUT_THIS_CORE_NO_PREFETCH        0x40

EVENT_L2_LOCK                    0x2B  PMC
UMASK_L2_LOCK_ALL_CORES_MODIFIED   0xC8
UMASK_L2_LOCK_ALL_CORES_EXCLUSIVE  0xC4
UMASK_L2_LOCK_ALL_CORES_SHARED     0xC2
UMASK_L2_LOCK_ALL_CORES_INVALID    0xC1
UMASK_L2_LOCK_ALL_CORES_MESI       0xCF
UMASK_L2_LOCK_THIS_CORE_MODIFIED   0x48
UMASK_L2_LOCK_THIS_CORE_EXCLUSIVE  0x44
UMASK_L2_LOCK_THIS_CORE_SHARED     0x42
UMASK_L2_LOCK_THIS_CORE_INVALID    0x41
UMASK_L2_LOCK_THIS_CORE_MESI       0x4F

EVENT_L2_M_LINES_IN              0x25  PMC
UMASK_L2_M_LINES_IN_ALL_CORES    0xC0
UMASK_L2_M_LINES_IN_THIS_CORE    0x40

EVENT_L2_M_LINES_OUT             0x27  PMC
UMASK_L2_M_LINES_OUT_ALL_CORES_ALL                0xF0
UMASK_L2_M_LINES_OUT_THIS_CORE_ALL                0x70
UMASK_L2_M_LINES_OUT_ALL_CORES_PREFETCH_ONLY      0xD0
UMASK_L2_M_LINES_OUT_THIS_CORE_PREFETCH_ONLY      0x50
UMASK_L2_M_LINES_OUT_ALL_CORES_NO_PREFETCH        0xC0
UMASK_L2_M_LINES_OUT_THIS_CORE_NO_PREFETCH        0x40

EVENT_L2_NO_REQ                  0x32  PMC
UMASK_L2_NO_REQ_ALL_CORES        0xC0
UMASK_L2_NO_REQ_THIS_CORE        0x40

EVENT_L2_REJECT_BUSQ                   0x30  PMC
UMASK_L2_REJECT_BUSQ_ALL_CORES_ALL_MODIFIED                0xF8
UMASK_L2_REJECT_BUSQ_ALL_CORES_ALL_EXCLUSIVE               0xF4
UMASK_L2_REJECT_BUSQ_ALL_CORES_ALL_SHARED                  0xF2
UMASK_L2_REJECT_BUSQ_ALL_CORES_ALL_INVALID                 0xF1
UMASK_L2_REJECT_BUSQ_ALL_CORES_ALL_MESI                    0xFF
UMASK_L2_REJECT_BUSQ_THIS_CORE_ALL_MODIFIED                0x78
UMASK_L2_REJECT_BUSQ_THIS_CORE_ALL_EXCLUSIVE               0x74
UMASK_L2_REJECT_BUSQ_THIS_CORE_ALL_SHARED                  0x72
UMASK_L2_REJECT_BUSQ_THIS_CORE_ALL_INVALID                 0x71
UMASK_L2_REJECT_BUSQ_THIS_CORE_ALL_MESI                    0x7F
UMASK_L2_REJECT_BUSQ_ALL_CORES_PREFETCH_ONLY_MODIFIED      0xD8
UMASK_L2_REJECT_BUSQ_ALL_CORES_PREFETCH_ONLY_EXCLUSIVE     0xD4
UMASK_L2_REJECT_BUSQ_ALL_CORES_PREFETCH_ONLY_SHARED        0xD2
UMASK_L2_REJECT_BUSQ_ALL_CORES_PREFETCH_ONLY_INVALID       0xD1
UMASK_L2_REJECT_BUSQ_ALL_CORES_PREFETCH_ONLY_MESI          0xDF
UMASK_L2_REJECT_BUSQ_THIS_CORE_PREFETCH_ONLY_MODIFIED      0x58
UMASK_L2_REJECT_BUSQ_THIS_CORE_PREFETCH_ONLY_EXCLUSIVE     0x54
UMASK_L2_REJECT_BUSQ_THIS_CORE_PREFETCH_ONLY_SHARED        0x52
UMASK_L2_REJECT_BUSQ_THIS_CORE_PREFETCH_ONLY_INVALID       0x51
UMASK_L2_REJECT_BUSQ_THIS_CORE_PREFETCH_ONLY_MESI          0x5F
UMASK_L2_REJECT_BUSQ_ALL_CORES_NO_PREFETCH_MODIFIED        0xC8
UMASK_L2_REJECT_BUSQ_ALL_CORES_NO_PREFETCH_EXCLUSIVE       0xC4
UMASK_L2_REJECT_BUSQ_ALL_CORES_NO_PREFETCH_SHARED          0xC2
UMASK_L2_REJECT_BUSQ_ALL_CORES_NO_PREFETCH_INVALID         0xC1
UMASK_L2_REJECT_BUSQ_ALL_CORES_NO_PREFETCH_MESI            0xCF
UMASK_L2_REJECT_BUSQ_THIS_CORE_NO_PREFETCH_MODIFIED        0x48
UMASK_L2_REJECT_BUSQ_THIS_CORE_NO_PREFETCH_EXCLUSIVE       0x44
UMASK_L2_REJECT_BUSQ_THIS_CORE_NO_PREFETCH_SHARED          0x42
UMASK_L2_REJECT_BUSQ_THIS_CORE_NO_PREFETCH_INVALID         0x41
UMASK_L2_REJECT_BUSQ_THIS_CORE_NO_PREFETCH_MESI            0x4F

EVENT_L2_RQSTS                   0x2E  PMC
UMASK_L2_RQSTS_ALL_CORES_ALL_MODIFIED                0xF8
UMASK_L2_RQSTS_ALL_CORES_ALL_EXCLUSIVE               0xF4
UMASK_L2_RQSTS_ALL_CORES_ALL_SHARED                  0xF2
UMASK_L2_RQSTS_ALL_CORES_ALL_INVALID                 0xF1
UMASK_L2_RQSTS_ALL_CORES_ALL_MESI                    0xFF
UMASK_L2_RQSTS_THIS_CORE_ALL_MODIFIED                0x78
UMASK_L2_RQSTS_THIS_CORE_ALL_EXCLUSIVE               0x74
UMASK_L2_RQSTS_THIS_CORE_ALL_SHARED                  0x72
UMASK_L2_RQSTS_THIS_CORE_ALL_INVALID                 0x71
UMASK_L2_RQSTS_THIS_CORE_ALL_MESI                    0x7F
UMASK_L2_RQSTS_ALL_CORES_PREFETCH_ONLY_MODIFIED      0xD8
UMASK_L2_RQSTS_ALL_CORES_PREFETCH_ONLY_EXCLUSIVE     0xD4
UMASK_L2_RQSTS_ALL_CORES_PREFETCH_ONLY_SHARED        0xD2
UMASK_L2_RQSTS_ALL_CORES_PREFETCH_ONLY_INVALID       0xD1
UMASK_L2_RQSTS_ALL_CORES_PREFETCH_ONLY_MESI          0xDF
UMASK_L2_RQSTS_THIS_CORE_PREFETCH_ONLY_MODIFIED      0x58
UMASK_L2_RQSTS_THIS_CORE_PREFETCH_ONLY_EXCLUSIVE     0x54
UMASK_L2_RQSTS_THIS_CORE_PREFETCH_ONLY_SHARED        0x52
UMASK_L2_RQSTS_THIS_CORE_PREFETCH_ONLY_INVALID       0x51
UMASK_L2_RQSTS_THIS_CORE_PREFETCH_ONLY_MESI          0x5F
UMASK_L2_RQSTS_ALL_CORES_NO_PREFETCH_MODIFIED        0xC8
UMASK_L2_RQSTS_ALL_CORES_NO_PREFETCH_EXCLUSIVE       0xC4
UMASK_L2_RQSTS_ALL_CORES_NO_PREFETCH_SHARED          0xC2
UMASK_L2_RQSTS_ALL_CORES_NO_PREFETCH_INVALID         0xC1
UMASK_L2_RQSTS_ALL_CORES_NO_PREFETCH_MESI            0xCF
UMASK_L2_RQSTS_THIS_CORE_NO_PREFETCH_MODIFIED        0x48
UMASK_L2_RQSTS_THIS_CORE_NO_PREFETCH_EXCLUSIVE       0x44
UMASK_L2_RQSTS_THIS_CORE_NO_PREFETCH_SHARED          0x42
UMASK_L2_RQSTS_SELF_I_STATE      0x41
UMASK_L2_RQSTS_SELF_MESI         0x4F

EVENT_L2_ST                      0x2A  PMC
UMASK_L2_ST_ALL_CORES_MODIFIED   0xC8
UMASK_L2_ST_ALL_CORES_EXCLUSIVE  0xC4
UMASK_L2_ST_ALL_CORES_SHARED     0xC2
UMASK_L2_ST_ALL_CORES_INVALID    0xC1
UMASK_L2_ST_ALL_CORES_MESI       0xCF
UMASK_L2_ST_THIS_CORE_MODIFIED   0x48
UMASK_L2_ST_THIS_CORE_EXCLUSIVE  0x44
UMASK_L2_ST_THIS_CORE_SHARED     0x42
UMASK_L2_ST_THIS_CORE_INVALID    0x41
UMASK_L2_ST_THIS_CORE_MESI       0x4F

EVENT_MACHINE_CLEARS                                  0xC3 PMC
UMASK_MACHINE_CLEARS_SMC                              0x01 

EVENT_MACRO_INSTS          0xAA  PMC
UMASK_MACRO_INSTS_DECODED          0x01
UMASK_MACRO_INSTS_CISC_DECODED     0x08

EVENT_MEM_LOAD_RETIRED           0xCB    PMC0
UMASK_MEM_LOAD_RETIRED_L1D_MISS       0x01 
UMASK_MEM_LOAD_RETIRED_L1D_LINE_MISS  0x02 
UMASK_MEM_LOAD_RETIRED_L2_MISS        0x04 
UMASK_MEM_LOAD_RETIRED_L2_LINE_MISS   0x08 
UMASK_MEM_LOAD_RETIRED_DTLB_MISS      0x10 

EVENT_MUL                        0x12   PMC1
UMASK_MUL                        0x00
UMASK_MUL_S                         0x01
UMASK_MUL_AR                        0x81

EVENT_PAGE_WALKS                  0x0C   PMC
UMASK_PAGE_WALKS_WALKS            0x03
UMASK_PAGE_WALKS_CYCLES           0x02

EVENT_PREFETCH                                        0x07 PMC
UMASK_PREFETCH_PREFETCHNTA                            0x08 
UMASK_PREFETCH_PREFETCHT0                             0x01 
UMASK_PREFETCH_SW_L2                                  0x06 

EVENT_SEGMENT_REG_LOADS          0x06   PMC
UMASK_SEGMENT_REG_LOADS_ANY          0x00

EVENT_SIMD_ASSIST             0xCD   PMC
UMASK_SIMD_ASSIST    0x00

EVENT_SIMD_INSTR_RETIRED             0xCE   PMC
UMASK_SIMD_INSTR_RETIRED    0x00

EVENT_SIMD_COMP_INST_RETIRED     0xCA   PMC
UMASK_SIMD_COMP_INST_RETIRED_PACKED_SINGLE     0x01
UMASK_SIMD_COMP_INST_RETIRED_SCALAR_SINGLE     0x02
UMASK_SIMD_COMP_INST_RETIRED_PACKED_DOUBLE     0x04
UMASK_SIMD_COMP_INST_RETIRED_SCALAR_DOUBLE     0x08
UMASK_SIMD_INST_RETIRED_ANY                           0x1F 

EVENT_SIMD_INST_RETIRED          0xC7   PMC
UMASK_SIMD_INST_RETIRED_PACKED_SINGLE       0x01
UMASK_SIMD_INST_RETIRED_SCALAR_SINGLE       0x02
UMASK_SIMD_INST_RETIRED_PACKED_DOUBLE       0x04
UMASK_SIMD_INST_RETIRED_SCALAR_DOUBLE       0x08
UMASK_SIMD_INST_RETIRED_VECTOR              0x10
UMASK_SIMD_INST_RETIRED_ANY                 0x1F

EVENT_SIMD_SAT_INSTR_RETIRED             0xCF   PMC
UMASK_SIMD_SAT_INSTR_RETIRED    0x00

EVENT_SIMD_SAT_UOPS_EXEC            0xB1  PMC
UMASK_SIMD_SAT_UOPS_EXEC_S        0x00
UMASK_SIMD_SAT_UOP_EXEC_AR                            0x80 

EVENT_SIMD_UOPS_EXEC            0xB0  PMC
UMASK_SIMD_UOPS_EXEC_S          0x00
UMASK_SIMD_UOPS_EXEC_AR                               0xB0 0x80 

EVENT_SIMD_UOP_TYPE_EXEC               0xB3  PMC
UMASK_SIMD_UOP_TYPE_EXEC_ARITHMETIC_AR                0xA0 
UMASK_SIMD_UOP_TYPE_EXEC_ARITHMETIC_S                 0x20 
UMASK_SIMD_UOP_TYPE_EXEC_LOGICAL_AR                   0x90 
UMASK_SIMD_UOP_TYPE_EXEC_LOGICAL_S                    0x10 
UMASK_SIMD_UOP_TYPE_EXEC_MUL_AR                       0x81 
UMASK_SIMD_UOP_TYPE_EXEC_MUL_S                        0x01 
UMASK_SIMD_UOP_TYPE_EXEC_PACK_AR                      0x84 
UMASK_SIMD_UOP_TYPE_EXEC_PACK_S                       0x04 
UMASK_SIMD_UOP_TYPE_EXEC_SHIFT_AR                     0x82 
UMASK_SIMD_UOP_TYPE_EXEC_SHIFT_SSIMD                  0x02 
UMASK_SIMD_UOP_TYPE_EXEC_UNPACK_AR                    0x88 
UMASK_SIMD_UOP_TYPE_EXEC_UNPACK_S                     0x08 

EVENT_SNOOP_STALL_DRV                                 0x7E PMC
UMASK_SNOOP_STALL_DRV_ALL_CORES_THIS_A    0xC0
UMASK_SNOOP_STALL_DRV_ALL_CORES_ALL_A     0xE0
UMASK_SNOOP_STALL_DRV_THIS_CORE_THIS_A    0x40
UMASK_SNOOP_STALL_DRV_THIS_CORE_ALL_A     0x60

EVENT_STORE_FORWARDS_GOOD                             0x02  PMC
UMASK_STORE_FORWARDS_GOOD 0x81 

EVENT_THERMAL_TRIP               0x3B  PMC
UMASK_THERMAL_TRIP               0xC0

EVENT_UOPS_RETIRED               0xC2   PMC
UMASK_UOPS_RETIRED_ANY           0x00

EVENT_X87_COMP_OPS_EXE                                0x10 PMC
UMASK_X87_COMP_OPS_EXE_ANY_S                          0x01 
UMASK_X87_COMP_OPS_EXE_ANY_AR                         0x81 
