xref: /openbmc/linux/tools/perf/pmu-events/arch/x86/amdzen2/floating-point.json (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
12079f7aaSVijay Thakkar[
22079f7aaSVijay Thakkar  {
32079f7aaSVijay Thakkar    "EventName": "fpu_pipe_assignment.total",
42079f7aaSVijay Thakkar    "EventCode": "0x00",
52079f7aaSVijay Thakkar    "BriefDescription": "Total number of fp uOps.",
62079f7aaSVijay Thakkar    "PublicDescription": "Total number of fp uOps. The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS.",
7*e5f2b4e1SSmita Koralahalli    "UMask": "0x0f"
82079f7aaSVijay Thakkar  },
92079f7aaSVijay Thakkar  {
102079f7aaSVijay Thakkar    "EventName": "fpu_pipe_assignment.total3",
112079f7aaSVijay Thakkar    "EventCode": "0x00",
122079f7aaSVijay Thakkar    "BriefDescription": "Total number uOps assigned to pipe 3.",
132079f7aaSVijay Thakkar    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one-cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 3.",
14*e5f2b4e1SSmita Koralahalli    "UMask": "0x08"
152079f7aaSVijay Thakkar  },
162079f7aaSVijay Thakkar  {
172079f7aaSVijay Thakkar    "EventName": "fpu_pipe_assignment.total2",
182079f7aaSVijay Thakkar    "EventCode": "0x00",
192079f7aaSVijay Thakkar    "BriefDescription": "Total number uOps assigned to pipe 2.",
202079f7aaSVijay Thakkar    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 2.",
21*e5f2b4e1SSmita Koralahalli    "UMask": "0x04"
222079f7aaSVijay Thakkar  },
232079f7aaSVijay Thakkar  {
242079f7aaSVijay Thakkar    "EventName": "fpu_pipe_assignment.total1",
252079f7aaSVijay Thakkar    "EventCode": "0x00",
262079f7aaSVijay Thakkar    "BriefDescription": "Total number uOps assigned to pipe 1.",
272079f7aaSVijay Thakkar    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 1.",
28*e5f2b4e1SSmita Koralahalli    "UMask": "0x02"
292079f7aaSVijay Thakkar  },
302079f7aaSVijay Thakkar  {
312079f7aaSVijay Thakkar    "EventName": "fpu_pipe_assignment.total0",
322079f7aaSVijay Thakkar    "EventCode": "0x00",
332079f7aaSVijay Thakkar    "BriefDescription": "Total number of fp uOps  on pipe 0.",
342079f7aaSVijay Thakkar    "PublicDescription": "The number of operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipelines are and may be used for workload characterization. This includes all operations performed by x87, MMX, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. This event is a speculative event. Since this event includes non-numeric operations it is not suitable for measuring MFLOPS. Total number uOps assigned to pipe 0.",
35*e5f2b4e1SSmita Koralahalli    "UMask": "0x01"
362079f7aaSVijay Thakkar  },
372079f7aaSVijay Thakkar  {
382079f7aaSVijay Thakkar    "EventName": "fp_ret_sse_avx_ops.all",
392079f7aaSVijay Thakkar    "EventCode": "0x03",
402079f7aaSVijay Thakkar    "BriefDescription": "All FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPS. The number of events logged per cycle can vary from 0 to 64. This event can count above 15.",
412079f7aaSVijay Thakkar    "UMask": "0xff"
422079f7aaSVijay Thakkar  },
432079f7aaSVijay Thakkar  {
442079f7aaSVijay Thakkar    "EventName": "fp_ret_sse_avx_ops.mac_flops",
452079f7aaSVijay Thakkar    "EventCode": "0x03",
462079f7aaSVijay Thakkar    "BriefDescription": "Multiply-add FLOPS. Multiply-add counts as 2 FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPS. The number of events logged per cycle can vary from 0 to 64. This event can count above 15.",
472079f7aaSVijay Thakkar    "PublicDescription": "",
48*e5f2b4e1SSmita Koralahalli    "UMask": "0x08"
492079f7aaSVijay Thakkar  },
502079f7aaSVijay Thakkar  {
512079f7aaSVijay Thakkar    "EventName": "fp_ret_sse_avx_ops.div_flops",
522079f7aaSVijay Thakkar    "EventCode": "0x03",
532079f7aaSVijay Thakkar    "BriefDescription": "Divide/square root FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPS. The number of events logged per cycle can vary from 0 to 64. This event can count above 15.",
54*e5f2b4e1SSmita Koralahalli    "UMask": "0x04"
552079f7aaSVijay Thakkar  },
562079f7aaSVijay Thakkar  {
572079f7aaSVijay Thakkar    "EventName": "fp_ret_sse_avx_ops.mult_flops",
582079f7aaSVijay Thakkar    "EventCode": "0x03",
592079f7aaSVijay Thakkar    "BriefDescription": "Multiply FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPS. The number of events logged per cycle can vary from 0 to 64. This event can count above 15.",
60*e5f2b4e1SSmita Koralahalli    "UMask": "0x02"
612079f7aaSVijay Thakkar  },
622079f7aaSVijay Thakkar  {
632079f7aaSVijay Thakkar    "EventName": "fp_ret_sse_avx_ops.add_sub_flops",
642079f7aaSVijay Thakkar    "EventCode": "0x03",
652079f7aaSVijay Thakkar    "BriefDescription": "Add/subtract FLOPS. This is a retire-based event. The number of retired SSE/AVX FLOPS. The number of events logged per cycle can vary from 0 to 64. This event can count above 15.",
66*e5f2b4e1SSmita Koralahalli    "UMask": "0x01"
672079f7aaSVijay Thakkar  },
682079f7aaSVijay Thakkar  {
692079f7aaSVijay Thakkar    "EventName": "fp_num_mov_elim_scal_op.optimized",
702079f7aaSVijay Thakkar    "EventCode": "0x04",
712079f7aaSVijay Thakkar    "BriefDescription": "Number of Scalar Ops optimized. This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
72*e5f2b4e1SSmita Koralahalli    "UMask": "0x08"
732079f7aaSVijay Thakkar  },
742079f7aaSVijay Thakkar  {
752079f7aaSVijay Thakkar    "EventName": "fp_num_mov_elim_scal_op.opt_potential",
762079f7aaSVijay Thakkar    "EventCode": "0x04",
772079f7aaSVijay Thakkar    "BriefDescription": "Number of Ops that are candidates for optimization (have Z-bit either set or pass). This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
78*e5f2b4e1SSmita Koralahalli    "UMask": "0x04"
792079f7aaSVijay Thakkar  },
802079f7aaSVijay Thakkar  {
812079f7aaSVijay Thakkar    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops_elim",
822079f7aaSVijay Thakkar    "EventCode": "0x04",
832079f7aaSVijay Thakkar    "BriefDescription": "Number of SSE Move Ops eliminated. This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
84*e5f2b4e1SSmita Koralahalli    "UMask": "0x02"
852079f7aaSVijay Thakkar  },
862079f7aaSVijay Thakkar  {
872079f7aaSVijay Thakkar    "EventName": "fp_num_mov_elim_scal_op.sse_mov_ops",
882079f7aaSVijay Thakkar    "EventCode": "0x04",
892079f7aaSVijay Thakkar    "BriefDescription": "Number of SSE Move Ops. This is a dispatch based speculative event, and is useful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
90*e5f2b4e1SSmita Koralahalli    "UMask": "0x01"
912079f7aaSVijay Thakkar  },
922079f7aaSVijay Thakkar  {
932079f7aaSVijay Thakkar    "EventName": "fp_retired_ser_ops.sse_bot_ret",
942079f7aaSVijay Thakkar    "EventCode": "0x05",
952079f7aaSVijay Thakkar    "BriefDescription": "SSE bottom-executing uOps retired. The number of serializing Ops retired.",
96*e5f2b4e1SSmita Koralahalli    "UMask": "0x08"
972079f7aaSVijay Thakkar  },
982079f7aaSVijay Thakkar  {
992079f7aaSVijay Thakkar    "EventName": "fp_retired_ser_ops.sse_ctrl_ret",
1002079f7aaSVijay Thakkar    "EventCode": "0x05",
1012079f7aaSVijay Thakkar    "BriefDescription": "The number of serializing Ops retired. SSE control word mispredict traps due to mispredictions in RC, FTZ or DAZ, or changes in mask bits.",
102*e5f2b4e1SSmita Koralahalli    "UMask": "0x04"
1032079f7aaSVijay Thakkar  },
1042079f7aaSVijay Thakkar  {
1052079f7aaSVijay Thakkar    "EventName": "fp_retired_ser_ops.x87_bot_ret",
1062079f7aaSVijay Thakkar    "EventCode": "0x05",
1072079f7aaSVijay Thakkar    "BriefDescription": "x87 bottom-executing uOps retired. The number of serializing Ops retired.",
108*e5f2b4e1SSmita Koralahalli    "UMask": "0x02"
1092079f7aaSVijay Thakkar  },
1102079f7aaSVijay Thakkar  {
1112079f7aaSVijay Thakkar    "EventName": "fp_retired_ser_ops.x87_ctrl_ret",
1122079f7aaSVijay Thakkar    "EventCode": "0x05",
1132079f7aaSVijay Thakkar    "BriefDescription": "x87 control word mispredict traps due to mispredictions in RC or PC, or changes in mask bits. The number of serializing Ops retired.",
114*e5f2b4e1SSmita Koralahalli    "UMask": "0x01"
1152079f7aaSVijay Thakkar  },
1162079f7aaSVijay Thakkar  {
1172079f7aaSVijay Thakkar    "EventName": "fp_disp_faults.ymm_spill_fault",
1182079f7aaSVijay Thakkar    "EventCode": "0x0e",
1192079f7aaSVijay Thakkar    "BriefDescription": "Floating Point Dispatch Faults. YMM spill fault.",
120*e5f2b4e1SSmita Koralahalli    "UMask": "0x08"
1212079f7aaSVijay Thakkar  },
1222079f7aaSVijay Thakkar  {
1232079f7aaSVijay Thakkar    "EventName": "fp_disp_faults.ymm_fill_fault",
1242079f7aaSVijay Thakkar    "EventCode": "0x0e",
1252079f7aaSVijay Thakkar    "BriefDescription": "Floating Point Dispatch Faults. YMM fill fault.",
126*e5f2b4e1SSmita Koralahalli    "UMask": "0x04"
1272079f7aaSVijay Thakkar  },
1282079f7aaSVijay Thakkar  {
1292079f7aaSVijay Thakkar    "EventName": "fp_disp_faults.xmm_fill_fault",
1302079f7aaSVijay Thakkar    "EventCode": "0x0e",
1312079f7aaSVijay Thakkar    "BriefDescription": "Floating Point Dispatch Faults. XMM fill fault.",
132*e5f2b4e1SSmita Koralahalli    "UMask": "0x02"
1332079f7aaSVijay Thakkar  },
1342079f7aaSVijay Thakkar  {
1352079f7aaSVijay Thakkar    "EventName": "fp_disp_faults.x87_fill_fault",
1362079f7aaSVijay Thakkar    "EventCode": "0x0e",
1372079f7aaSVijay Thakkar    "BriefDescription": "Floating Point Dispatch Faults. x87 fill fault.",
138*e5f2b4e1SSmita Koralahalli    "UMask": "0x01"
1392079f7aaSVijay Thakkar  }
1402079f7aaSVijay Thakkar]
141