xref: /freebsd/lib/libpmc/pmu-events/arch/x86/broadwellx/floating-point.json (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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        "CounterHTOff": "0,1,2,3",
6        "EventCode": "0xc7",
7        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
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        "CounterHTOff": "0,1,2,3",
15        "EventCode": "0xc7",
16        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
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        "CounterHTOff": "0,1,2,3",
24        "EventCode": "0xc7",
25        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
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        "CounterHTOff": "0,1,2,3",
33        "EventCode": "0xc7",
34        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
35        "SampleAfterValue": "2000003",
36        "UMask": "0x20"
37    },
38    {
39        "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.",
40        "Counter": "0,1,2,3",
41        "CounterHTOff": "0,1,2,3",
42        "EventCode": "0xc7",
43        "EventName": "FP_ARITH_INST_RETIRED.DOUBLE",
44        "SampleAfterValue": "2000006",
45        "UMask": "0x15"
46    },
47    {
48        "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.",
49        "Counter": "0,1,2,3",
50        "CounterHTOff": "0,1,2,3",
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        "Counter": "0,1,2,3",
59        "CounterHTOff": "0,1,2,3",
60        "EventCode": "0xc7",
61        "EventName": "FP_ARITH_INST_RETIRED.SCALAR",
62        "SampleAfterValue": "2000003",
63        "UMask": "0x3"
64    },
65    {
66        "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.",
67        "Counter": "0,1,2,3",
68        "CounterHTOff": "0,1,2,3",
69        "EventCode": "0xc7",
70        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
71        "SampleAfterValue": "2000003",
72        "UMask": "0x1"
73    },
74    {
75        "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.",
76        "Counter": "0,1,2,3",
77        "CounterHTOff": "0,1,2,3",
78        "EventCode": "0xc7",
79        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
80        "SampleAfterValue": "2000003",
81        "UMask": "0x2"
82    },
83    {
84        "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.",
85        "Counter": "0,1,2,3",
86        "CounterHTOff": "0,1,2,3",
87        "EventCode": "0xc7",
88        "EventName": "FP_ARITH_INST_RETIRED.SINGLE",
89        "SampleAfterValue": "2000005",
90        "UMask": "0x2a"
91    },
92    {
93        "BriefDescription": "Cycles with any input/output SSE or FP assist",
94        "Counter": "0,1,2,3",
95        "CounterHTOff": "0,1,2,3",
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        "Counter": "0,1,2,3",
106        "CounterHTOff": "0,1,2,3,4,5,6,7",
107        "EventCode": "0xCA",
108        "EventName": "FP_ASSIST.SIMD_INPUT",
109        "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.",
110        "SampleAfterValue": "100003",
111        "UMask": "0x10"
112    },
113    {
114        "BriefDescription": "Number of SIMD FP assists due to Output values",
115        "Counter": "0,1,2,3",
116        "CounterHTOff": "0,1,2,3,4,5,6,7",
117        "EventCode": "0xCA",
118        "EventName": "FP_ASSIST.SIMD_OUTPUT",
119        "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.",
120        "SampleAfterValue": "100003",
121        "UMask": "0x8"
122    },
123    {
124        "BriefDescription": "Number of X87 assists due to input value.",
125        "Counter": "0,1,2,3",
126        "CounterHTOff": "0,1,2,3,4,5,6,7",
127        "EventCode": "0xCA",
128        "EventName": "FP_ASSIST.X87_INPUT",
129        "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.",
130        "SampleAfterValue": "100003",
131        "UMask": "0x4"
132    },
133    {
134        "BriefDescription": "Number of X87 assists due to output value.",
135        "Counter": "0,1,2,3",
136        "CounterHTOff": "0,1,2,3,4,5,6,7",
137        "EventCode": "0xCA",
138        "EventName": "FP_ASSIST.X87_OUTPUT",
139        "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.",
140        "SampleAfterValue": "100003",
141        "UMask": "0x2"
142    },
143    {
144        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
145        "Counter": "0,1,2,3",
146        "CounterHTOff": "0,1,2,3,4,5,6,7",
147        "EventCode": "0x58",
148        "EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
149        "SampleAfterValue": "1000003",
150        "UMask": "0x2"
151    },
152    {
153        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
154        "Counter": "0,1,2,3",
155        "CounterHTOff": "0,1,2,3,4,5,6,7",
156        "EventCode": "0x58",
157        "EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
158        "SampleAfterValue": "1000003",
159        "UMask": "0x8"
160    },
161    {
162        "BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
163        "Counter": "0,1,2,3",
164        "CounterHTOff": "0,1,2,3,4,5,6,7",
165        "Errata": "BDM30",
166        "EventCode": "0xC1",
167        "EventName": "OTHER_ASSISTS.AVX_TO_SSE",
168        "PublicDescription": "This event counts the number of transitions from AVX-256 to legacy SSE when penalty is applicable.",
169        "SampleAfterValue": "100003",
170        "UMask": "0x8"
171    },
172    {
173        "BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
174        "Counter": "0,1,2,3",
175        "CounterHTOff": "0,1,2,3,4,5,6,7",
176        "Errata": "BDM30",
177        "EventCode": "0xC1",
178        "EventName": "OTHER_ASSISTS.SSE_TO_AVX",
179        "PublicDescription": "This event counts the number of transitions from legacy SSE to AVX-256 when penalty is applicable.",
180        "SampleAfterValue": "100003",
181        "UMask": "0x10"
182    },
183    {
184        "BriefDescription": "Micro-op dispatches cancelled due to insufficient SIMD physical register file read ports",
185        "Counter": "0,1,2,3",
186        "CounterHTOff": "0,1,2,3",
187        "EventCode": "0xA0",
188        "EventName": "UOP_DISPATCHES_CANCELLED.SIMD_PRF",
189        "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.",
190        "SampleAfterValue": "2000003",
191        "UMask": "0x3"
192    }
193]