xref: /freebsd/lib/libpmc/pmu-events/arch/x86/alderlake/floating-point.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1*18054d02SAlexander Motin[
2*18054d02SAlexander Motin    {
3*18054d02SAlexander Motin        "BriefDescription": "Counts the number of floating point operations retired that required microcode assist.",
4*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
5*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5",
6*18054d02SAlexander Motin        "EventCode": "0xc3",
7*18054d02SAlexander Motin        "EventName": "MACHINE_CLEARS.FP_ASSIST",
8*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5",
9*18054d02SAlexander Motin        "SampleAfterValue": "20003",
10*18054d02SAlexander Motin        "UMask": "0x4",
11*18054d02SAlexander Motin        "Unit": "cpu_atom"
12*18054d02SAlexander Motin    },
13*18054d02SAlexander Motin    {
14*18054d02SAlexander Motin        "BriefDescription": "Counts the number of floating point divide uops retired (x87 and SSE, including x87 sqrt).",
15*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
16*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5",
17*18054d02SAlexander Motin        "EventCode": "0xc2",
18*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.FPDIV",
19*18054d02SAlexander Motin        "PEBS": "1",
20*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5",
21*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
22*18054d02SAlexander Motin        "UMask": "0x8",
23*18054d02SAlexander Motin        "Unit": "cpu_atom"
24*18054d02SAlexander Motin    },
25*18054d02SAlexander Motin    {
26*18054d02SAlexander Motin        "BriefDescription": "TBD",
27*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
28*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
29*18054d02SAlexander Motin        "CounterMask": "1",
30*18054d02SAlexander Motin        "EventCode": "0xb0",
31*18054d02SAlexander Motin        "EventName": "ARITH.FPDIV_ACTIVE",
32*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
33*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
34*18054d02SAlexander Motin        "UMask": "0x1",
35*18054d02SAlexander Motin        "Unit": "cpu_core"
36*18054d02SAlexander Motin    },
37*18054d02SAlexander Motin    {
38*18054d02SAlexander Motin        "BriefDescription": "Counts all microcode FP assists.",
39*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
40*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
41*18054d02SAlexander Motin        "EventCode": "0xc1",
42*18054d02SAlexander Motin        "EventName": "ASSISTS.FP",
43*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
44*18054d02SAlexander Motin        "SampleAfterValue": "100003",
45*18054d02SAlexander Motin        "UMask": "0x2",
46*18054d02SAlexander Motin        "Unit": "cpu_core"
47*18054d02SAlexander Motin    },
48*18054d02SAlexander Motin    {
49*18054d02SAlexander Motin        "BriefDescription": "TBD",
50*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
51*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
52*18054d02SAlexander Motin        "EventCode": "0xc1",
53*18054d02SAlexander Motin        "EventName": "ASSISTS.SSE_AVX_MIX",
54*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
55*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
56*18054d02SAlexander Motin        "UMask": "0x10",
57*18054d02SAlexander Motin        "Unit": "cpu_core"
58*18054d02SAlexander Motin    },
59*18054d02SAlexander Motin    {
60*18054d02SAlexander Motin        "BriefDescription": "TBD",
61*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
62*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
63*18054d02SAlexander Motin        "EventCode": "0xb3",
64*18054d02SAlexander Motin        "EventName": "FP_ARITH_DISPATCHED.PORT_0",
65*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
66*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
67*18054d02SAlexander Motin        "UMask": "0x1",
68*18054d02SAlexander Motin        "Unit": "cpu_core"
69*18054d02SAlexander Motin    },
70*18054d02SAlexander Motin    {
71*18054d02SAlexander Motin        "BriefDescription": "TBD",
72*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
73*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
74*18054d02SAlexander Motin        "EventCode": "0xb3",
75*18054d02SAlexander Motin        "EventName": "FP_ARITH_DISPATCHED.PORT_1",
76*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
77*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
78*18054d02SAlexander Motin        "UMask": "0x2",
79*18054d02SAlexander Motin        "Unit": "cpu_core"
80*18054d02SAlexander Motin    },
81*18054d02SAlexander Motin    {
82*18054d02SAlexander Motin        "BriefDescription": "TBD",
83*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
84*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
85*18054d02SAlexander Motin        "EventCode": "0xb3",
86*18054d02SAlexander Motin        "EventName": "FP_ARITH_DISPATCHED.PORT_5",
87*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
88*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
89*18054d02SAlexander Motin        "UMask": "0x4",
90*18054d02SAlexander Motin        "Unit": "cpu_core"
91*18054d02SAlexander Motin    },
92*18054d02SAlexander Motin    {
93*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.",
94*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
95*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
96*18054d02SAlexander Motin        "EventCode": "0xc7",
97*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
98*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
99*18054d02SAlexander Motin        "SampleAfterValue": "100003",
100*18054d02SAlexander Motin        "UMask": "0x4",
101*18054d02SAlexander Motin        "Unit": "cpu_core"
102*18054d02SAlexander Motin    },
103*18054d02SAlexander Motin    {
104*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.",
105*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
106*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
107*18054d02SAlexander Motin        "EventCode": "0xc7",
108*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
109*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
110*18054d02SAlexander Motin        "SampleAfterValue": "100003",
111*18054d02SAlexander Motin        "UMask": "0x8",
112*18054d02SAlexander Motin        "Unit": "cpu_core"
113*18054d02SAlexander Motin    },
114*18054d02SAlexander Motin    {
115*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.",
116*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
117*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
118*18054d02SAlexander Motin        "EventCode": "0xc7",
119*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
120*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
121*18054d02SAlexander Motin        "SampleAfterValue": "100003",
122*18054d02SAlexander Motin        "UMask": "0x10",
123*18054d02SAlexander Motin        "Unit": "cpu_core"
124*18054d02SAlexander Motin    },
125*18054d02SAlexander Motin    {
126*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.",
127*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
128*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
129*18054d02SAlexander Motin        "EventCode": "0xc7",
130*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
131*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
132*18054d02SAlexander Motin        "SampleAfterValue": "100003",
133*18054d02SAlexander Motin        "UMask": "0x20",
134*18054d02SAlexander Motin        "Unit": "cpu_core"
135*18054d02SAlexander Motin    },
136*18054d02SAlexander Motin    {
137*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.",
138*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
139*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
140*18054d02SAlexander Motin        "EventCode": "0xc7",
141*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
142*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
143*18054d02SAlexander Motin        "SampleAfterValue": "100003",
144*18054d02SAlexander Motin        "UMask": "0x1",
145*18054d02SAlexander Motin        "Unit": "cpu_core"
146*18054d02SAlexander Motin    },
147*18054d02SAlexander Motin    {
148*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.",
149*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
150*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
151*18054d02SAlexander Motin        "EventCode": "0xc7",
152*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
153*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
154*18054d02SAlexander Motin        "SampleAfterValue": "100003",
155*18054d02SAlexander Motin        "UMask": "0x2",
156*18054d02SAlexander Motin        "Unit": "cpu_core"
157*18054d02SAlexander Motin    }
158*18054d02SAlexander Motin]