xref: /freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/floating-point.json (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1[
2  {
3    "EventName": "fpu_pipe_assignment.dual",
4    "EventCode": "0x00",
5    "BriefDescription": "Total number multi-pipe uOps assigned to all pipes.",
6    "PublicDescription": "The number of operations (uOps) and dual-pipe 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 multi-pipe uOps assigned to all pipes.",
7    "UMask": "0xf0"
8  },
9  {
10    "EventName": "fpu_pipe_assignment.dual3",
11    "EventCode": "0x00",
12    "BriefDescription": "Total number multi-pipe uOps assigned to pipe 3.",
13    "PublicDescription": "The number of operations (uOps) and dual-pipe 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 multi-pipe uOps assigned to pipe 3.",
14    "UMask": "0x80"
15  },
16  {
17    "EventName": "fpu_pipe_assignment.dual2",
18    "EventCode": "0x00",
19    "BriefDescription": "Total number multi-pipe uOps assigned to pipe 2.",
20    "PublicDescription": "The number of operations (uOps) and dual-pipe 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 multi-pipe uOps assigned to pipe 2.",
21    "UMask": "0x40"
22  },
23  {
24    "EventName": "fpu_pipe_assignment.dual1",
25    "EventCode": "0x00",
26    "BriefDescription": "Total number multi-pipe uOps assigned to pipe 1.",
27    "PublicDescription": "The number of operations (uOps) and dual-pipe 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 multi-pipe uOps assigned to pipe 1.",
28    "UMask": "0x20"
29  },
30  {
31    "EventName": "fpu_pipe_assignment.dual0",
32    "EventCode": "0x00",
33    "BriefDescription": "Total number multi-pipe uOps assigned to pipe 0.",
34    "PublicDescription": "The number of operations (uOps) and dual-pipe 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 multi-pipe uOps assigned to pipe 0.",
35    "UMask": "0x10"
36  },
37  {
38    "EventName": "fpu_pipe_assignment.total",
39    "EventCode": "0x00",
40    "BriefDescription": "Total number uOps assigned to all fpu pipes.",
41    "PublicDescription": "The number of operations (uOps) and dual-pipe 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 all pipes.",
42    "UMask": "0x0f"
43  },
44  {
45    "EventName": "fpu_pipe_assignment.total3",
46    "EventCode": "0x00",
47    "BriefDescription": "Total number of fp uOps on pipe 3.",
48    "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.",
49    "UMask": "0x08"
50  },
51  {
52    "EventName": "fpu_pipe_assignment.total2",
53    "EventCode": "0x00",
54    "BriefDescription": "Total number of fp uOps on pipe 2.",
55    "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.",
56    "UMask": "0x04"
57  },
58  {
59    "EventName": "fpu_pipe_assignment.total1",
60    "EventCode": "0x00",
61    "BriefDescription": "Total number of fp uOps on pipe 1.",
62    "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.",
63    "UMask": "0x02"
64  },
65  {
66    "EventName": "fpu_pipe_assignment.total0",
67    "EventCode": "0x00",
68    "BriefDescription": "Total number of fp uOps  on pipe 0.",
69    "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.",
70    "UMask": "0x01"
71  },
72  {
73    "EventName": "fp_sched_empty",
74    "EventCode": "0x01",
75    "BriefDescription": "This is a speculative event. The number of cycles in which the FPU scheduler is empty. Note that some Ops like FP loads bypass the scheduler."
76  },
77  {
78    "EventName": "fp_retx87_fp_ops.all",
79    "EventCode": "0x02",
80    "BriefDescription": "All Ops.",
81    "PublicDescription": "The number of x87 floating-point Ops that have retired. The number of events logged per cycle can vary from 0 to 8.",
82    "UMask": "0x07"
83  },
84  {
85    "EventName": "fp_retx87_fp_ops.div_sqr_r_ops",
86    "EventCode": "0x02",
87    "BriefDescription": "Divide and square root Ops.",
88    "PublicDescription": "The number of x87 floating-point Ops that have retired. The number of events logged per cycle can vary from 0 to 8. Divide and square root Ops.",
89    "UMask": "0x04"
90  },
91  {
92    "EventName": "fp_retx87_fp_ops.mul_ops",
93    "EventCode": "0x02",
94    "BriefDescription": "Multiply Ops.",
95    "PublicDescription": "The number of x87 floating-point Ops that have retired. The number of events logged per cycle can vary from 0 to 8. Multiply Ops.",
96    "UMask": "0x02"
97  },
98  {
99    "EventName": "fp_retx87_fp_ops.add_sub_ops",
100    "EventCode": "0x02",
101    "BriefDescription": "Add/subtract Ops.",
102    "PublicDescription": "The number of x87 floating-point Ops that have retired. The number of events logged per cycle can vary from 0 to 8. Add/subtract Ops.",
103    "UMask": "0x01"
104  },
105  {
106    "EventName": "fp_ret_sse_avx_ops.all",
107    "EventCode": "0x03",
108    "BriefDescription": "All FLOPS.",
109    "PublicDescription": "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.",
110    "UMask": "0xff"
111  },
112  {
113    "EventName": "fp_ret_sse_avx_ops.dp_mult_add_flops",
114    "EventCode": "0x03",
115    "BriefDescription": "Double precision multiply-add FLOPS. Multiply-add counts as 2 FLOPS.",
116    "PublicDescription": "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. Double precision multiply-add FLOPS. Multiply-add counts as 2 FLOPS.",
117    "UMask": "0x80"
118  },
119  {
120    "EventName": "fp_ret_sse_avx_ops.dp_div_flops",
121    "EventCode": "0x03",
122    "BriefDescription": "Double precision divide/square root FLOPS.",
123    "PublicDescription": "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. Double precision divide/square root FLOPS.",
124    "UMask": "0x40"
125  },
126  {
127    "EventName": "fp_ret_sse_avx_ops.dp_mult_flops",
128    "EventCode": "0x03",
129    "BriefDescription": "Double precision multiply FLOPS.",
130    "PublicDescription": "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. Double precision multiply FLOPS.",
131    "UMask": "0x20"
132  },
133  {
134    "EventName": "fp_ret_sse_avx_ops.dp_add_sub_flops",
135    "EventCode": "0x03",
136    "BriefDescription": "Double precision add/subtract FLOPS.",
137    "PublicDescription": "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. Double precision add/subtract FLOPS.",
138    "UMask": "0x10"
139  },
140  {
141    "EventName": "fp_ret_sse_avx_ops.sp_mult_add_flops",
142    "EventCode": "0x03",
143    "BriefDescription": "Single precision multiply-add FLOPS. Multiply-add counts as 2 FLOPS.",
144    "PublicDescription": "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. Single precision multiply-add FLOPS. Multiply-add counts as 2 FLOPS.",
145    "UMask": "0x08"
146  },
147  {
148    "EventName": "fp_ret_sse_avx_ops.sp_div_flops",
149    "EventCode": "0x03",
150    "BriefDescription": "Single-precision divide/square root FLOPS.",
151    "PublicDescription": "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. Single-precision divide/square root FLOPS.",
152    "UMask": "0x04"
153  },
154  {
155    "EventName": "fp_ret_sse_avx_ops.sp_mult_flops",
156    "EventCode": "0x03",
157    "BriefDescription": "Single-precision multiply FLOPS.",
158    "PublicDescription": "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. Single-precision multiply FLOPS.",
159    "UMask": "0x02"
160  },
161  {
162    "EventName": "fp_ret_sse_avx_ops.sp_add_sub_flops",
163    "EventCode": "0x03",
164    "BriefDescription": "Single-precision add/subtract FLOPS.",
165    "PublicDescription": "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. Single-precision add/subtract FLOPS.",
166    "UMask": "0x01"
167  },
168  {
169    "EventName": "fp_num_mov_elim_scal_op.optimized",
170    "EventCode": "0x04",
171    "BriefDescription": "Number of Scalar Ops optimized.",
172    "PublicDescription": "This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number of Scalar Ops optimized.",
173    "UMask": "0x08"
174  },
175  {
176    "EventName": "fp_num_mov_elim_scal_op.opt_potential",
177    "EventCode": "0x04",
178    "BriefDescription": "Number of Ops that are candidates for optimization (have Z-bit either set or pass).",
179    "PublicDescription": "This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number of Ops that are candidates for optimization (have Z-bit either set or pass).",
180    "UMask": "0x04"
181  },
182  {
183    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops_elim",
184    "EventCode": "0x04",
185    "BriefDescription": "Number of SSE Move Ops eliminated.",
186    "PublicDescription": "This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number of SSE Move Ops eliminated.",
187    "UMask": "0x02"
188  },
189  {
190    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops",
191    "EventCode": "0x04",
192    "BriefDescription": "Number of SSE Move Ops.",
193    "PublicDescription": "This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number of SSE Move Ops.",
194    "UMask": "0x01"
195  },
196  {
197    "EventName": "fp_retired_ser_ops.x87_ctrl_ret",
198    "EventCode": "0x05",
199    "BriefDescription": "x87 control word mispredict traps due to mispredictions in RC or PC, or changes in mask bits.",
200    "PublicDescription": "The number of serializing Ops retired. x87 control word mispredict traps due to mispredictions in RC or PC, or changes in mask bits.",
201    "UMask": "0x08"
202  },
203  {
204    "EventName": "fp_retired_ser_ops.x87_bot_ret",
205    "EventCode": "0x05",
206    "BriefDescription": "x87 bottom-executing uOps retired.",
207    "PublicDescription": "The number of serializing Ops retired. x87 bottom-executing uOps retired.",
208    "UMask": "0x04"
209  },
210  {
211    "EventName": "fp_retired_ser_ops.sse_ctrl_ret",
212    "EventCode": "0x05",
213    "BriefDescription": "SSE control word mispredict traps due to mispredictions in RC, FTZ or DAZ, or changes in mask bits.",
214    "PublicDescription": "The number of serializing Ops retired. SSE control word mispredict traps due to mispredictions in RC, FTZ or DAZ, or changes in mask bits.",
215    "UMask": "0x02"
216  },
217  {
218    "EventName": "fp_retired_ser_ops.sse_bot_ret",
219    "EventCode": "0x05",
220    "BriefDescription": "SSE bottom-executing uOps retired.",
221    "PublicDescription": "The number of serializing Ops retired. SSE bottom-executing uOps retired.",
222    "UMask": "0x01"
223  }
224]
225