xref: /linux/tools/perf/pmu-events/arch/x86/skylake/floating-point.json (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
1[
2    {
3        "BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision floating-point instructions retired. Counts twice for DPP and FM(N)ADD/SUB instructions retired.",
4        "EventCode": "0xC7",
5        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
6        "PublicDescription": "Counts once for most SIMD 128-bit packed computational 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 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": "Counts once for most SIMD 128-bit packed computational single precision floating-point instruction retired. Counts twice for DPP and FM(N)ADD/SUB instructions retired.",
12        "EventCode": "0xC7",
13        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
14        "PublicDescription": "Counts once for most SIMD 128-bit packed computational 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 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": "Counts once for most SIMD 256-bit packed double computational precision floating-point instructions retired. Counts twice for DPP and FM(N)ADD/SUB instructions retired.",
20        "EventCode": "0xC7",
21        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
22        "PublicDescription": "Counts once for most SIMD 256-bit packed double computational 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 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": "Counts once for most SIMD 256-bit packed single computational precision floating-point instructions retired. Counts twice for DPP and FM(N)ADD/SUB instructions retired.",
28        "EventCode": "0xC7",
29        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
30        "PublicDescription": "Counts once for most SIMD 256-bit packed single computational 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 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": "Counts once for most SIMD scalar computational double precision floating-point instructions retired. Counts twice for DPP and FM(N)ADD/SUB instructions retired.",
36        "EventCode": "0xC7",
37        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
38        "PublicDescription": "Counts once for most SIMD scalar computational double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SIMD 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.",
39        "SampleAfterValue": "2000003",
40        "UMask": "0x1"
41    },
42    {
43        "BriefDescription": "Counts once for most SIMD scalar computational single precision floating-point instructions retired. Counts twice for DPP and FM(N)ADD/SUB instructions retired.",
44        "EventCode": "0xC7",
45        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
46        "PublicDescription": "Counts once for most SIMD scalar computational single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SIMD 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.",
47        "SampleAfterValue": "2000003",
48        "UMask": "0x2"
49    },
50    {
51        "BriefDescription": "Cycles with any input/output SSE or FP assist",
52        "CounterMask": "1",
53        "EventCode": "0xCA",
54        "EventName": "FP_ASSIST.ANY",
55        "PublicDescription": "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.",
56        "SampleAfterValue": "100003",
57        "UMask": "0x1e"
58    }
59]
60