xref: /linux/tools/perf/pmu-events/arch/x86/amdzen2/floating-point.json (revision e7d759f31ca295d589f7420719c311870bb3166f)
1[
2  {
3    "EventName": "fpu_pipe_assignment.total",
4    "EventCode": "0x00",
5    "BriefDescription": "Total number of fp uOps.",
6    "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.",
7    "UMask": "0x0f"
8  },
9  {
10    "EventName": "fpu_pipe_assignment.total3",
11    "EventCode": "0x00",
12    "BriefDescription": "Total number uOps assigned to pipe 3.",
13    "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.",
14    "UMask": "0x08"
15  },
16  {
17    "EventName": "fpu_pipe_assignment.total2",
18    "EventCode": "0x00",
19    "BriefDescription": "Total number uOps assigned to pipe 2.",
20    "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.",
21    "UMask": "0x04"
22  },
23  {
24    "EventName": "fpu_pipe_assignment.total1",
25    "EventCode": "0x00",
26    "BriefDescription": "Total number uOps assigned to pipe 1.",
27    "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.",
28    "UMask": "0x02"
29  },
30  {
31    "EventName": "fpu_pipe_assignment.total0",
32    "EventCode": "0x00",
33    "BriefDescription": "Total number of fp uOps  on pipe 0.",
34    "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.",
35    "UMask": "0x01"
36  },
37  {
38    "EventName": "fp_ret_sse_avx_ops.all",
39    "EventCode": "0x03",
40    "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.",
41    "UMask": "0xff"
42  },
43  {
44    "EventName": "fp_ret_sse_avx_ops.mac_flops",
45    "EventCode": "0x03",
46    "BriefDescription": "Multiply-add FLOPS. Multiply-add counts 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 can count above 15.",
47    "PublicDescription": "",
48    "UMask": "0x08"
49  },
50  {
51    "EventName": "fp_ret_sse_avx_ops.div_flops",
52    "EventCode": "0x03",
53    "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 can count above 15.",
54    "UMask": "0x04"
55  },
56  {
57    "EventName": "fp_ret_sse_avx_ops.mult_flops",
58    "EventCode": "0x03",
59    "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 can count above 15.",
60    "UMask": "0x02"
61  },
62  {
63    "EventName": "fp_ret_sse_avx_ops.add_sub_flops",
64    "EventCode": "0x03",
65    "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 can count above 15.",
66    "UMask": "0x01"
67  },
68  {
69    "EventName": "fp_num_mov_elim_scal_op.optimized",
70    "EventCode": "0x04",
71    "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.",
72    "UMask": "0x08"
73  },
74  {
75    "EventName": "fp_num_mov_elim_scal_op.opt_potential",
76    "EventCode": "0x04",
77    "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.",
78    "UMask": "0x04"
79  },
80  {
81    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops_elim",
82    "EventCode": "0x04",
83    "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.",
84    "UMask": "0x02"
85  },
86  {
87    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops",
88    "EventCode": "0x04",
89    "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.",
90    "UMask": "0x01"
91  },
92  {
93    "EventName": "fp_retired_ser_ops.sse_bot_ret",
94    "EventCode": "0x05",
95    "BriefDescription": "SSE bottom-executing uOps retired. The number of serializing Ops retired.",
96    "UMask": "0x08"
97  },
98  {
99    "EventName": "fp_retired_ser_ops.sse_ctrl_ret",
100    "EventCode": "0x05",
101    "BriefDescription": "The number of serializing Ops retired. SSE control word mispredict traps due to mispredictions in RC, FTZ or DAZ, or changes in mask bits.",
102    "UMask": "0x04"
103  },
104  {
105    "EventName": "fp_retired_ser_ops.x87_bot_ret",
106    "EventCode": "0x05",
107    "BriefDescription": "x87 bottom-executing uOps retired. The number of serializing Ops retired.",
108    "UMask": "0x02"
109  },
110  {
111    "EventName": "fp_retired_ser_ops.x87_ctrl_ret",
112    "EventCode": "0x05",
113    "BriefDescription": "x87 control word mispredict traps due to mispredictions in RC or PC, or changes in mask bits. The number of serializing Ops retired.",
114    "UMask": "0x01"
115  },
116  {
117    "EventName": "fp_disp_faults.ymm_spill_fault",
118    "EventCode": "0x0e",
119    "BriefDescription": "Floating Point Dispatch Faults. YMM spill fault.",
120    "UMask": "0x08"
121  },
122  {
123    "EventName": "fp_disp_faults.ymm_fill_fault",
124    "EventCode": "0x0e",
125    "BriefDescription": "Floating Point Dispatch Faults. YMM fill fault.",
126    "UMask": "0x04"
127  },
128  {
129    "EventName": "fp_disp_faults.xmm_fill_fault",
130    "EventCode": "0x0e",
131    "BriefDescription": "Floating Point Dispatch Faults. XMM fill fault.",
132    "UMask": "0x02"
133  },
134  {
135    "EventName": "fp_disp_faults.x87_fill_fault",
136    "EventCode": "0x0e",
137    "BriefDescription": "Floating Point Dispatch Faults. x87 fill fault.",
138    "UMask": "0x01"
139  }
140]
141