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