mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

Add counter information necessary for optimizing event grouping the perf tool. The most recent RFC patch set using this information: https://lore.kernel.org/lkml/20240412210756.309828-1-weilin.wang@intel.com/ The information was added in:475892a969
and later patches. The TMA 4.8 information was updated in:59194d4d90
Co-authored-by: Weilin Wang <weilin.wang@intel.com> Co-authored-by: Caleb Biggers <caleb.biggers@intel.com> Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240620181752.3945845-16-irogers@google.com
94 lines
3.7 KiB
JSON
94 lines
3.7 KiB
JSON
[
|
|
{
|
|
"BriefDescription": "Approximate counts of AVX & AVX2 256-bit instructions, including non-arithmetic instructions, loads, and stores. May count non-AVX instructions that employ 256-bit operations, including (but not necessarily limited to) rep string instructions that use 256-bit loads and stores for optimized performance, XSAVE* and XRSTOR*, and operations that transition the x87 FPU data registers between x87 and MMX.",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0xC6",
|
|
"EventName": "AVX_INSTS.ALL",
|
|
"PublicDescription": "Note that a whole rep string only counts AVX_INST.ALL once.",
|
|
"SampleAfterValue": "2000003",
|
|
"UMask": "0x7"
|
|
},
|
|
{
|
|
"BriefDescription": "Cycles with any input/output SSE or FP assist",
|
|
"Counter": "0,1,2,3",
|
|
"CounterMask": "1",
|
|
"EventCode": "0xCA",
|
|
"EventName": "FP_ASSIST.ANY",
|
|
"PublicDescription": "Cycles with any input/output SSE* or FP assists.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x1e"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of SIMD FP assists due to input values",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0xCA",
|
|
"EventName": "FP_ASSIST.SIMD_INPUT",
|
|
"PublicDescription": "Number of SIMD FP assists due to input values.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x10"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of SIMD FP assists due to Output values",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0xCA",
|
|
"EventName": "FP_ASSIST.SIMD_OUTPUT",
|
|
"PublicDescription": "Number of SIMD FP assists due to output values.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of X87 assists due to input value.",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0xCA",
|
|
"EventName": "FP_ASSIST.X87_INPUT",
|
|
"PublicDescription": "Number of X87 FP assists due to input values.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x4"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of X87 assists due to output value.",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0xCA",
|
|
"EventName": "FP_ASSIST.X87_OUTPUT",
|
|
"PublicDescription": "Number of X87 FP assists due to output values.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0x58",
|
|
"EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
|
|
"PublicDescription": "Number of SIMD move elimination candidate uops that were eliminated.",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0x58",
|
|
"EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
|
|
"PublicDescription": "Number of SIMD move elimination candidate uops that were not eliminated.",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
|
|
"Counter": "0,1,2,3",
|
|
"Errata": "HSD56, HSM57",
|
|
"EventCode": "0xC1",
|
|
"EventName": "OTHER_ASSISTS.AVX_TO_SSE",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
|
|
"Counter": "0,1,2,3",
|
|
"Errata": "HSD56, HSM57",
|
|
"EventCode": "0xC1",
|
|
"EventName": "OTHER_ASSISTS.SSE_TO_AVX",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x10"
|
|
}
|
|
]
|