xref: /freebsd/lib/libpmc/pmu-events/arch/x86/sapphirerapids/floating-point.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1*18054d02SAlexander Motin[
2*18054d02SAlexander Motin    {
3*18054d02SAlexander Motin        "BriefDescription": "ARITH.FPDIV_ACTIVE",
4*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
5*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
6*18054d02SAlexander Motin        "CounterMask": "1",
7*18054d02SAlexander Motin        "EventCode": "0xb0",
8*18054d02SAlexander Motin        "EventName": "ARITH.FPDIV_ACTIVE",
9*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
10*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
11*18054d02SAlexander Motin        "UMask": "0x1"
12*18054d02SAlexander Motin    },
13*18054d02SAlexander Motin    {
14*18054d02SAlexander Motin        "BriefDescription": "Counts all microcode FP assists.",
15*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
16*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
17*18054d02SAlexander Motin        "EventCode": "0xc1",
18*18054d02SAlexander Motin        "EventName": "ASSISTS.FP",
19*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
20*18054d02SAlexander Motin        "PublicDescription": "Counts all microcode Floating Point assists.",
21*18054d02SAlexander Motin        "SampleAfterValue": "100003",
22*18054d02SAlexander Motin        "UMask": "0x2"
23*18054d02SAlexander Motin    },
24*18054d02SAlexander Motin    {
25*18054d02SAlexander Motin        "BriefDescription": "ASSISTS.SSE_AVX_MIX",
26*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
27*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
28*18054d02SAlexander Motin        "EventCode": "0xc1",
29*18054d02SAlexander Motin        "EventName": "ASSISTS.SSE_AVX_MIX",
30*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
31*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
32*18054d02SAlexander Motin        "UMask": "0x10"
33*18054d02SAlexander Motin    },
34*18054d02SAlexander Motin    {
35*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_DISPATCHED.PORT_0",
36*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
37*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
38*18054d02SAlexander Motin        "EventCode": "0xb3",
39*18054d02SAlexander Motin        "EventName": "FP_ARITH_DISPATCHED.PORT_0",
40*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
41*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
42*18054d02SAlexander Motin        "UMask": "0x1"
43*18054d02SAlexander Motin    },
44*18054d02SAlexander Motin    {
45*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_DISPATCHED.PORT_1",
46*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
47*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
48*18054d02SAlexander Motin        "EventCode": "0xb3",
49*18054d02SAlexander Motin        "EventName": "FP_ARITH_DISPATCHED.PORT_1",
50*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
51*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
52*18054d02SAlexander Motin        "UMask": "0x2"
53*18054d02SAlexander Motin    },
54*18054d02SAlexander Motin    {
55*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_DISPATCHED.PORT_5",
56*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
57*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
58*18054d02SAlexander Motin        "EventCode": "0xb3",
59*18054d02SAlexander Motin        "EventName": "FP_ARITH_DISPATCHED.PORT_5",
60*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
61*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
62*18054d02SAlexander Motin        "UMask": "0x4"
63*18054d02SAlexander Motin    },
64*18054d02SAlexander Motin    {
65*18054d02SAlexander Motin        "BriefDescription": "Counts 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.",
66*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
67*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
68*18054d02SAlexander Motin        "EventCode": "0xc7",
69*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
70*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
71*18054d02SAlexander Motin        "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.",
72*18054d02SAlexander Motin        "SampleAfterValue": "100003",
73*18054d02SAlexander Motin        "UMask": "0x4"
74*18054d02SAlexander Motin    },
75*18054d02SAlexander Motin    {
76*18054d02SAlexander Motin        "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 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.",
77*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
78*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
79*18054d02SAlexander Motin        "EventCode": "0xc7",
80*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
81*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
82*18054d02SAlexander Motin        "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.",
83*18054d02SAlexander Motin        "SampleAfterValue": "100003",
84*18054d02SAlexander Motin        "UMask": "0x8"
85*18054d02SAlexander Motin    },
86*18054d02SAlexander Motin    {
87*18054d02SAlexander Motin        "BriefDescription": "Counts 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.",
88*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
89*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
90*18054d02SAlexander Motin        "EventCode": "0xc7",
91*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
92*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
93*18054d02SAlexander Motin        "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.",
94*18054d02SAlexander Motin        "SampleAfterValue": "100003",
95*18054d02SAlexander Motin        "UMask": "0x10"
96*18054d02SAlexander Motin    },
97*18054d02SAlexander Motin    {
98*18054d02SAlexander Motin        "BriefDescription": "Counts 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.",
99*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
100*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
101*18054d02SAlexander Motin        "EventCode": "0xc7",
102*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
103*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
104*18054d02SAlexander Motin        "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.",
105*18054d02SAlexander Motin        "SampleAfterValue": "100003",
106*18054d02SAlexander Motin        "UMask": "0x20"
107*18054d02SAlexander Motin    },
108*18054d02SAlexander Motin    {
109*18054d02SAlexander Motin        "BriefDescription": "Counts number of SSE/AVX computational 512-bit packed double 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 double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT14 RCP14 FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
110*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
111*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
112*18054d02SAlexander Motin        "EventCode": "0xc7",
113*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE",
114*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
115*18054d02SAlexander Motin        "PublicDescription": "Number of SSE/AVX computational 512-bit packed double 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 double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT14 RCP14 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.",
116*18054d02SAlexander Motin        "SampleAfterValue": "100003",
117*18054d02SAlexander Motin        "UMask": "0x40"
118*18054d02SAlexander Motin    },
119*18054d02SAlexander Motin    {
120*18054d02SAlexander Motin        "BriefDescription": "Counts number of SSE/AVX computational 512-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 16 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT14 RCP14 FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
121*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
122*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
123*18054d02SAlexander Motin        "EventCode": "0xc7",
124*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE",
125*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
126*18054d02SAlexander Motin        "PublicDescription": "Number of SSE/AVX computational 512-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 16 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT14 RCP14 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.",
127*18054d02SAlexander Motin        "SampleAfterValue": "100003",
128*18054d02SAlexander Motin        "UMask": "0x80"
129*18054d02SAlexander Motin    },
130*18054d02SAlexander Motin    {
131*18054d02SAlexander Motin        "BriefDescription": "Counts 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.",
132*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
133*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
134*18054d02SAlexander Motin        "EventCode": "0xc7",
135*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
136*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
137*18054d02SAlexander Motin        "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.",
138*18054d02SAlexander Motin        "SampleAfterValue": "100003",
139*18054d02SAlexander Motin        "UMask": "0x1"
140*18054d02SAlexander Motin    },
141*18054d02SAlexander Motin    {
142*18054d02SAlexander Motin        "BriefDescription": "Counts 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.",
143*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
144*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
145*18054d02SAlexander Motin        "EventCode": "0xc7",
146*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
147*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
148*18054d02SAlexander Motin        "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.",
149*18054d02SAlexander Motin        "SampleAfterValue": "100003",
150*18054d02SAlexander Motin        "UMask": "0x2"
151*18054d02SAlexander Motin    },
152*18054d02SAlexander Motin    {
153*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_INST_RETIRED2.128B_PACKED_HALF",
154*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
155*18054d02SAlexander Motin        "EventCode": "0xcf",
156*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.128B_PACKED_HALF",
157*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
158*18054d02SAlexander Motin        "SampleAfterValue": "100003",
159*18054d02SAlexander Motin        "UMask": "0x4"
160*18054d02SAlexander Motin    },
161*18054d02SAlexander Motin    {
162*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_INST_RETIRED2.256B_PACKED_HALF",
163*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
164*18054d02SAlexander Motin        "EventCode": "0xcf",
165*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.256B_PACKED_HALF",
166*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
167*18054d02SAlexander Motin        "SampleAfterValue": "100003",
168*18054d02SAlexander Motin        "UMask": "0x8"
169*18054d02SAlexander Motin    },
170*18054d02SAlexander Motin    {
171*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_INST_RETIRED2.512B_PACKED_HALF",
172*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
173*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
174*18054d02SAlexander Motin        "EventCode": "0xcf",
175*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.512B_PACKED_HALF",
176*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
177*18054d02SAlexander Motin        "SampleAfterValue": "100003",
178*18054d02SAlexander Motin        "UMask": "0x10"
179*18054d02SAlexander Motin    },
180*18054d02SAlexander Motin    {
181*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF",
182*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
183*18054d02SAlexander Motin        "EventCode": "0xcf",
184*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF",
185*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
186*18054d02SAlexander Motin        "SampleAfterValue": "100003",
187*18054d02SAlexander Motin        "UMask": "0x2"
188*18054d02SAlexander Motin    },
189*18054d02SAlexander Motin    {
190*18054d02SAlexander Motin        "BriefDescription": "Number of all Scalar Half-Precision FP arithmetic instructions(1) retired - regular and complex.",
191*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
192*18054d02SAlexander Motin        "EventCode": "0xcf",
193*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.SCALAR",
194*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
195*18054d02SAlexander Motin        "PublicDescription": "FP_ARITH_INST_RETIRED2.SCALAR",
196*18054d02SAlexander Motin        "SampleAfterValue": "100003",
197*18054d02SAlexander Motin        "UMask": "0x3"
198*18054d02SAlexander Motin    },
199*18054d02SAlexander Motin    {
200*18054d02SAlexander Motin        "BriefDescription": "FP_ARITH_INST_RETIRED2.SCALAR_HALF",
201*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
202*18054d02SAlexander Motin        "EventCode": "0xcf",
203*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.SCALAR_HALF",
204*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
205*18054d02SAlexander Motin        "SampleAfterValue": "100003",
206*18054d02SAlexander Motin        "UMask": "0x1"
207*18054d02SAlexander Motin    },
208*18054d02SAlexander Motin    {
209*18054d02SAlexander Motin        "BriefDescription": "Number of all Vector (also called packed) Half-Precision FP arithmetic instructions(1) retired.",
210*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
211*18054d02SAlexander Motin        "EventCode": "0xcf",
212*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.VECTOR",
213*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
214*18054d02SAlexander Motin        "PublicDescription": "FP_ARITH_INST_RETIRED2.VECTOR",
215*18054d02SAlexander Motin        "SampleAfterValue": "100003",
216*18054d02SAlexander Motin        "UMask": "0x1c"
217*18054d02SAlexander Motin    }
218*18054d02SAlexander Motin]
219