xref: /freebsd/lib/libpmc/pmu-events/arch/x86/cascadelakex/floating-point.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
192b14858SMatt Macy[
292b14858SMatt Macy    {
3*18054d02SAlexander Motin        "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.",
492b14858SMatt Macy        "Counter": "0,1,2,3",
592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
692b14858SMatt Macy        "EventCode": "0xC7",
752d973f5SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
8*18054d02SAlexander Motin        "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.",
992b14858SMatt Macy        "SampleAfterValue": "2000003",
1052d973f5SAlexander Motin        "UMask": "0x4"
1192b14858SMatt Macy    },
1292b14858SMatt Macy    {
13*18054d02SAlexander Motin        "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.",
1492b14858SMatt Macy        "Counter": "0,1,2,3",
1592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
1692b14858SMatt Macy        "EventCode": "0xC7",
1792b14858SMatt Macy        "EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
18*18054d02SAlexander Motin        "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.",
1992b14858SMatt Macy        "SampleAfterValue": "2000003",
2092b14858SMatt Macy        "UMask": "0x8"
2192b14858SMatt Macy    },
2292b14858SMatt Macy    {
23*18054d02SAlexander Motin        "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.",
2492b14858SMatt Macy        "Counter": "0,1,2,3",
2592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
2692b14858SMatt Macy        "EventCode": "0xC7",
2752d973f5SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
28*18054d02SAlexander Motin        "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.",
2992b14858SMatt Macy        "SampleAfterValue": "2000003",
3052d973f5SAlexander Motin        "UMask": "0x10"
3192b14858SMatt Macy    },
3292b14858SMatt Macy    {
33*18054d02SAlexander Motin        "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.",
3492b14858SMatt Macy        "Counter": "0,1,2,3",
3592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
3692b14858SMatt Macy        "EventCode": "0xC7",
3792b14858SMatt Macy        "EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
38*18054d02SAlexander Motin        "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.",
3992b14858SMatt Macy        "SampleAfterValue": "2000003",
4092b14858SMatt Macy        "UMask": "0x20"
4192b14858SMatt Macy    },
4292b14858SMatt Macy    {
4352d973f5SAlexander Motin        "BriefDescription": "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 RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
4492b14858SMatt Macy        "Counter": "0,1,2,3",
4592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
4692b14858SMatt Macy        "EventCode": "0xC7",
4752d973f5SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE",
48*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 RCP14 RSQRT14 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.",
4992b14858SMatt Macy        "SampleAfterValue": "2000003",
5052d973f5SAlexander Motin        "UMask": "0x40"
5192b14858SMatt Macy    },
5292b14858SMatt Macy    {
5392b14858SMatt Macy        "BriefDescription": "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 RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
5492b14858SMatt Macy        "Counter": "0,1,2,3",
5592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
5692b14858SMatt Macy        "EventCode": "0xC7",
5792b14858SMatt Macy        "EventName": "FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE",
58*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 RCP14 RSQRT14 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.",
5992b14858SMatt Macy        "SampleAfterValue": "2000003",
6092b14858SMatt Macy        "UMask": "0x80"
6192b14858SMatt Macy    },
6292b14858SMatt Macy    {
63*18054d02SAlexander Motin        "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.",
6452d973f5SAlexander Motin        "Counter": "0,1,2,3",
6552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
6652d973f5SAlexander Motin        "EventCode": "0xC7",
6752d973f5SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
68*18054d02SAlexander Motin        "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.",
6952d973f5SAlexander Motin        "SampleAfterValue": "2000003",
7052d973f5SAlexander Motin        "UMask": "0x1"
7152d973f5SAlexander Motin    },
7252d973f5SAlexander Motin    {
73*18054d02SAlexander Motin        "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.",
7452d973f5SAlexander Motin        "Counter": "0,1,2,3",
7552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
7652d973f5SAlexander Motin        "EventCode": "0xC7",
7752d973f5SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
78*18054d02SAlexander Motin        "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.",
7952d973f5SAlexander Motin        "SampleAfterValue": "2000003",
8052d973f5SAlexander Motin        "UMask": "0x2"
8152d973f5SAlexander Motin    },
8252d973f5SAlexander Motin    {
83*18054d02SAlexander Motin        "BriefDescription": "Intel AVX-512 computational 512-bit packed BFloat16 instructions retired.",
84*18054d02SAlexander Motin        "Counter": "0,1,2,3",
85*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
86*18054d02SAlexander Motin        "EventCode": "0xCF",
87*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.128BIT_PACKED_BF16",
88*18054d02SAlexander Motin        "PublicDescription": "Counts once for each Intel AVX-512 computational 512-bit packed BFloat16 floating-point instruction retired. Applies to the ZMM based VDPBF16PS instruction.  Each count represents 64 computation operations. This event is only supported on products formerly named Cooper Lake and is not supported on products formerly named Cascade Lake.",
89*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
90*18054d02SAlexander Motin        "UMask": "0x20"
91*18054d02SAlexander Motin    },
92*18054d02SAlexander Motin    {
93*18054d02SAlexander Motin        "BriefDescription": "Intel AVX-512 computational 128-bit packed BFloat16 instructions retired.",
94*18054d02SAlexander Motin        "Counter": "0,1,2,3",
95*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
96*18054d02SAlexander Motin        "EventCode": "0xCF",
97*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.256BIT_PACKED_BF16",
98*18054d02SAlexander Motin        "PublicDescription": "Counts once for each Intel AVX-512 computational 128-bit packed BFloat16 floating-point instruction retired. Applies to the XMM based VDPBF16PS instruction. Each count represents 16 computation operations. This event is only supported on products formerly named Cooper Lake and is not supported on products formerly named Cascade Lake.",
99*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
100*18054d02SAlexander Motin        "UMask": "0x40"
101*18054d02SAlexander Motin    },
102*18054d02SAlexander Motin    {
103*18054d02SAlexander Motin        "BriefDescription": "Intel AVX-512 computational 256-bit packed BFloat16 instructions retired.",
104*18054d02SAlexander Motin        "Counter": "0,1,2,3",
105*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
106*18054d02SAlexander Motin        "EventCode": "0xCF",
107*18054d02SAlexander Motin        "EventName": "FP_ARITH_INST_RETIRED2.512BIT_PACKED_BF16",
108*18054d02SAlexander Motin        "PublicDescription": "Counts once for each Intel AVX-512 computational 256-bit packed BFloat16 floating-point instruction retired. Applies to the YMM based VDPBF16PS instruction.  Each count represents 32 computation operations. This event is only supported on products formerly named Cooper Lake and is not supported on products formerly named Cascade Lake.",
109*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
110*18054d02SAlexander Motin        "UMask": "0x80"
111*18054d02SAlexander Motin    },
112*18054d02SAlexander Motin    {
11392b14858SMatt Macy        "BriefDescription": "Cycles with any input/output SSE or FP assist",
11492b14858SMatt Macy        "Counter": "0,1,2,3",
11592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
11692b14858SMatt Macy        "CounterMask": "1",
11792b14858SMatt Macy        "EventCode": "0xCA",
11892b14858SMatt Macy        "EventName": "FP_ASSIST.ANY",
11992b14858SMatt Macy        "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.",
12092b14858SMatt Macy        "SampleAfterValue": "100003",
12192b14858SMatt Macy        "UMask": "0x1e"
12292b14858SMatt Macy    }
12392b14858SMatt Macy]