# =======================================================================================
#
#      Filename:  perfmon_core2_events.txt
#
#      Description:  Event list for Intel Core 2
#
#      Version:   5.1.0
#      Released:  20.11.2020
#
#      Author:   Jan Treibig (jt), jan.treibig@gmail.com
#                Thomas Gruber (tr), thomas.roehl@googlemail.com
#      Project:  likwid
#
#      Copyright (C) 2020 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_CPU_CLK_UNHALTED           0x00   FIXC2
UMASK_CPU_CLK_UNHALTED_REF       0x00

EVENT_LOAD_BLOCK                 0x03   PMC
UMASK_LOAD_BLOCK_STA             0x02
UMASK_LOAD_BLOCK_STD             0x04
UMASK_LOAD_BLOCK_OVERLAP_STORE   0x08
UMASK_LOAD_BLOCK_UNTIL_RETIRE    0x10
UMASK_LOAD_BLOCK_L1D             0x20

EVENT_SB_DRAIN_CYCLES            0x04   PMC
UMASK_SB_DRAIN_CYCLES            0x01

EVENT_STORE_BLOCK                0x04   PMC
UMASK_STORE_BLOCK_ORDER          0x02
UMASK_STORE_BLOCK_SNOOP          0x08

EVENT_MISALIGN_MEM_REF           0x05   PMC
UMASK_MISALIGN_MEM_REF           0x00

EVENT_SEGMENT_REG_LOADS          0x06   PMC
UMASK_SEGMENT_REG_LOADS          0x00

EVENT_SSE_PRE                    0x07   PMC
UMASK_SSE_PRE_NTA                0x00
UMASK_SSE_PRE_L1                 0x01
UMASK_SSE_PRE_L2                 0x02
UMASK_SSE_PRE_STORES             0x03

EVENT_DTLB_MISSES                0x08   PMC
UMASK_DTLB_MISSES_ANY            0x01
UMASK_DTLB_MISSES_MISS_LD        0x02
UMASK_DTLB_MISSES_L0_MISS_LD     0x04
UMASK_DTLB_MISSES_MISS_ST        0x08

EVENT_MEMORY_DISAMBIGUATION      0x09   PMC
UMASK_MEMORY_DISAMBIGUATION_RESET      0x01
UMASK_MEMORY_DISAMBIGUATION_SUCCESS    0x02

EVENT_PAGE_WALK                  0x0C   PMC
UMASK_PAGE_WALK_COUNT            0x01
UMASK_PAGE_WALK_CYCLES           0x02

EVENT_FP_COMP_OPS_EXE            0x10   PMC0
UMASK_FP_COMP_OPS_EXE            0x00

EVENT_FP_ASSIST                  0x11   PMC1
UMASK_FP_ASSIST                  0x00

EVENT_MUL                        0x12   PMC1
UMASK_MUL                        0x00

EVENT_DIV                        0x13   PMC1
UMASK_DIV                        0x00

EVENT_CYCLES_DIV_BUSY            0x14   PMC0
UMASK_CYCLES_DIV_BUSY            0x00

EVENT_IDLE_DURING_DIV            0x18   PMC0
UMASK_IDLE_DURING_DIV            0x00

EVENT_DELAYED_BYPASS             0x19   PMC1
UMASK_DELAYED_BYPASS_FP          0x00
UMASK_DELAYED_BYPASS_SIMD        0x01
UMASK_DELAYED_BYPASS_LOAD        0x02

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_ALL_CORES     0xC0
UMASK_L2_DBUS_BUSY_THIS_CORE     0x40

EVENT_L2_DBUS_BUSY_RD            0x23  PMC
UMASK_L2_DBUS_BUSY_RD_ALL_CORES  0xC0
UMASK_L2_DBUS_BUSY_RD_THIS_CORE  0x40

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_M_LINES_IN              0x25  PMC
UMASK_L2_M_LINES_IN_ALL_CORES    0xC0
UMASK_L2_M_LINES_IN_THIS_CORE    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_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_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_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_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_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_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_NO_REQ                  0x32  PMC
UMASK_L2_NO_REQ_ALL_CORES        0xC0
UMASK_L2_NO_REQ_THIS_CORE        0x40

EVENT_EIST_TRANS               0x3A  PMC
UMASK_EIST_TRANS_ANY           0x00
UMASK_EIST_TRANS_FREQ          0x01

EVENT_THERMAL_TRIP               0x3B  PMC
UMASK_THERMAL_TRIP               0xC0

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
DEFAULT_OPTIONS_CPU_CLK_UNHALTED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0x2,EVENT_OPTION_INVERT=0x1
UMASK_CPU_CLK_UNHALTED_TOTAL_CYCLES    0x00

EVENT_L1D_CACHE_LD               0x40  PMC
UMASK_L1D_CACHE_LD_MODIFIED     0x08
UMASK_L1D_CACHE_LD_EXCLUSIVE    0x04
UMASK_L1D_CACHE_LD_SHARED       0x02
UMASK_L1D_CACHE_LD_INVALID      0x01
UMASK_L1D_CACHE_LD_MESI         0x0F

EVENT_L1D_CACHE_ST               0x41  PMC
UMASK_L1D_CACHE_ST_MODIFIED     0x08
UMASK_L1D_CACHE_ST_EXCLUSIVE    0x04
UMASK_L1D_CACHE_ST_SHARED       0x02
UMASK_L1D_CACHE_ST_INVALID      0x01
UMASK_L1D_CACHE_ST_MESI         0x0F

EVENT_L1D_CACHE_LOCK             0x42  PMC
UMASK_L1D_CACHE_LOCK_MODIFIED     0x08
UMASK_L1D_CACHE_LOCK_EXCLUSIVE    0x04
UMASK_L1D_CACHE_LOCK_SHARED       0x02
UMASK_L1D_CACHE_LOCK_INVALID      0x01
UMASK_L1D_CACHE_LOCK_MESI         0x0F
UMASK_L1D_CACHE_LOCK_DURATION     0x10

EVENT_L1D_ALL                    0x43  PMC
UMASK_L1D_ALL_REF                0x01

EVENT_L1D_CACHE                  0x44  PMC
UMASK_L1D_CACHE_REF              0x02

EVENT_L1D_REPL                   0x45  PMC
UMASK_L1D_REPL                   0x0F

EVENT_L1D_M_REPL                 0x46  PMC
UMASK_L1D_M_REPL                 0x00

EVENT_L1D_M_EVICT                0x47  PMC
UMASK_L1D_M_EVICT                0x00

EVENT_L1D_PEND_MISS              0x48  PMC
UMASK_L1D_PEND_MISS              0x00

EVENT_L1D_SPLIT                  0x49  PMC
UMASK_L1D_SPLIT_LOADS            0x01
UMASK_L1D_SPLIT_STORES           0x02

EVENT_SSE_PRE_MISS               0x4B  PMC
UMASK_SSE_PRE_MISS_NTA           0x00
UMASK_SSE_PRE_MISS_L1            0x01
UMASK_SSE_PRE_MISS_L2            0x02
UMASK_SSE_PRE_MISS_ALL_CACHES    0x03

EVENT_LOAD_HIT_PRE              0x4C  PMC
UMASK_LOAD_HIT_PRE              0x00

EVENT_L1D_PREFETCH_REQUESTS     0x4E  PMC
UMASK_L1D_PREFETCH_REQUESTS     0x10

EVENT_L1D_PREFETCH_DCU_MISSES   0x4F  PMC
UMASK_L1D_PREFETCH_DCU_MISSES   0x00

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_BNR_DRV                0x61  PMC
UMASK_BUS_BNR_DRV_THIS_A         0x00
UMASK_BUS_BNR_DRV_ALL_A          0x20

EVENT_BUS_DRDY_CLOCKS            0x62  PMC
UMASK_BUS_DRDY_CLOCKS_THIS_A     0x00
UMASK_BUS_DRDY_CLOCKS_ALL_A      0x20

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_BUS_DATA_RCV               0x64  PMC
UMASK_BUS_DATA_RCV_ALL_CORES     0xC0
UMASK_BUS_DATA_RCV_THIS_CORE     0x40

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_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_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_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_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_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_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_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_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_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_EXT_SNOOP                         0x77 PMC
UMASK_EXT_SNOOP_ALL_CORES_CLEAN         0xC1
UMASK_EXT_SNOOP_ALL_CORES_HIT           0xC2
UMASK_EXT_SNOOP_ALL_CORES_HITM          0xC8
UMASK_EXT_SNOOP_THIS_CORE_CLEAN         0x41
UMASK_EXT_SNOOP_THIS_CORE_HIT           0x42
UMASK_EXT_SNOOP_THIS_CORE_HITM          0x48


EVENT_CMP_SNOOP                         0x78 PMC
UMASK_CMP_SNOOP_ALL_CORES_CMP2I         0xC2
UMASK_CMP_SNOOP_ALL_CORES_CMP2S         0xC1
UMASK_CMP_SNOOP_THIS_CORE_CMP2I         0x42
UMASK_CMP_SNOOP_THIS_CORE_CMP2S         0x41

EVENT_BUS_HIT_DRV                         0x7A PMC
UMASK_BUS_HIT_DRV_THIS_AGENT              0x00
UMASK_BUS_HIT_DRV_ALL_AGENTS              0x20

EVENT_BUS_HITM_DRV                         0x7B PMC
UMASK_BUS_HITM_DRV_THIS_AGENT              0x00
UMASK_BUS_HITM_DRV_ALL_AGENTS              0x20

EVENT_BUSQ_EMPTY                         0x7D PMC
UMASK_BUSQ_EMPTY_ALL_CORES               0xC0
UMASK_BUSQ_EMPTY_THIS_CORE               0x40

EVENT_BUS_SNOOP_STALLED          0x7E  PMC
UMASK_BUS_SNOOP_STALLED_ALL_CORES_THIS_AGENT          0xC0
UMASK_BUS_SNOOP_STALLED_ALL_CORES_ALL_AGENTS          0xE0
UMASK_BUS_SNOOP_STALLED_THIS_CORE_THIS_AGENT          0x40
UMASK_BUS_SNOOP_STALLED_THIS_CORE_ALL_AGENTS          0x60

EVENT_BUS_IO_WAIT                         0x7F PMC
UMASK_BUS_IO_WAIT_ALL_CORES               0xC0
UMASK_BUS_IO_WAIT_THIS_CORE               0x40

EVENT_L1I_READS                  0x80  PMC
UMASK_L1I_READS                  0x00

EVENT_L1I_MISSES                0x81  PMC
UMASK_L1I_MISSES                0x00

EVENT_ITLB                       0x82  PMC
UMASK_ITLB_SMALL_MISS            0x02
UMASK_ITLB_LARGE_MISS            0x10
UMASK_ITLB_FLUSH                 0x40
UMASK_ITLB_MISSES                0x12

EVENT_INST_QUEUE                 0x83  PMC
UMASK_INST_QUEUE_FULL            0x02

EVENT_CYCLES_L1I_MEM_STALLED     0x86  PMC
UMASK_CYCLES_L1I_MEM_STALLED     0x00

EVENT_ILD_STALL                  0x87  PMC
UMASK_ILD_STALL                  0x00

EVENT_BR_INST_EXEC               0x88  PMC
UMASK_BR_INST_EXEC               0x00

EVENT_BR_MISSP_EXEC              0x89  PMC
UMASK_BR_MISSP_EXEC              0x00

EVENT_BR_BAC_MISSP_EXEC          0x8A  PMC
UMASK_BR_BAC_MISSP_EXEC          0x00

EVENT_BR_CND_EXEC                0x8B  PMC
UMASK_BR_CND_EXEC                0x00

EVENT_BR_CND_MISSP_EXEC            0x8C  PMC
UMASK_BR_CND_MISSP_EXEC            0x00

EVENT_BR_IND_EXEC                0x8D  PMC
UMASK_BR_IND_EXEC                0x00

EVENT_BR_IND_MISSP_EXEC            0x8E  PMC
UMASK_BR_IND_MISSP_EXEC            0x00

EVENT_BR_RET_EXEC                0x8F  PMC
UMASK_BR_RET_EXEC                0x00

EVENT_BR_RET_BAC_MISSP_EXEC          0x91  PMC
UMASK_BR_RET_BAC_MISSP_EXEC          0x00

EVENT_BR_CALL_EXEC          0x92  PMC
UMASK_BR_CALL_EXEC          0x00

EVENT_BR_CALL_MISSP_EXEC          0x93  PMC
UMASK_BR_CALL_MISSP_EXEC          0x00

EVENT_BR_IND_CALL_EXEC          0x94  PMC
UMASK_BR_IND_CALL_EXEC          0x00

EVENT_BR_TKN_BUBBLE_1          0x97  PMC
UMASK_BR_TKN_BUBBLE_1          0x00

EVENT_BR_TKN_BUBBLE_2          0x98  PMC
UMASK_BR_TKN_BUBBLE_2          0x00

EVENT_RS_UOPS_DISPATCHED_ALL          0xA0  PMC
UMASK_RS_UOPS_DISPATCHED_ALL          0x00

EVENT_RS_UOPS_DISPATCHED                0xA1  PMC0
UMASK_RS_UOPS_DISPATCHED_PORT0          0x01
UMASK_RS_UOPS_DISPATCHED_PORT1          0x02
UMASK_RS_UOPS_DISPATCHED_PORT2          0x04
UMASK_RS_UOPS_DISPATCHED_PORT3          0x08
UMASK_RS_UOPS_DISPATCHED_PORT4          0x10
UMASK_RS_UOPS_DISPATCHED_PORT5          0x20
DEFAULT_OPTIONS_RS_UOPS_DISPATCHED_PORT_ARITH_PORTS_CORE EVENT_OPTION_EDGE=0x1
UMASK_RS_UOPS_DISPATCHED_PORT_ARITH_PORTS_CORE 0x23
UMASK_RS_UOPS_DISPATCHED_PORT_DATA_PORTS 0x1C

EVENT_MACRO_INSTS                  0xAA  PMC
UMASK_MACRO_INSTS_DECODED          0x01
UMASK_MACRO_INSTS_CISC_DECODED     0x08

EVENT_ESP                    0xAB  PMC
UMASK_ESP_SYNCH              0x01
UMASK_ESP_ADDITIONS          0x02

EVENT_SIMD_UOPS_EXEC            0xB0  PMC
UMASK_SIMD_UOPS_EXEC            0x00

EVENT_SIMD_SAT_UOPS_EXEC            0xB1  PMC
UMASK_SIMD_SAT_UOPS_EXEC            0x00

EVENT_SIMD_UOP_TYPE_EXEC               0xB3  PMC
UMASK_SIMD_UOP_TYPE_EXEC_MUL           0x01
UMASK_SIMD_UOP_TYPE_EXEC_SHIFT         0x02
UMASK_SIMD_UOP_TYPE_EXEC_PACK          0x04
UMASK_SIMD_UOP_TYPE_EXEC_UNPACK        0x08
UMASK_SIMD_UOP_TYPE_EXEC_LOGICAL       0x10
UMASK_SIMD_UOP_TYPE_EXEC_ARITHMETIC    0x20

EVENT_INST_RETIRED               0xC0   PMC
UMASK_INST_RETIRED_ANY_P         0x00
UMASK_INST_RETIRED_LOADS         0x01
UMASK_INST_RETIRED_STORES        0x02
UMASK_INST_RETIRED_OTHER         0x04

EVENT_X87_OPS_RETIRED           0xC1   PMC
UMASK_X87_OPS_RETIRED_FXCH      0x01
UMASK_X87_OPS_RETIRED_ANY       0xFE

EVENT_UOPS_RETIRED               0xC2   PMC
UMASK_UOPS_RETIRED_LD_IND_BR     0x01
UMASK_UOPS_RETIRED_STD_STA       0x02
UMASK_UOPS_RETIRED_MACRO_FUSION  0x04
UMASK_UOPS_RETIRED_FUSED         0x07
UMASK_UOPS_RETIRED_NON_FUSED     0x08
UMASK_UOPS_RETIRED_ANY           0x0F
DEFAULT_OPTIONS_UOPS_RETIRED_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_RETIRED_USED_CYCLES     0x0F
DEFAULT_OPTIONS_UOPS_RETIRED_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_RETIRED_STALL_CYCLES     0x0F
DEFAULT_OPTIONS_UOPS_RETIRED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0x9,EVENT_OPTION_INVERT=1
UMASK_UOPS_RETIRED_TOTAL_CYCLES     0x0F
DEFAULT_OPTIONS_UOPS_RETIRED_STALL_COUNT EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1,EVENT_OPTION_EDGE=1
UMASK_UOPS_RETIRED_STALL_COUNT     0x0F

EVENT_MACHINE_NUKES              0xC3      PMC
UMASK_MACHINE_NUKES_SMC          0x01
UMASK_MACHINE_NUKES_MEM_ORDER    0x04

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_CYCLES_INT                   0xC6   PMC
UMASK_CYCLES_INT_MASKED            0x01
UMASK_CYCLES_INT_PENDING_MASKED    0x02

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_HW_INT_RCV             0xC8   PMC
UMASK_HW_INT_RCV             0x00

EVENT_ITLB_MISS_RETIRED             0xC9   PMC
UMASK_ITLB_MISS_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

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_FP_MMX_TRANS_TO             0xCC   PMC
UMASK_FP_MMX_TRANS_TO_MMX         0x01
UMASK_FP_MMX_TRANS_TO_FP          0x02

EVENT_SIMD_ASSIST             0xCD   PMC
UMASK_SIMD_ASSIST             0x00

EVENT_SIMD_INSTR_RETIRED             0xCE   PMC
UMASK_SIMD_INSTR_RETIRED             0x00

EVENT_SIMD_SAT_INSTR_RETIRED    0xCF   PMC
UMASK_SIMD_SAT_INSTR_RETIRED    0x00

EVENT_RAT_STALLS                  0xD2   PMC
UMASK_RAT_STALLS_ROB_READ_PORT    0x01
UMASK_RAT_STALLS_PARTIAL_CYCLES   0x02
UMASK_RAT_STALLS_FLAGS            0x04
UMASK_RAT_STALLS_FPSW             0x08
UMASK_RAT_STALLS_ANY              0x0F

EVENT_SEG_RENAME_STALLS        0xD4   PMC
UMASK_SEG_RENAME_STALLS_ES     0x01
UMASK_SEG_RENAME_STALLS_DS     0x02
UMASK_SEG_RENAME_STALLS_FS     0x04
UMASK_SEG_RENAME_STALLS_GS     0x08
UMASK_SEG_RENAME_STALLS_ANY    0x0F

EVENT_SEG_REG_RENAMES         0xD5   PMC
UMASK_SEG_REG_RENAMES_STALLS_ES    0x01
UMASK_SEG_REG_RENAMES_STALLS_DS    0x02
UMASK_SEG_REG_RENAMES_STALLS_FS    0x04
UMASK_SEG_REG_RENAMES_STALLS_GS    0x08
UMASK_SEG_REG_RENAMES_STALLS_ANY   0x0F

EVENT_RESOURCE_STALLS                 0xDC   PMC
UMASK_RESOURCE_STALLS_ROB_FULL        0x01
UMASK_RESOURCE_STALLS_RS_FULL         0x02
UMASK_RESOURCE_STALLS_LD_ST           0x04
UMASK_RESOURCE_STALLS_FPCW            0x08
UMASK_RESOURCE_STALLS_BR_MISS_CLEAR   0x10
UMASK_RESOURCE_STALLS_ANY             0x1F

EVENT_BR_INST_DECODED        0xE0   PMC
UMASK_BR_INST_DECODED        0x00

EVENT_BOGUS_BR        0xE4   PMC
UMASK_BOGUS_BR        0x00

EVENT_BACLEARS        0xE6   PMC
UMASK_BACLEARS        0x00

EVENT_PREF_RQSTS_UP        0xF0   PMC
UMASK_PREF_RQSTS_UP        0x00

EVENT_PREF_RQSTS_DN        0xF8   PMC
UMASK_PREF_RQSTS_DN        0x00





