xref: /linux/tools/perf/pmu-events/arch/x86/broadwell/floating-point.json (revision 08b7174fb8d126e607e385e34b9e1da4f3be274f)
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        "EventCode": "0xc7",
5        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
6        "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.",
7        "SampleAfterValue": "2000003",
8        "UMask": "0x4"
9    },
10    {
11        "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.",
12        "EventCode": "0xc7",
13        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
14        "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.",
15        "SampleAfterValue": "2000003",
16        "UMask": "0x8"
17    },
18    {
19        "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.",
20        "EventCode": "0xc7",
21        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
22        "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.",
23        "SampleAfterValue": "2000003",
24        "UMask": "0x10"
25    },
26    {
27        "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.",
28        "EventCode": "0xc7",
29        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
30        "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.",
31        "SampleAfterValue": "2000003",
32        "UMask": "0x20"
33    },
34    {
35        "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.",
36        "EventCode": "0xc7",
37        "EventName": "FP_ARITH_INST_RETIRED.4_FLOPS",
38        "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.",
39        "SampleAfterValue": "2000003",
40        "UMask": "0x18"
41    },
42    {
43        "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.",
44        "EventCode": "0xc7",
45        "EventName": "FP_ARITH_INST_RETIRED.DOUBLE",
46        "SampleAfterValue": "2000006",
47        "UMask": "0x15"
48    },
49    {
50        "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.",
51        "EventCode": "0xc7",
52        "EventName": "FP_ARITH_INST_RETIRED.PACKED",
53        "SampleAfterValue": "2000004",
54        "UMask": "0x3c"
55    },
56    {
57        "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.",
58        "EventCode": "0xc7",
59        "EventName": "FP_ARITH_INST_RETIRED.SCALAR",
60        "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.",
61        "SampleAfterValue": "2000003",
62        "UMask": "0x3"
63    },
64    {
65        "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.",
66        "EventCode": "0xc7",
67        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
68        "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.",
69        "SampleAfterValue": "2000003",
70        "UMask": "0x1"
71    },
72    {
73        "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.",
74        "EventCode": "0xc7",
75        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
76        "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.",
77        "SampleAfterValue": "2000003",
78        "UMask": "0x2"
79    },
80    {
81        "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.",
82        "EventCode": "0xc7",
83        "EventName": "FP_ARITH_INST_RETIRED.SINGLE",
84        "SampleAfterValue": "2000005",
85        "UMask": "0x2a"
86    },
87    {
88        "BriefDescription": "Number of any Vector retired FP arithmetic instructions",
89        "EventCode": "0xc7",
90        "EventName": "FP_ARITH_INST_RETIRED.VECTOR",
91        "SampleAfterValue": "2000003",
92        "UMask": "0xfc"
93    },
94    {
95        "BriefDescription": "Cycles with any input/output SSE or FP assist",
96        "CounterMask": "1",
97        "EventCode": "0xCA",
98        "EventName": "FP_ASSIST.ANY",
99        "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.",
100        "SampleAfterValue": "100003",
101        "UMask": "0x1e"
102    },
103    {
104        "BriefDescription": "Number of SIMD FP assists due to input values",
105        "EventCode": "0xCA",
106        "EventName": "FP_ASSIST.SIMD_INPUT",
107        "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.",
108        "SampleAfterValue": "100003",
109        "UMask": "0x10"
110    },
111    {
112        "BriefDescription": "Number of SIMD FP assists due to Output values",
113        "EventCode": "0xCA",
114        "EventName": "FP_ASSIST.SIMD_OUTPUT",
115        "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.",
116        "SampleAfterValue": "100003",
117        "UMask": "0x8"
118    },
119    {
120        "BriefDescription": "Number of X87 assists due to input value.",
121        "EventCode": "0xCA",
122        "EventName": "FP_ASSIST.X87_INPUT",
123        "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.",
124        "SampleAfterValue": "100003",
125        "UMask": "0x4"
126    },
127    {
128        "BriefDescription": "Number of X87 assists due to output value.",
129        "EventCode": "0xCA",
130        "EventName": "FP_ASSIST.X87_OUTPUT",
131        "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.",
132        "SampleAfterValue": "100003",
133        "UMask": "0x2"
134    },
135    {
136        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
137        "EventCode": "0x58",
138        "EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
139        "SampleAfterValue": "1000003",
140        "UMask": "0x2"
141    },
142    {
143        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
144        "EventCode": "0x58",
145        "EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
146        "SampleAfterValue": "1000003",
147        "UMask": "0x8"
148    },
149    {
150        "BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
151        "Errata": "BDM30",
152        "EventCode": "0xC1",
153        "EventName": "OTHER_ASSISTS.AVX_TO_SSE",
154        "PublicDescription": "This event counts the number of transitions from AVX-256 to legacy SSE when penalty is applicable.",
155        "SampleAfterValue": "100003",
156        "UMask": "0x8"
157    },
158    {
159        "BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
160        "Errata": "BDM30",
161        "EventCode": "0xC1",
162        "EventName": "OTHER_ASSISTS.SSE_TO_AVX",
163        "PublicDescription": "This event counts the number of transitions from legacy SSE to AVX-256 when penalty is applicable.",
164        "SampleAfterValue": "100003",
165        "UMask": "0x10"
166    },
167    {
168        "BriefDescription": "Micro-op dispatches cancelled due to insufficient SIMD physical register file read ports",
169        "EventCode": "0xA0",
170        "EventName": "UOP_DISPATCHES_CANCELLED.SIMD_PRF",
171        "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.",
172        "SampleAfterValue": "2000003",
173        "UMask": "0x3"
174    }
175]
176