Skip to content

Commit 69f685e

Browse files
captain5050acmel
authored andcommitted
perf vendor events intel: Refresh tigerlake metrics and events
Update the tigerlake metrics and events using the new tooling from: https://github.com/intel/perfmon The metrics are unchanged but the formulas differ due to parentheses, use of exponents and removal of redundant operations like "* 1". The events are updated to version 1.08 and unused json values are removed. The formatting changes increase consistency across the json files. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Kan Liang <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Caleb Biggers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Perry Taylor <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 9b42408 commit 69f685e

File tree

10 files changed

+157
-881
lines changed

10 files changed

+157
-881
lines changed

tools/perf/pmu-events/arch/x86/mapfile.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ GenuineIntel-6-(37|4A|4C|4D|5A),v14,silvermont,core
2626
GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v53,skylake,core
2727
GenuineIntel-6-55-[01234],v1.28,skylakex,core
2828
GenuineIntel-6-86,v1.20,snowridgex,core
29-
GenuineIntel-6-8[CD],v1.07,tigerlake,core
29+
GenuineIntel-6-8[CD],v1.08,tigerlake,core
3030
GenuineIntel-6-2C,v2,westmereep-dp,core
3131
GenuineIntel-6-25,v3,westmereep-sp,core
3232
GenuineIntel-6-2F,v3,westmereex,core

tools/perf/pmu-events/arch/x86/tigerlake/cache.json

Lines changed: 7 additions & 203 deletions
Large diffs are not rendered by default.

tools/perf/pmu-events/arch/x86/tigerlake/floating-point.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,72 @@
11
[
22
{
33
"BriefDescription": "Counts all microcode FP assists.",
4-
"CollectPEBSRecord": "2",
5-
"Counter": "0,1,2,3,4,5,6,7",
64
"EventCode": "0xc1",
75
"EventName": "ASSISTS.FP",
8-
"PEBScounters": "0,1,2,3,4,5,6,7",
96
"PublicDescription": "Counts all microcode Floating Point assists.",
107
"SampleAfterValue": "100003",
118
"UMask": "0x2"
129
},
1310
{
1411
"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.",
15-
"CollectPEBSRecord": "2",
16-
"Counter": "0,1,2,3,4,5,6,7",
1712
"EventCode": "0xc7",
1813
"EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
19-
"PEBScounters": "0,1,2,3,4,5,6,7",
2014
"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.",
2115
"SampleAfterValue": "100003",
2216
"UMask": "0x4"
2317
},
2418
{
2519
"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.",
26-
"CollectPEBSRecord": "2",
27-
"Counter": "0,1,2,3,4,5,6,7",
2820
"EventCode": "0xc7",
2921
"EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
30-
"PEBScounters": "0,1,2,3,4,5,6,7",
3122
"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.",
3223
"SampleAfterValue": "100003",
3324
"UMask": "0x8"
3425
},
3526
{
3627
"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.",
37-
"CollectPEBSRecord": "2",
38-
"Counter": "0,1,2,3,4,5,6,7",
3928
"EventCode": "0xc7",
4029
"EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
41-
"PEBScounters": "0,1,2,3,4,5,6,7",
4230
"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.",
4331
"SampleAfterValue": "100003",
4432
"UMask": "0x10"
4533
},
4634
{
4735
"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.",
48-
"CollectPEBSRecord": "2",
49-
"Counter": "0,1,2,3,4,5,6,7",
5036
"EventCode": "0xc7",
5137
"EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
52-
"PEBScounters": "0,1,2,3,4,5,6,7",
5338
"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.",
5439
"SampleAfterValue": "100003",
5540
"UMask": "0x20"
5641
},
5742
{
5843
"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.",
59-
"CollectPEBSRecord": "2",
60-
"Counter": "0,1,2,3,4,5,6,7",
6144
"EventCode": "0xc7",
6245
"EventName": "FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE",
63-
"PEBScounters": "0,1,2,3,4,5,6,7",
6446
"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.",
6547
"SampleAfterValue": "100003",
6648
"UMask": "0x40"
6749
},
6850
{
6951
"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.",
70-
"CollectPEBSRecord": "2",
71-
"Counter": "0,1,2,3,4,5,6,7",
7252
"EventCode": "0xc7",
7353
"EventName": "FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE",
74-
"PEBScounters": "0,1,2,3,4,5,6,7",
7554
"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.",
7655
"SampleAfterValue": "100003",
7756
"UMask": "0x80"
7857
},
7958
{
8059
"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.",
81-
"CollectPEBSRecord": "2",
82-
"Counter": "0,1,2,3,4,5,6,7",
8360
"EventCode": "0xc7",
8461
"EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
85-
"PEBScounters": "0,1,2,3,4,5,6,7",
8662
"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.",
8763
"SampleAfterValue": "100003",
8864
"UMask": "0x1"
8965
},
9066
{
9167
"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.",
92-
"CollectPEBSRecord": "2",
93-
"Counter": "0,1,2,3,4,5,6,7",
9468
"EventCode": "0xc7",
9569
"EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
96-
"PEBScounters": "0,1,2,3,4,5,6,7",
9770
"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.",
9871
"SampleAfterValue": "100003",
9972
"UMask": "0x2"

0 commit comments

Comments
 (0)