Skip to content

Commit 00ca782

Browse files
captain5050acmel
authored andcommitted
perf vendor events intel: Refresh skylake metrics and events
Update the skylake 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 unchanged but 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 1b91a99 commit 00ca782

File tree

10 files changed

+103
-1494
lines changed

10 files changed

+103
-1494
lines changed

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

Lines changed: 0 additions & 660 deletions
Large diffs are not rendered by default.

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[
22
{
33
"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-
"Counter": "0,1,2,3",
5-
"CounterHTOff": "0,1,2,3,4,5,6,7",
64
"EventCode": "0xC7",
75
"EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE",
86
"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.",
@@ -11,8 +9,6 @@
119
},
1210
{
1311
"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.",
14-
"Counter": "0,1,2,3",
15-
"CounterHTOff": "0,1,2,3,4,5,6,7",
1612
"EventCode": "0xC7",
1713
"EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE",
1814
"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.",
@@ -21,8 +17,6 @@
2117
},
2218
{
2319
"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.",
24-
"Counter": "0,1,2,3",
25-
"CounterHTOff": "0,1,2,3,4,5,6,7",
2620
"EventCode": "0xC7",
2721
"EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE",
2822
"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.",
@@ -31,8 +25,6 @@
3125
},
3226
{
3327
"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.",
34-
"Counter": "0,1,2,3",
35-
"CounterHTOff": "0,1,2,3,4,5,6,7",
3628
"EventCode": "0xC7",
3729
"EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE",
3830
"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.",
@@ -41,8 +33,6 @@
4133
},
4234
{
4335
"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.",
44-
"Counter": "0,1,2,3",
45-
"CounterHTOff": "0,1,2,3,4,5,6,7",
4636
"EventCode": "0xC7",
4737
"EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
4838
"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.",
@@ -51,8 +41,6 @@
5141
},
5242
{
5343
"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.",
54-
"Counter": "0,1,2,3",
55-
"CounterHTOff": "0,1,2,3,4,5,6,7",
5644
"EventCode": "0xC7",
5745
"EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
5846
"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.",
@@ -61,8 +49,6 @@
6149
},
6250
{
6351
"BriefDescription": "Cycles with any input/output SSE or FP assist",
64-
"Counter": "0,1,2,3",
65-
"CounterHTOff": "0,1,2,3,4,5,6,7",
6652
"CounterMask": "1",
6753
"EventCode": "0xCA",
6854
"EventName": "FP_ASSIST.ANY",

0 commit comments

Comments
 (0)