Skip to content

Commit 28641ef

Browse files
captain5050acmel
authored andcommitted
perf vendor events intel: Refresh sandybridge metrics and events
Update the sandybridge 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 d4e50e5 commit 28641ef

File tree

10 files changed

+57
-1048
lines changed

10 files changed

+57
-1048
lines changed

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

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

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

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[
22
{
33
"BriefDescription": "Cycles with any input/output SSE or FP assist.",
4-
"Counter": "0,1,2,3",
5-
"CounterHTOff": "0,1,2,3",
64
"CounterMask": "1",
75
"EventCode": "0xCA",
86
"EventName": "FP_ASSIST.ANY",
@@ -11,125 +9,97 @@
119
},
1210
{
1311
"BriefDescription": "Number of SIMD FP assists due to input values.",
14-
"Counter": "0,1,2,3",
15-
"CounterHTOff": "0,1,2,3,4,5,6,7",
1612
"EventCode": "0xCA",
1713
"EventName": "FP_ASSIST.SIMD_INPUT",
1814
"SampleAfterValue": "100003",
1915
"UMask": "0x10"
2016
},
2117
{
2218
"BriefDescription": "Number of SIMD FP assists due to Output values.",
23-
"Counter": "0,1,2,3",
24-
"CounterHTOff": "0,1,2,3,4,5,6,7",
2519
"EventCode": "0xCA",
2620
"EventName": "FP_ASSIST.SIMD_OUTPUT",
2721
"SampleAfterValue": "100003",
2822
"UMask": "0x8"
2923
},
3024
{
3125
"BriefDescription": "Number of X87 assists due to input value.",
32-
"Counter": "0,1,2,3",
33-
"CounterHTOff": "0,1,2,3,4,5,6,7",
3426
"EventCode": "0xCA",
3527
"EventName": "FP_ASSIST.X87_INPUT",
3628
"SampleAfterValue": "100003",
3729
"UMask": "0x4"
3830
},
3931
{
4032
"BriefDescription": "Number of X87 assists due to output value.",
41-
"Counter": "0,1,2,3",
42-
"CounterHTOff": "0,1,2,3,4,5,6,7",
4333
"EventCode": "0xCA",
4434
"EventName": "FP_ASSIST.X87_OUTPUT",
4535
"SampleAfterValue": "100003",
4636
"UMask": "0x2"
4737
},
4838
{
4939
"BriefDescription": "Number of SSE* or AVX-128 FP Computational packed double-precision uops issued this cycle.",
50-
"Counter": "0,1,2,3",
51-
"CounterHTOff": "0,1,2,3,4,5,6,7",
5240
"EventCode": "0x10",
5341
"EventName": "FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE",
5442
"SampleAfterValue": "2000003",
5543
"UMask": "0x10"
5644
},
5745
{
5846
"BriefDescription": "Number of SSE* or AVX-128 FP Computational packed single-precision uops issued this cycle.",
59-
"Counter": "0,1,2,3",
60-
"CounterHTOff": "0,1,2,3,4,5,6,7",
6147
"EventCode": "0x10",
6248
"EventName": "FP_COMP_OPS_EXE.SSE_PACKED_SINGLE",
6349
"SampleAfterValue": "2000003",
6450
"UMask": "0x40"
6551
},
6652
{
6753
"BriefDescription": "Number of SSE* or AVX-128 FP Computational scalar double-precision uops issued this cycle.",
68-
"Counter": "0,1,2,3",
69-
"CounterHTOff": "0,1,2,3,4,5,6,7",
7054
"EventCode": "0x10",
7155
"EventName": "FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE",
7256
"SampleAfterValue": "2000003",
7357
"UMask": "0x80"
7458
},
7559
{
7660
"BriefDescription": "Number of SSE* or AVX-128 FP Computational scalar single-precision uops issued this cycle.",
77-
"Counter": "0,1,2,3",
78-
"CounterHTOff": "0,1,2,3,4,5,6,7",
7961
"EventCode": "0x10",
8062
"EventName": "FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE",
8163
"SampleAfterValue": "2000003",
8264
"UMask": "0x20"
8365
},
8466
{
8567
"BriefDescription": "Number of FP Computational Uops Executed this cycle. The number of FADD, FSUB, FCOM, FMULs, integer MULsand IMULs, FDIVs, FPREMs, FSQRTS, integer DIVs, and IDIVs. This event does not distinguish an FADD used in the middle of a transcendental flow from a s.",
86-
"Counter": "0,1,2,3",
87-
"CounterHTOff": "0,1,2,3,4,5,6,7",
8868
"EventCode": "0x10",
8969
"EventName": "FP_COMP_OPS_EXE.X87",
9070
"SampleAfterValue": "2000003",
9171
"UMask": "0x1"
9272
},
9373
{
9474
"BriefDescription": "Number of GSSE memory assist for stores. GSSE microcode assist is being invoked whenever the hardware is unable to properly handle GSSE-256b operations.",
95-
"Counter": "0,1,2,3",
96-
"CounterHTOff": "0,1,2,3,4,5,6,7",
9775
"EventCode": "0xC1",
9876
"EventName": "OTHER_ASSISTS.AVX_STORE",
9977
"SampleAfterValue": "100003",
10078
"UMask": "0x8"
10179
},
10280
{
10381
"BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
104-
"Counter": "0,1,2,3",
105-
"CounterHTOff": "0,1,2,3,4,5,6,7",
10682
"EventCode": "0xC1",
10783
"EventName": "OTHER_ASSISTS.AVX_TO_SSE",
10884
"SampleAfterValue": "100003",
10985
"UMask": "0x10"
11086
},
11187
{
11288
"BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
113-
"Counter": "0,1,2,3",
114-
"CounterHTOff": "0,1,2,3,4,5,6,7",
11589
"EventCode": "0xC1",
11690
"EventName": "OTHER_ASSISTS.SSE_TO_AVX",
11791
"SampleAfterValue": "100003",
11892
"UMask": "0x20"
11993
},
12094
{
12195
"BriefDescription": "Number of AVX-256 Computational FP double precision uops issued this cycle.",
122-
"Counter": "0,1,2,3",
123-
"CounterHTOff": "0,1,2,3,4,5,6,7",
12496
"EventCode": "0x11",
12597
"EventName": "SIMD_FP_256.PACKED_DOUBLE",
12698
"SampleAfterValue": "2000003",
12799
"UMask": "0x2"
128100
},
129101
{
130102
"BriefDescription": "Number of GSSE-256 Computational FP single precision uops issued this cycle.",
131-
"Counter": "0,1,2,3",
132-
"CounterHTOff": "0,1,2,3,4,5,6,7",
133103
"EventCode": "0x11",
134104
"EventName": "SIMD_FP_256.PACKED_SINGLE",
135105
"SampleAfterValue": "2000003",

0 commit comments

Comments
 (0)