summaryrefslogtreecommitdiffstats
path: root/tools/perf/pmu-events/arch/x86/amdzen3/floating-point.json
blob: 98cfcb9c78ecb9b779150df3363e687fdcc0e45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[
  {
    "EventName": "fpu_pipe_assignment.total",
    "EventCode": "0x00",
    "BriefDescription": "Total number of fp uOps.",
    "PublicDescription": "Total number of fp uOps. The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS.",
    "UMask": "0x0f"
  },
  {
    "EventName": "fpu_pipe_assignment.total3",
    "EventCode": "0x00",
    "BriefDescription": "Total number uOps assigned to pipe 3.",
    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one-cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 3.",
    "UMask": "0x08"
  },
  {
    "EventName": "fpu_pipe_assignment.total2",
    "EventCode": "0x00",
    "BriefDescription": "Total number uOps assigned to pipe 2.",
    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 2.",
    "UMask": "0x04"
  },
  {
    "EventName": "fpu_pipe_assignment.total1",
    "EventCode": "0x00",
    "BriefDescription": "Total number uOps assigned to pipe 1.",
    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 1.",
    "UMask": "0x02"
  },
  {
    "EventName": "fpu_pipe_assignment.total0",
    "EventCode": "0x00",
    "BriefDescription": "Total number of fp uOps  on pipe 0.",
    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 0.",
    "UMask": "0x01"
  },
  {
    "EventName": "fp_ret_sse_avx_ops.all",
    "EventCode": "0x03",
    "BriefDescription": "All FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPS. The number of events logged per cycle can vary from 0 to 64. This event can count above 15.",
    "UMask": "0xff"
  },
  {
    "EventName": "fp_ret_sse_avx_ops.mac_flops",
    "EventCode": "0x03",
    "BriefDescription": "Multiply-Accumulate FLOPs. Each MAC operation is counted as 2 FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of events logged per cycle can vary from 0 to 64. This event requires the use of the MergeEvent since it can count above 15 events per cycle. See 2.1.17.3 [Large Increment per Cycle Events]. It does not provide a useful count without the use of the MergeEvent.",
    "UMask": "0x08"
  },
  {
    "EventName": "fp_ret_sse_avx_ops.div_flops",
    "EventCode": "0x03",
    "BriefDescription": "Divide/square root FLOPs. This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of events logged per cycle can vary from 0 to 64. This event requires the use of the MergeEvent since it can count above 15 events per cycle. See 2.1.17.3 [Large Increment per Cycle Events]. It does not provide a useful count without the use of the MergeEvent.",
    "UMask": "0x04"
  },
  {
    "EventName": "fp_ret_sse_avx_ops.mult_flops",
    "EventCode": "0x03",
    "BriefDescription": "Multiply FLOPs. This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of events logged per cycle can vary from 0 to 64. This event requires the use of the MergeEvent since it can count above 15 events per cycle. See 2.1.17.3 [Large Increment per Cycle Events]. It does not provide a useful count without the use of the MergeEvent.",
    "UMask": "0x02"
  },
  {
    "EventName": "fp_ret_sse_avx_ops.add_sub_flops",
    "EventCode": "0x03",
    "BriefDescription": "Add/subtract FLOPs. This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of events logged per cycle can vary from 0 to 64. This event requires the use of the MergeEvent since it can count above 15 events per cycle. See 2.1.17.3 [Large Increment per Cycle Events]. It does not provide a useful count without the use of the MergeEvent.",
    "UMask": "0x01"
  },
  {
    "EventName": "fp_num_mov_elim_scal_op.optimized",
    "EventCode": "0x04",
    "BriefDescription": "Number of Scalar Ops optimized. This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
    "UMask": "0x08"
  },
  {
    "EventName": "fp_num_mov_elim_scal_op.opt_potential",
    "EventCode": "0x04",
    "BriefDescription": "Number of Ops that are candidates for optimization (have Z-bit either set or pass). This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
    "UMask": "0x04"
  },
  {
    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops_elim",
    "EventCode": "0x04",
    "BriefDescription": "Number of SSE Move Ops eliminated. This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
    "UMask": "0x02"
  },
  {
    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops",
    "EventCode": "0x04",
    "BriefDescription": "Number of SSE Move Ops. This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
    "UMask": "0x01"
  },
  {
    "EventName": "fp_retired_ser_ops.sse_bot_ret",
    "EventCode": "0x05",
    "BriefDescription": "SSE/AVX bottom-executing ops retired. The number of serializing Ops retired.",
    "UMask": "0x08"
  },
  {
    "EventName": "fp_retired_ser_ops.sse_ctrl_ret",
    "EventCode": "0x05",
    "BriefDescription": "SSE/AVX control word mispredict traps. The number of serializing Ops retired.",
    "UMask": "0x04"
  },
  {
    "EventName": "fp_retired_ser_ops.x87_bot_ret",
    "EventCode": "0x05",
    "BriefDescription": "x87 bottom-executing ops retired. The number of serializing Ops retired.",
    "UMask": "0x02"
  },
  {
    "EventName": "fp_retired_ser_ops.x87_ctrl_ret",
    "EventCode": "0x05",
    "BriefDescription": "x87 control word mispredict traps due to mispredictions in RC or PC, or changes in mask bits. The number of serializing Ops retired.",
    "UMask": "0x01"
  },
  {
    "EventName": "fp_disp_faults.ymm_spill_fault",
    "EventCode": "0x0e",
    "BriefDescription": "Floating Point Dispatch Faults. YMM spill fault.",
    "UMask": "0x08"
  },
  {
    "EventName": "fp_disp_faults.ymm_fill_fault",
    "EventCode": "0x0e",
    "BriefDescription": "Floating Point Dispatch Faults. YMM fill fault.",
    "UMask": "0x04"
  },
  {
    "EventName": "fp_disp_faults.xmm_fill_fault",
    "EventCode": "0x0e",
    "BriefDescription": "Floating Point Dispatch Faults. XMM fill fault.",
    "UMask": "0x02"
  },
  {
    "EventName": "fp_disp_faults.x87_fill_fault",
    "EventCode": "0x0e",
    "BriefDescription": "Floating Point Dispatch Faults. x87 fill fault.",
    "UMask": "0x01"
  }
]