xref: /linux/tools/perf/pmu-events/arch/x86/broadwellx/floating-point.json (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1[
2    {
3        "BriefDescription": "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 2 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
4        "Counter": "0,1,2,3",
5        "EventCode": "0xc7",
6        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
7        "PublicDescription": "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 2 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
8        "SampleAfterValue": "2000003",
9        "UMask": "0x4"
10    },
11    {
12        "BriefDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 4 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 4 calculations per element.",
13        "Counter": "0,1,2,3",
14        "EventCode": "0xc7",
15        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
16        "PublicDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 4 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
17        "SampleAfterValue": "2000003",
18        "UMask": "0x8"
19    },
20    {
21        "BriefDescription": "Number of SSE/AVX computational 256-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 4 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 4 calculations per element.",
22        "Counter": "0,1,2,3",
23        "EventCode": "0xc7",
24        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
25        "PublicDescription": "Number of SSE/AVX computational 256-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 4 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
26        "SampleAfterValue": "2000003",
27        "UMask": "0x10"
28    },
29    {
30        "BriefDescription": "Number of SSE/AVX computational 256-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 8 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 8 calculations per element.",
31        "Counter": "0,1,2,3",
32        "EventCode": "0xc7",
33        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
34        "PublicDescription": "Number of SSE/AVX computational 256-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 8 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
35        "SampleAfterValue": "2000003",
36        "UMask": "0x20"
37    },
38    {
39        "BriefDescription": "Number of SSE/AVX computational 128-bit packed single and 256-bit packed double precision FP instructions retired; some instructions will count twice as noted below.  Each count represents 2 or/and 4 computation operations, 1 for each element.  Applies to SSE* and AVX* packed single precision and packed double precision FP instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB count twice as they perform 2 calculations per element.",
40        "Counter": "0,1,2,3",
41        "EventCode": "0xc7",
42        "EventName": "FP_ARITH_INST_RETIRED.4_FLOPS",
43        "PublicDescription": "Number of SSE/AVX computational 128-bit packed single precision and 256-bit packed double precision  floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 2 or/and 4 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point and packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
44        "SampleAfterValue": "2000003",
45        "UMask": "0x18"
46    },
47    {
48        "BriefDescription": "Number of SSE/AVX computational double precision floating-point instructions retired; some instructions will count twice as noted below. Applies to SSE* and AVX* scalar and packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
49        "Counter": "0,1,2,3",
50        "EventCode": "0xc7",
51        "EventName": "FP_ARITH_INST_RETIRED.DOUBLE",
52        "SampleAfterValue": "2000006",
53        "UMask": "0x15"
54    },
55    {
56        "BriefDescription": "Number of SSE/AVX computational packed floating-point instructions retired; some instructions will count twice as noted below. Applies to SSE* and AVX* packed double and single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
57        "Counter": "0,1,2,3",
58        "EventCode": "0xc7",
59        "EventName": "FP_ARITH_INST_RETIRED.PACKED",
60        "SampleAfterValue": "2000004",
61        "UMask": "0x3c"
62    },
63    {
64        "BriefDescription": "Number of SSE/AVX computational scalar floating-point instructions retired; some instructions will count twice as noted below. Each count represents 1 computation operation.   Applies to SSE* and AVX* scalar double and single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT RCP FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
65        "Counter": "0,1,2,3",
66        "EventCode": "0xc7",
67        "EventName": "FP_ARITH_INST_RETIRED.SCALAR",
68        "PublicDescription": "Number of SSE/AVX computational scalar single precision and double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT RCP FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
69        "SampleAfterValue": "2000003",
70        "UMask": "0x3"
71    },
72    {
73        "BriefDescription": "Number of SSE/AVX computational scalar double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
74        "Counter": "0,1,2,3",
75        "EventCode": "0xc7",
76        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
77        "PublicDescription": "Number of SSE/AVX computational scalar double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
78        "SampleAfterValue": "2000003",
79        "UMask": "0x1"
80    },
81    {
82        "BriefDescription": "Number of SSE/AVX computational scalar single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT RCP FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
83        "Counter": "0,1,2,3",
84        "EventCode": "0xc7",
85        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
86        "PublicDescription": "Number of SSE/AVX computational scalar single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT RCP FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
87        "SampleAfterValue": "2000003",
88        "UMask": "0x2"
89    },
90    {
91        "BriefDescription": "Number of SSE/AVX computational single precision floating-point instructions retired; some instructions will count twice as noted below. Applies to SSE* and AVX* scalar and packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
92        "Counter": "0,1,2,3",
93        "EventCode": "0xc7",
94        "EventName": "FP_ARITH_INST_RETIRED.SINGLE",
95        "SampleAfterValue": "2000005",
96        "UMask": "0x2a"
97    },
98    {
99        "BriefDescription": "Number of any Vector retired FP arithmetic instructions",
100        "Counter": "0,1,2,3",
101        "EventCode": "0xc7",
102        "EventName": "FP_ARITH_INST_RETIRED.VECTOR",
103        "SampleAfterValue": "2000003",
104        "UMask": "0xfc"
105    },
106    {
107        "BriefDescription": "Cycles with any input/output SSE or FP assist",
108        "Counter": "0,1,2,3",
109        "CounterMask": "1",
110        "EventCode": "0xCA",
111        "EventName": "FP_ASSIST.ANY",
112        "PublicDescription": "This event counts cycles with any input and output SSE or x87 FP assist. If an input and output assist are detected on the same cycle the event increments by 1.",
113        "SampleAfterValue": "100003",
114        "UMask": "0x1e"
115    },
116    {
117        "BriefDescription": "Number of SIMD FP assists due to input values",
118        "Counter": "0,1,2,3",
119        "EventCode": "0xCA",
120        "EventName": "FP_ASSIST.SIMD_INPUT",
121        "PublicDescription": "This event counts any input SSE* FP assist - invalid operation, denormal operand, dividing by zero, SNaN operand. Counting includes only cases involving penalties that required micro-code assist intervention.",
122        "SampleAfterValue": "100003",
123        "UMask": "0x10"
124    },
125    {
126        "BriefDescription": "Number of SIMD FP assists due to Output values",
127        "Counter": "0,1,2,3",
128        "EventCode": "0xCA",
129        "EventName": "FP_ASSIST.SIMD_OUTPUT",
130        "PublicDescription": "This event counts the number of SSE* floating point (FP) micro-code assist (numeric overflow/underflow) when the output value (destination register) is invalid. Counting covers only cases involving penalties that require micro-code assist intervention.",
131        "SampleAfterValue": "100003",
132        "UMask": "0x8"
133    },
134    {
135        "BriefDescription": "Number of X87 assists due to input value.",
136        "Counter": "0,1,2,3",
137        "EventCode": "0xCA",
138        "EventName": "FP_ASSIST.X87_INPUT",
139        "PublicDescription": "This event counts x87 floating point (FP) micro-code assist (invalid operation, denormal operand, SNaN operand) when the input value (one of the source operands to an FP instruction) is invalid.",
140        "SampleAfterValue": "100003",
141        "UMask": "0x4"
142    },
143    {
144        "BriefDescription": "Number of X87 assists due to output value.",
145        "Counter": "0,1,2,3",
146        "EventCode": "0xCA",
147        "EventName": "FP_ASSIST.X87_OUTPUT",
148        "PublicDescription": "This event counts the number of x87 floating point (FP) micro-code assist (numeric overflow/underflow, inexact result) when the output value (destination register) is invalid.",
149        "SampleAfterValue": "100003",
150        "UMask": "0x2"
151    },
152    {
153        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
154        "Counter": "0,1,2,3",
155        "EventCode": "0x58",
156        "EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
157        "SampleAfterValue": "1000003",
158        "UMask": "0x2"
159    },
160    {
161        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
162        "Counter": "0,1,2,3",
163        "EventCode": "0x58",
164        "EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
165        "SampleAfterValue": "1000003",
166        "UMask": "0x8"
167    },
168    {
169        "BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
170        "Counter": "0,1,2,3",
171        "Errata": "BDM30",
172        "EventCode": "0xC1",
173        "EventName": "OTHER_ASSISTS.AVX_TO_SSE",
174        "PublicDescription": "This event counts the number of transitions from AVX-256 to legacy SSE when penalty is applicable.",
175        "SampleAfterValue": "100003",
176        "UMask": "0x8"
177    },
178    {
179        "BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
180        "Counter": "0,1,2,3",
181        "Errata": "BDM30",
182        "EventCode": "0xC1",
183        "EventName": "OTHER_ASSISTS.SSE_TO_AVX",
184        "PublicDescription": "This event counts the number of transitions from legacy SSE to AVX-256 when penalty is applicable.",
185        "SampleAfterValue": "100003",
186        "UMask": "0x10"
187    },
188    {
189        "BriefDescription": "Micro-op dispatches cancelled due to insufficient SIMD physical register file read ports",
190        "Counter": "0,1,2,3",
191        "EventCode": "0xA0",
192        "EventName": "UOP_DISPATCHES_CANCELLED.SIMD_PRF",
193        "PublicDescription": "This event counts the number of micro-operations cancelled after they were dispatched from the scheduler to the execution units when the total number of physical register read ports across all dispatch ports exceeds the read bandwidth of the physical register file.  The SIMD_PRF subevent applies to the following instructions: VDPPS, DPPS, VPCMPESTRI, PCMPESTRI, VPCMPESTRM, PCMPESTRM, VFMADD*, VFMADDSUB*, VFMSUB*, VMSUBADD*, VFNMADD*, VFNMSUB*.  See the Broadwell Optimization Guide for more information.",
194        "SampleAfterValue": "2000003",
195        "UMask": "0x3"
196    }
197]
198